Skip to content

INA260 logging to screen and logfile, implemented in MicroPython (using Adafruit QT PY RP2040)

License

Notifications You must be signed in to change notification settings

charkster/ina260_logfile_micropython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ina260_logfile_micropython

picture

INA260 logging to screen and logfile, implemented in MicroPython (using Adafruit QT PY RP2040).

This is a re-write on my Python script which runs on full-size Raspberry Pi. It is cheaper and boots much faster.

I open this script in Thonny and have it run in the REPL. Current and voltage are sampled once per second and displayed in REPL. A CSV logfile is also created on the MCU, which can be accessed using Thonny. A QT PY RP2040 was used as it has a 2Mbyte flash to store the CSV logfile.

Use Ctrl-C to stop the script, which causes the logfile to be closed.

About

INA260 logging to screen and logfile, implemented in MicroPython (using Adafruit QT PY RP2040)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages