1
0
Fork 0
1-Wire tester, shows ROM code and temperature on an LCD screen
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
Ondřej Hruška fcdb66d53a
add checksum verifications
vor 6 Jahren
lib initial code, working LCD vor 6 Jahren
.gitignore initial code, working LCD vor 6 Jahren
CMakeLists.txt working, tested original DS1820 vor 6 Jahren
Makefile working, tested original DS1820 vor 6 Jahren
README.md add hd44780 pinout info vor 6 Jahren
lcd.c initial code, working LCD vor 6 Jahren
lcd.h initial code, working LCD vor 6 Jahren
main.c add checksum verifications vor 6 Jahren
onewire.c added 18B20 and iButton support vor 6 Jahren
onewire.h added 18B20 and iButton support vor 6 Jahren
style.astylerc initial code, working LCD vor 6 Jahren

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.