Skip to content

buffedelic/micropython-onewire-ds2423

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Micropython OneWire DS2423

Description

Lightweight driver for the 1wire counter ds2423 from Maxim Integrated Designed to work with the micropython driver for onewire.

Hardware

  • DS2423 or ready made device
  • Tested on ESP8266
  • Pull-up resistor is required on data bus, 1kohm to 3.3v is a good starting point

Applications

  • Masuring power, water, gas meters
  • Count chickes with a low powered device

Example Usage

import ds2423
import onewire

ow = onewire.OneWire(Pin(0))

counter = ds2423.DS2423(ow)
counter.begin(bytearray(b'\x1dl\xec\x0c\x00\x00\x00\x94'))
print(counter.get_count("DS2423_COUNTER_A"))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages