I was looking online for a place to put data from an INA219 a current shunt and power monitor chip, it's found
this device https://www.waveshare.com/pico-ups-a.htm....
When I came across the article in German below are the links in German and a Google translate of it, also the
Github link to it...
It allows remote control it, and receiving data from it (temp & humidity) via a Telegram Bot...
I don't have that particular sensor or LCD, I'm using a ST7789 2.8" Resistive Touch LCD. But I could certainly control
the on board Led of the Pi Pico W. I've not quite fully figured out the two .py files, to send my INA219 data and have control
of it yet...
But soon realised afterwards I could send INA219 data directly to a Telegram Group via the online Telegram Bot from my
scrappy example code, but with no control yet...
Code: Select all
response = urequests.post('https://api.telegram.org/bot<YOUR API KEY>/sendMessage?chat_id=-<YOUR GROUP CHAT ID>&text=' + "Volts:{:6.3f} V".format(bus_voltage) + " mA :{:6.3f} A".format(current/1000))
response.close()
https://www-elektrobot-net.translate.go ... _tr_pto=sc - Google translate
https://github.com/oguzhanbaser/picoWorkspace