Zedomax DIY 109 - Build a digital thermometer in one minute! Zedomax DIY 109 - Construir un termómetro digital en un minuto!
[DIY 109] [Brico 109]
Do it yourself ! Hágalo usted mismo!

Build a digital thermometer in 1 minute! Construir un termómetro digital en 1 minuto!

Here’sa video of building a digital Thermometer in 1 min: He aquí un vídeo de la construcción de un termómetro digital en 1 min:
Here’sa video of Zedomax digital Thermometer in Action: He aquí un vídeo de Zedomax Termómetro digital en acción:
Parts List: Lista de piezas:
1 CB280 Start Kit 1 Kit de inicio CB280
1 CLCD420B 1 CLCD420B
1 DS1620 (available at mouser.com or digikey.com too) 1 DS1620 (disponible en digikey.com mouser.com o demasiado)
available at cubloc.com disponible en cubloc.com
Estimated Time to Assemble: 1 minutes Tiempo estimado para ensamblar: 1 minuto
Estimated Time to Program: zero (source code provided) Tiempo estimado al Programa: cero (código fuente)
Okay, it seems like the only class I really enjoyed in college was the embedded computer class. Bueno, parece que la única clase que realmente disfruta en la universidad fue el ordenador incrustado clase. All the other circuit classes and computer language classes bore the hell out of me because they was no actual product. Todos los demás circuitos de computadoras y clases de clases de idioma soportado el infierno fuera de mí porque no fue producto real.
With embedded computers, you actually physically get to see stuff and that’s what I liked about it. Dotados de computadoras, que en realidad físicamente llegar a ver cosas y eso es lo que me gustó acerca de ello.
Well I started w/ the Motorola MC68 series microcontrollers and it took me almost a week to make a digital thermometer. Así que empecé w / Motorola MC68 serie microcontroladores y me tomó casi una semana para hacer un termómetro digital. I had to make everything from scratch. Tuve que hacer todo desde cero. It was still interesting because I made something physical and it worked! Aún es interesante porque he hecho algo físico y funcionó!
Anyways, now I am glad I can do the same thing except it only takes me 1 minute! De cualquier forma, ahora me alegro de que puedo hacer la misma cosa excepto que sólo me lleva 1 minuto!
Not because I got smarter but mostly because I’ve done this thousand times now, but I think anyone should be able to accomplish this in 1 minute if you follow these directions. No porque me dio más inteligente, pero sobre todo porque he hecho esto mil veces ahora, pero creo que nadie debería ser capaz de lograr esto en 1 minuto si usted siga estas instrucciones. ![]()
Connections Conexiones

Just follow the above picture exactly in less than 1 minute and you have the following source code to download and make this thing work! Sólo tienes que seguir por encima de la imagen exactamente en menos de 1 minuto y tiene el siguiente código fuente para descargar y poner esta cosa de trabajo!
Taking it Further… Teniendo aún más…
Okay, now you have a 1 minute guide to making a digital thermometer. Bien, ahora usted tiene una guía de 1 minuto para hacer un termómetro digital. Go to your college professor and show him how you can make one in 1 minute… maybe he will give you some extra credit… Vaya a su profesor universitario y le muestran cómo se puede hacer uno en 1 minuto… tal vez le dará un poco más de crédito…
If you are having any trouble with above app, please e-mail Si tiene algún problema con la anterior aplicación, por favor envíe un e-mail max@zedomax.com
If you have any cool apps you’d like to share or want some kind of DIY, please e-mail to Si tiene alguna fresco aplicaciones que le gustaría compartir o desea algún tipo de bricolaje, por favor envíe un e-mail a max@zedomax.com
We do accept free samples for DIYs, please email Lo hacemos aceptar muestras gratuitas para DIYs, por favor envíe un mensaje max@zedomax.com ![]()
Program Source… Programa de Origen…
‘ DS1620 Temperature Sensor App v.0.0.1
‘ v0.0.1 - Displays upto 2 decimals
‘ by using DS1620’s precise mode
Const Device=cb280
‘ Set Pin numbers!
‘ Set DQ,CLK,RST pins
‘Connect P24 to RST of DS1620
‘Connect P25 to CLK of DS1620
‘Connect P26 to DQ of DS1620
#define RST 24
#define CLK 25
#define DQ 26
Set Ladder Off
Dim ReturnedTemp As Single, TempF As Single, TempC As Single ‘Floating Point variables for storing temperature
Dim COUNT_REMAIN As Single, COUNT_PER_C As Single ‘Floating Point variables for calculations
Dim tmp As Single ‘Temporary variable for Floating Point
Dim TempString As String *6
Dim TempFString As String * 6
Dim TempCString As String * 6
Set Display 2,0,0,128
‘Erase screen
Cls
Delay 100
Csroff
Locate 2,0
Print “Zedomax Digital”
Locate 5,1
Print “Thermometer”
Locate 0,2
Print “Fahrenheit: “
Locate 0,3
Print “Celcius: “
DS1620Init
‘On timer(5) Gosub MAINPROCESS ‘Timer Interrupt every 500msec!
Do
DS1620
Loop
‘MAINPROCESS:
‘Return
End
Sub DS1620Init()
Output RST
Output CLK
Output DQ
‘Send Initialization to DS1620
Out RST, 1
Shiftout CLK,DQ,0,0×0C,8
Shiftout CLK,DQ,0,0×02,8
Out RST, 0
‘Start DS1620 Temperature Conversion!
Out RST, 1
Shiftout CLK,DQ,0,0xEE,8
Out RST, 0
End Sub
Sub DS1620()
‘——Read Temp——————————
Out RST,1
Shiftout CLK,DQ,0,0xAA,8
ReturnedTemp=Shiftin(CLK,DQ,0,9)
ReturnedTemp=ReturnedTemp/2
Out RST,0
Out RST,1
Shiftout CLK,DQ,0,0xA0,8
COUNT_REMAIN=Shiftin(CLK,DQ,0,9)
Out RST,0
Out RST,1
Shiftout CLK,DQ,0,0xA9,8
COUNT_PER_C=Shiftin(CLK,DQ,0,9)
Out RST,0
‘——Precision Formula (According to DS1620 Data Sheet)
tmp=(COUNT_PER_C-COUNT_REMAIN)
tmp=tmp/COUNT_PER_C
If tmp>0 Then
TempC=ReturnedTemp-0.25
TempC=TempC+tmp
Else
TempC=ReturnedTemp
End If
‘Change from Celcius to Fahrenheit!
TempF=TempC*1.8
TempF=TempF+32
‘Convert floating point value to string and set the number of decimals
TempString=Float ReturnedTemp
TempFString=Float TempF
TempCString=Float TempC
TempString=Left(TempString,4)
TempFString=Left(TempFString,5)
TempCString=Left(TempCString,5)
‘Output to LCD!
Locate 12,2
Print TempFString
Locate 12,3
Print TempCString
‘ Locate 0,2
‘ Print TempString, ” Deg C (w/o precision)”, Cr
‘Print to debug screen!
‘Debug “Current Temperature in is “, Cr,TempFString, ” Deg F “, Cr
‘Debug TempCString, ” Deg C”, Cr
‘Debug TempString, ” Deg C (without precision)”, Cr
End Sub
RSS feed RSS feed | Trackback URI Trackback URI
























[...] Full story via Link [...] [...] Noticia completa a través de Enlace [...]
I’m making a Digital Thermometer with a DS1620 and a 8051. Estoy haciendo un termómetro digital con un DS1620 y 8051. Do you need a lookup table for that? ¿Necesita una tabla de búsqueda para que? Could you tell me where i can find the code? ¿Podría decirme donde puedo encontrar el código? Thanks in advance.. Gracias de antemano ..
Hi there, you don’t need any tables for the DS1620, you just need to talk to it Hola, no necesita ninguna tabla para el DS1620, sólo tiene que hablar con él
using the SPI protocol. utilizando el protocolo SPI. If you have any Basic programming experience, you can refer to the above Program Source, which you probably easily convert to 8051’s C language. Si usted tiene alguna experiencia en programación básica, puede referirse a lo anterior Programa de Origen, lo que probablemente convierta fácilmente para 8051 del lenguaje C.
Hello Max, good job! Hola Max, buen trabajo! I got a question how you convert the voltage into fahrenheit and celcius. I got a question cómo convertir la tensión en Fahrenheit y celcius. thanks gracias
can you maill me one please puede maill me uno, por favor