Menu

#8 DS18X20_Demo, ethernut 13h, connection problem

v1.0 (example)
open
nobody
5
2011-04-04
2011-04-04
No

Sorry to double post, but this seems like the only way i get my post through ;/,
I know i have a pending thread, but i really need to get this done before that one.
I am using the code from this page
" http://www.siwawi.arubi.uni-kl.de/avr_projects/tempsensor/index.html " Version 0.9.2 (20110209).
I programmed the mC using avrdude. I'm just gonna use 1 sensor (18B20) with external power mode. .
The thing is, i have some doubts as for the connection of the sensor itself. Pin 1 is GND, middle pin is connected to the pin port of the atmega128(Portd, pin 6) and the third pin should be Vcc. When i power on the ethernut board and apply the 5v fo the protoboard i have the sensor on, it just gets really hot after a while..
Another one, When connecting correctly the sensor, and the SPI duo to the board, and the power supply, how am i supposed to see the reading temperatur of the sensor? I now that i need an UART connection to the pc, but how can i see the temperature? Do i need to run the program from avr studio 4? I tried using teraterm with the .0.6 version of the link page and it gave me rando characters, but when using any other version of the code, it just gives me nothing.
And if i'm only using 1 DS18B20 with external power mode, should i erase soe of the code or which one do you suggest i should use to program my atmega128?
Thanks in advance,
I appreciate any kind of help :)

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.