Nuvoton
/
NuMaker-mbed-NuBrick-example
NuMaker Brick I2C slave devices
README.md@1:2fcc21a82c3b, 2016-11-02 (annotated)
- Committer:
- ccli8
- Date:
- Wed Nov 02 17:43:48 2016 +0800
- Revision:
- 1:2fcc21a82c3b
- Parent:
- 0:605bda4be3d8
- Child:
- 3:1b7324dff4b7
First commit in effect
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ccli8 |
1:2fcc21a82c3b | 1 | # Getting started with NuMaker Brick platform on mbed |
ccli8 |
1:2fcc21a82c3b | 2 | |
ccli8 |
1:2fcc21a82c3b | 3 | This is an example to communicate with NuMaker Brick slave modules with [NuMaker mbed NuBrick](https://github.com/opennuvoton/NuMaker-mbed-NuBrick) library. |
ccli8 |
1:2fcc21a82c3b | 4 | |
ccli8 |
1:2fcc21a82c3b | 5 | ## What it does? |
ccli8 | 0:605bda4be3d8 | 6 | |
ccli8 |
1:2fcc21a82c3b | 7 | This example enumerates supported NuMaker Brick slave modules connected on the I2C bus. |
ccli8 |
1:2fcc21a82c3b | 8 | - Buzzer |
ccli8 |
1:2fcc21a82c3b | 9 | - LED |
ccli8 |
1:2fcc21a82c3b | 10 | - AHRS |
ccli8 |
1:2fcc21a82c3b | 11 | - Sonar |
ccli8 |
1:2fcc21a82c3b | 12 | - Temperature & Humidity |
ccli8 |
1:2fcc21a82c3b | 13 | - Gas |
ccli8 |
1:2fcc21a82c3b | 14 | - IR |
ccli8 |
1:2fcc21a82c3b | 15 | - Keys |
ccli8 |
1:2fcc21a82c3b | 16 | |
ccli8 |
1:2fcc21a82c3b | 17 | ## Required hardware |
ccli8 |
1:2fcc21a82c3b | 18 | |
ccli8 |
1:2fcc21a82c3b | 19 | - mbed enabled boards ([NuMaker-PFM-NUC472](https://developer.mbed.org/platforms/Nuvoton-NUC472/) or [NuMaker-PFM-M453]()) |
ccli8 |
1:2fcc21a82c3b | 20 | - 1 mini-USB cable |
ccli8 |
1:2fcc21a82c3b | 21 | - [NuMaker Brick slave modules](http://www.nuvoton.com/hq/support/tool-and-software/development-tool-hardware/numaker-brick/?__locale=en) |
ccli8 |
1:2fcc21a82c3b | 22 | - 1 I2C cable or I2C adaptor board |
ccli8 |
1:2fcc21a82c3b | 23 | |
ccli8 |
1:2fcc21a82c3b | 24 | ## Known issues |
ccli8 |
1:2fcc21a82c3b | 25 | - A NuMaker Brick slave module uses divider resistance to identify its own ID. If supplied voltage diverges from 5V too far away, detected ID would be incorrect. |
ccli8 |
1:2fcc21a82c3b | 26 | The issue gets worse if multiple modules are stacked together. |