Quote:
Originally Posted by MarcTremblay
This is very interesting. I’d like to do something like this in the future for my CrossFit. I’m still in the learning process. At the moment I’m displaying data on my android phone from my arduino clone Bluetooth. Android app is created with mit inventor on line. Check this out if you haven’t so far. It’s simple and free. You build a Bluetooth app in no time. No programming.
|
I'll look into MIT App Inventor - it looks like it cuts out most of the Android app dev headaches.
Right now I have a Raspberry Pi acting as the central node. The Pi (1) is directly attached to my two Victron MPPT solar controllers via their V.direct cables, (2) gathers data from directly attached DS18B20 temp sensors and (3) reads data from SensorPush temp sensors & Thornwave battery monitors via Bluetooth.
The data is all published to an MQTT broker running on the Pi, and from there another process on the Pi subscribes to the broker and uploads the data to the Blynk cloud via their API, where it's exposed to the Blynk android app via a handful of dashboards. The Blynk app is bi-directional, so I can feed parameters and configs back to the devices. It's mostly Python code running as cron jobs, so it's easy to SSH in and tweak as necessary.
The Pi could be replaced by and ESP or Arduino. That would be harder to develop, but probably less maintenance in the long run - no need to SSH in patch the OS every month or so.
Once I figure out a decent way to marry a Bluetooth ESP with the Nextion display, I'll have to decide how to move data to and from the sensors, the display, and the cloud. Either stick with the Pi or re-implement with a microcontroller.