This shows you the differences between two versions of the page.
— |
bugone:software [2012/05/06 23:55] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Overview ====== | ||
+ | Each board is designed as a Node, identified by a number from 1 to 255 (0 is for broadcast). | ||
+ | Each node peripheral is called a Device, and is numbered from 0 to n (n being the number of peripheral - 1). | ||
+ | |||
+ | ====== Node id ====== | ||
+ | |||
+ | Node ID is written in controller's EEPROM. To define a node's id, use command: | ||
+ | <code> | ||
+ | make writeaddress ADDRESS=0xnb | ||
+ | </code> | ||
+ | with nb the id for connected node (from 0x01 to 0xff). | ||
+ | |||
+ | Warning: controller's fuses must be set so that programming won't clear EEPROM, see [[ProgrammingFuses]]. | ||
+ | |||
+ | ======= Apps ====== | ||
+ | |||
+ | A standard [[:Protocol|protocol]] for communication between nodes is defined. | ||
+ | The [[:Apps|apps]] framework implements an easy to use skeleton for you nodes. | ||
+ | |||
+ | ======= Devices ====== | ||
+ | |||
+ | The bugone framework is bundled with drivers | ||
+ | |||
+ | ===== Temperature sensor ===== | ||
+ | [[devices:ds18b20]] | ||
+ | [[devices:lm35]] | ||
+ | |||
+ | ===== Humidity sensor ===== | ||
+ | [[devices:hh10d]] | ||
+ | [[devices:dht11]] | ||
+ | [[devices:dht22]] | ||
+ | |||
+ | ===== Dummy sensors ===== | ||
+ | [[devices:const]] | ||
+ | [[devices:random]] | ||
+ | [[devices:text]] | ||
+ | |||
+ | ====== others bits ====== | ||
+ | |||
+ | [[optiboot]] | ||
+ | |||
+ | [[glossary]] |