example added - voltage graph from remote probe#21
Open
piotrcurious wants to merge 16 commits intoArminJo:masterfrom
Open
example added - voltage graph from remote probe#21piotrcurious wants to merge 16 commits intoArminJo:masterfrom
piotrcurious wants to merge 16 commits intoArminJo:masterfrom
Conversation
another example of simple battery voltage monitor
example node
optimized graph display so after plotting each line goes into the buffer, and on each main loop iteration only a chunk of lines are sent over to bluedisplay. this allows main loop to repeat more often and frequency of event checks is not disrupted only one graph can be buffered for now. this makes display more interactive and reduces bluetooth bandwidth usage as graph data is sent only once per update (usefull for bt/wifi coexistence).
mistake
this ensures whole buffer is drawn in a looping sequence of pseudorandom order
added define to allow compilation either on 3.0.0 or 2.0.6
Author
|
added another example to edit array by using touch. |
67224c9 to
9b5149e
Compare
d678e9f to
145a2b9
Compare
10ebbae to
2b969ef
Compare
72ca965 to
695f502
Compare
92e38c8 to
2589ba2
Compare
1f32e7f to
b23547d
Compare
dc8cb48 to
3523214
Compare
21381d6 to
bc07a96
Compare
afae7db to
d1136ba
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)