You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.5 KiB

+++ title = "RFduino Implementation of DDO" date = "2015-01-15" author = false cover = "icon.png" tags = ["ddo"] keywords = ["programmierung"] description = "Describes the Coding for the DDO hardware, based on a RFduino board." showFullContent = false readingTime = false +++

This post describes the coding for the DDO hardware, based on a RFduino board. The hardware itself is introduced in the post posts/ddo-prototype. To implement the program, the standard Arduino SDE with RFduino library is installed on your computer (The RFduino Quick Start Guide on www.rfduino.com is not available any more).

The implementation has following main features:

Counting wheel rotations and calculation distance Read/Write the distance to memory in a safety way Push the actual distance via Bluetooth LE (BLE) Further topics are: Flash the LED with a memory write, communicate an error via LED Send logging to SDE The most important challenge is the non-stable power supply, especially at writing time.

Architecture The implementation communicates or controls five external components. The EEPROM is used to store the actual distance value. The LED give signals to the user at run time. The reed contact attached to the front wheel is the rotation trigger.

System Context

Via BLE the board sends the actual distance value periodically into the environment (independent, if there is a receiving app or not). For the developer, messages can be pushed via serial port to the Arduino SDE.

The inner view:

Inner View