Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kabel42/micropythonINA219
simple micropython driver for INA219
https://github.com/kabel42/micropythonINA219
Last synced: 3 months ago
JSON representation
simple micropython driver for INA219
- Host: GitHub
- URL: https://github.com/kabel42/micropythonINA219
- Owner: kabel42
- Created: 2016-10-12T22:09:10.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-04T21:29:09.000Z (about 7 years ago)
- Last Synced: 2024-04-22T12:36:04.973Z (7 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-micropython - micropythonINA219 - Driver for INA219 current sensor. (Libraries / Sensors)
README
# micropythonINA219
simple micropython driver for INA219# Example session
ina219 connections:
+3v3<->3v3
gnd<->gnd
scl<->Pin5(D1 on D1 mini, pullup onboard)
sda<->Pin4(D2, pullup onboard)
Vin+<->+5V(USB)
Vin-<->LED+400R```
MicroPython v1.9.2-8-gbf8f45cf on 2017-08-23; ESP module with ESP8266
Type "help()" for more information.
>>> import ina219
>>> ina = ina219.INA219()
>>> ina.read()
(4.2, 4864.0)
>>> ina.read()
(4.3, 4864.0)
>>> ina.read()
(4.3, 4868.0)
```