Skip to content

Send signals read from ADC over UDP broadcast (and use them).

License

Notifications You must be signed in to change notification settings

lafleurdeboum/ADCOverUDP

Repository files navigation

ADCOverUDP

Audience

This was written for micropython on ESP boards. Porting to some other board should be easy, one would need to modify hardware.py to suit specific hardware parameter. The purpose is tested and succeeds on ESP32 and ESP8266 boards.

Usage

Go in src. Edit board.py. Copy files over to an ESP device serving as broadcaster (make sure to connect its ADC to something useful). Re-edit board.py. Upload to the listener.

Alternatively, one could use the broadcasterInstallScript.sh that uses rshell to upload files to the board. Then use listenerInstallScript.sh. Those will set up the listener as a wifi access point, and tell the broadcaster to connect to this AP before broadcasting ADC events. This way you can have several (untested, but if you want to buy me a third board just mail me).

At the moment, the scripts rely on a working OLED display (to be changed).

About

Send signals read from ADC over UDP broadcast (and use them).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published