Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

DIY Fitbit with Arduino and Cordova – Part 2

Blog post from PubNub

Post Details
Company
Date Published
Author
Michael Carroll
Word Count
1,909
Company Posts That Month
4
Language
English
Hacker News Points
-
Summary

Continuing from a previous tutorial on building a Bluetooth-enabled device with Tinyduino, this article guides readers through the completion of a Bluetooth fitness band by integrating an accelerometer and creating a mobile app to visualize data. The Tinyduino accelerometer module measures acceleration across three axes and fits seamlessly into the existing setup, allowing users to track movement and send data to a mobile phone via Bluetooth. Using Cordova, a cross-platform app development package, users can create an app that displays real-time acceleration data on a live chart, accessible from any internet-connected device through the PubNub Data Stream Network. The process involves merging Bluetooth and accelerometer code, running the app on a mobile device, and observing a graphical representation of data transmitted from the accelerometer. Finally, the wearable can be completed by embedding the Tinyduino into a sweatband, powered by a small coin cell battery, resulting in an internet-connected, customizable fitness tracker.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 2 205 60 26 -27%