Download User Manual
Transcript
H-8000 Székesfehérvár Berényi út 15. Telefon: (36) 22/ 511-130 Fax: (36) 22/511-131 www.unicomp.hu H-1117 Budapest Fehérvári út 130. Telefon: (36) 1/ 456-0998 Fax: (36) 1/456-0999 Table of Content Datasheet ................................................................................................................................................ 3 ATTENTION! ............................................................................................................................................. 4 First steps ................................................................................................................................................ 5 USB power ........................................................................................................................................... 6 Periferies ............................................................................................................................................. 7 Programming the mote. .......................................................................................................................... 7 USB programming (Linux).................................................................................................................... 7 JTAG programming (AVR Studio)....................................................................................................... 10 Sensors .................................................................................................................................................. 14 SHT21 – Temperature and Humidity sensor ..................................................................................... 14 Example code: ............................................................................................................................... 14 BH1750fvi – Ambient light sensor ..................................................................................................... 16 Example code: ............................................................................................................................... 16 BMA180 – 3D Acceleration sensor .................................................................................................... 18 Example code: ............................................................................................................................... 19 M25P16 – 16Mbit flash memory....................................................................................................... 20 Example code: ............................................................................................................................... 20 Users Manual v0.1 - UCMote mini 4th of March, 2011 ucwsn@unicomp.hu 2