Lemon2311 / IoTFleet.js

Library to control multiple microcontroller devices (ex: esp32, Rpi Pico) over-air with javascript :)
4 stars 1 forks source link

Analog support #2

Open Lemon2311 opened 9 months ago

Lemon2311 commented 9 months ago

There should be support for analog IO.

Lemon2311 commented 9 months ago

Analog IO functionality implemented with either value or voltage, max voltage value using the HTTP endpoint for Analog Output is 3.287V, voltage margin from the input value to the actual value of around 0.1V, sometimes even more. Requires value mapping or a bit of tweaking to not create any confusion, as the core functionality is completed. Easy way of tweaking, or mapping is by connecting a DAC pin (ex:25) to a ADC pin (ex:32) and using the UI for feedback.