Search found 9 matches

by elschopi
Tue Jun 16, 2020 7:04 am
Forum: Drivers for External Components
Topic: Micropython library for the TI INA219 voltage/current sensor
Replies: 15
Views: 5361

Re: Micropython library for the TI INA219 voltage/current sensor

Hello Robert,

thanks for the feedback. I've removed these lines now, too.

Best regards,

Chris
by elschopi
Mon Jun 15, 2020 5:08 pm
Forum: Drivers for External Components
Topic: Micropython library for the TI INA219 voltage/current sensor
Replies: 15
Views: 5361

Re: Micropython library for the TI INA219 voltage/current sensor

Hello everyone, I've managed to put it all together and am now proudly serving it on github under https://github.com/elschopi/TI_INA226_micropython I have a Google spreadsheet prepared for calculations and stuff, if anyone's interested - link is in the github readme. Please feel free to educate me w...
by elschopi
Sun Jun 14, 2020 5:35 pm
Forum: Drivers for External Components
Topic: Micropython library for the TI INA219 voltage/current sensor
Replies: 15
Views: 5361

Re: Micropython library for the TI INA219 voltage/current sensor

Thanks again for your help =) I'm in the middle of re-arranging the config register values, after I just figured out the differences. Interestingly, even though the differences are quite significant, it works even with the config register values for the INA219 device. As soon as I have implemented t...
by elschopi
Sat Jun 13, 2020 6:13 pm
Forum: Drivers for External Components
Topic: Micropython library for the TI INA219 voltage/current sensor
Replies: 15
Views: 5361

Re: Micropython library for the TI INA219 voltage/current sensor

Hello everyone, and thank you all for your help (and sorry for the long time of being quiet). I've had to deal with a few work and study issues :mrgreen: which did consume most of my time and/or motivation. I've managed to adapt https://github.com/robert-hh/INA219 to work with my INA226. I have yet ...
by elschopi
Sat May 23, 2020 11:20 am
Forum: Programs, Libraries and Tools
Topic: Application for Robert-hh's ads1x15 library
Replies: 7
Views: 880

Re: Application for Robert-hh's ads1x15 library

Hello Robert, thanks for your reply. I may have other issues (surely PEBKAC, too) then. My ADS and ACS share the ground with the input, supply voltages are derived from LDO voltage regulators so the ground potential is the same everywhere. I'll need to redo my design I guess, fix it until it works :...
by elschopi
Sat May 23, 2020 9:32 am
Forum: Programs, Libraries and Tools
Topic: Application for Robert-hh's ads1x15 library
Replies: 7
Views: 880

Re: Application for Robert-hh's ads1x15 library

Hello everyone =) I want to implement this library for a simple current/voltage meter. The ADS1115 gets a voltage from a ACS712 hall effect sensor on AIN1, and a reference of half the supply voltage (matched with a voltage divider to the 0A-voltage of the ACS) on AIN0. The differential reading works...
by elschopi
Wed May 20, 2020 1:16 pm
Forum: Drivers for External Components
Topic: Micropython library for the TI INA219 voltage/current sensor
Replies: 15
Views: 5361

Re: Micropython library for the TI INA219 voltage/current sensor

Hello all, I am searching for a micropython driver for the TI INA226, and as this is its little brother, I guessed I might as well ask here instead of opening a new thread. I'm quite new to (micro)python (or programming in itself), so writing my own library is out of the question :) On another note,...
by elschopi
Tue May 12, 2020 6:00 am
Forum: ESP32 boards
Topic: ssd1306 heltec wireless-stick oled not work correctly
Replies: 5
Views: 1287

Re: ssd1306 heltec wireless-stick oled not work correctly

Oh. I'll try that, thank you. Unfortunately I can't try it now, as my company PC is not able to use pip (for python 3.x I installed everything needed for esptool by hand :lol: ) edit: I've installed the pyserial module by hand, and now the updater seems to work. It gave me a 'flash operation success...
by elschopi
Tue May 12, 2020 5:35 am
Forum: ESP32 boards
Topic: ssd1306 heltec wireless-stick oled not work correctly
Replies: 5
Views: 1287

Re: ssd1306 heltec wireless-stick oled not work correctly

@Roberthh: first of all, thank you for your work =) but unfortunately, I do have a small problem using the updater. I'm only beginning my journey with micropython (or python as it is :D) so maybe I've made a stupid mistake. First, I could not run the updater because my python version was wrong - exp...