Download User Guide (for ScatterWeb)
Transcript
- - Periodic polling of sensor data and (depending on settings) automatic transmission via the radio interface, the serial port (terminal or mobile phone). Simple and easy configuration and control of the ESB via terminal commands over the serial interface or radio. Software The software of the sensor nodes was first separated into two parts (firmware & application) to provide in-field programming via radio. This has recently changed because that reprogramming strategy created several problems. Now the whole thing (except the reprogramming code, which should not change anymore, see progamming.c) is reprogrammable. Anyway the separation between firmware and application is kept because it proved good as hardware abstraction layer and to provide some OS-like concepts. The Firmware provides abstract functions to interface and use the hardware, contains the main execution loop + interrupts and provides some OS-like concepts. The firmware supports all ScatterWeb/MSP430 devices: ESB (and EYE), eGate, ECR. The application (userapp, program) is built on top of the firmware. Directory tree - Applications: Contains application directories with PSPad project files. System: Contains firmware sources and binaries. Major Changes - - - Firmware and userapp are not that strictly separated anymore. This made reprogramming easier and all restrictions from the old firmware <-> userapp separation are gone. Reprogramming code is now in programming.h, flasher.h contains the radio transfer of code images. For simplicity all 3 firmwares from ESB, EYE, eGate and ECR have been integrated into one with the use of #ifdef at some hardware dependent places. When compiling the command line one must always define one of: ESB, eGate, ECR, EYE. This is done in the makefiles with the variable DEVICE. The makefiles are now taking every source file they see in the directories and don't need to be changed for new/removed files anymore (Look into the makefiles and at new directory structure). Radio software has changed. Sending is now also done interrupt driven and comes with a ring buffer to store several packets to send. Additional new features are crc16 checksums and automatic acknowledgements (except broadcasts) with feedback to the sender of every packet. ScatterWeb inside 13