DS18B20 THERMOMETER with TM1637 7SEGMENT LED DISPLAY

darth vader's picture
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Type: 

Compiler/Assembler: 

 

CHIP Attiny804

AS7 STUDIO PROJECT

ASSEMBLY LANGUAGE

Thermometer - DS18B20

PA1 of attiny804 connected to DIO of display (no pullup)

PA2 of attiny804 connected to CLK of display (no pullup)

PA3 of attiny804 connected to data pin of DS18B20 sensor with 5k pullup

tested OK

DISPLAY - TM1637 based 7 segment LED display (5volt)

 

ADDED attiny10 version also

PB0 of attiny10 to DIO of display (no pullup)

PB2 of attiny10 to CLK of display (no pullup)

PB1 of attiny10 to data pin of DS18B20 sensor with 5k pullup

 

both atiny10 and atiny804 versions tested and found OK

 

digits 012345 when using auto address increment mode (0x40)  (address auto incremented as 0xC0,0xC1,0xC2,0xC3,0xC4,0xC5)

 

 

digits 012345 when using fixed address mode 0x44 , address has to be transmitted mnually in sequence 0xC2,0xC1,0xC0,0xC5,0xC4,0xC3

 

 

 

 

 

Attachment(s):