ArminJo / Arduino-BlueDisplay

Arduino library for the BlueDisplay App. The App converts your smartphone into an Android remote touch display.
GNU General Public License v3.0
46 stars 9 forks source link

example added - voltage graph from remote probe #21

Open piotrcurious opened 2 months ago

piotrcurious commented 2 months ago

this is a working practical example. esp32 is used as AP esp8266 is used as a voltage probe.

esp32 uses bluedisplay to display a graph of data collected from esp8266. node sends packets using UDP multicast so other nodes in the system can see them (there can be more devices using the data, f.e. additional display or relay) esp32 collects the data from last 24h and displays them in a graph over bluedisplay protocol using bluetooth.

bluetooth and wifi coexistence works with low packet rate and low display update rate. if you increase it too much things start to choke. with full hd display 5 second display update rate and 10 second per packet rates are ok.

The system works completely independent of the internet and it does not disturb wifi of a phone (so one can view the graph while still being connected to wifi and the internet on the phone)

it is just example and more options can be added f.e. to allow rotating the solar panel by pressing buttons , enabling some devices or relays or simply sending commands inside the esp32 AP wifi network (so other devices can hear them)

piotrcurious commented 2 months ago

added another example to edit array by using touch. It probably could be better factored to use classes.