AcceliMegameter demonstrates simply collecting accelerometer and compass data and transmitting it over a UDP socket. It also has two buttons for transmitting messages.
It is purely a proof of concept and should be used as such.
The messages transmitted over the network are. NB: STX is ascii character 2. ETX is ascii character 3. TAB is ascii character 9.
- Accelerometer data: [STX]001A[XVALUE][TAB][YVALUE][TAB][ZVALUE][ETX]
- Heading data: [STX]001D[HEADINGDATA][ETX]
- BUTTON1 Presseed: [STX]001B[ETX]
- BUTTON2 Presseed: [STX]001C[ETX]
On the settings page you can:
- Change the App title.
- Set the IP address it transmits to.
- Set the titles of the Two buttons.
- Set the transmit rate of the accelerometer and the accuracy of the compass.