You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ondřej Hruška
ea97235c2c
|
6 years ago | |
---|---|---|
lib | 6 years ago | |
.gitignore | 6 years ago | |
CMakeLists.txt | 6 years ago | |
Makefile | 6 years ago | |
README.md | 6 years ago | |
lcd.c | 6 years ago | |
lcd.h | 6 years ago | |
main.c | 6 years ago | |
onewire.c | 6 years ago | |
onewire.h | 6 years ago | |
style.astylerc | 6 years ago |
README.md
1-Wire tester
Uses Arduino Pro Mini, Arduino Nano or similar, with ATmega328P.
LCD is HD44780, 2-line.
Pinout
- D2 - RS
- D3 - R/W
- D4 - E
- D5..D8 - DATA4..7
- D9 - 1-Wire data, 4k7 pullup to 5V
HD44780 connection
- GND
- +5
- contrast (potentiometer +5 - GND)
- RS
- R/W
- E
- D0-D3 ... to GND
- D4-D7 ... communication
Usage
Everything is automatic, just connect 1-Wire devices to the data pin.
ROM code reading works in parasitic mode, but temperature measurement is implemented only in 3-wire mode.