Zedomax DIY 109 - Build a digital thermometer in one minute! zedomaxのDIY 109 -を構築するデジタル温度計を1分間で!
[DIY 109] [のDIY 109 ]
Do it yourself !自分でやりなさい!

Build a digital thermometer in 1 minute! を構築するデジタル温度計で1分!

Here’sa video of building a digital Thermometer in 1 min:以下のビデオをビルドするデジタル温度計で1分:
Here’sa video of Zedomax digital Thermometer in Action:以下のビデオzedomaxデジタル温度計で対処:
Parts List: パーツリスト:
1 CB280 Start Kit 1 cb280スタートキット
1 CLCD420B 1 clcd420b
1 DS1620 (available at mouser.com or digikey.com too) 1 ds1620 ( mouser.comまたはdigikey.comあまりにも入手可能)
available at cubloc.comご利用にcubloc.com
Estimated Time to Assemble: 1 minutes推定所要時間を組み立てる: 1分
Estimated Time to Program: zero (source code provided)推定所要時間をプログラムする:ゼロ(ソースコードの提供)
Okay, it seems like the only class I really enjoyed in college was the embedded computer class.オーケー、クラスだけのように思える本当に大学は、埋め込まれたコンピュータをお楽しみクラスです。 All the other circuit classes and computer language classes bore the hell out of me because they was no actual product.の他のすべての回路のクラスやコンピュータ言語のクラスでびびったよ穴がないため、実際の製品です。
With embedded computers, you actually physically get to see stuff and that’s what I liked about it.に埋め込まれたコンピュータでは、物理的に取得を確認するものと、実際にそれが私の好きを参照してください。
Well I started w/ the Motorola MC68 series microcontrollers and it took me almost a week to make a digital thermometer.よく私を開始ワット/ mc68シリーズのモトローラ、マイクロコントローラおよびメインほぼ1週間以内にかかったデジタル温度計を作る。 I had to make everything from scratch.私はすべてをスクラッチからです。 It was still interesting because I made something physical and it worked!興味深いことはまだ何か物理的なため、私はうまくいった!
Anyways, now I am glad I can do the same thing except it only takes me 1 minute!まあとにかく、今すぐできて嬉しく思っ同じものにできるかどうか私を除いて1分しかかからない!
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.しかし、私は賢いいないため、主な理由は、私はこれ千倍今すぐ、誰でもできるはずと思うこれを達成するために1分間以下の場合に指示する。 ![]()
Connections接続

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!正確には、上記の画像には、次を1分未満とするには、以下のソースコードをダウンロードして仕事にこのこと!
Taking it Further…撮影がより詳細な…
Okay, now you have a 1 minute guide to making a digital thermometer.オーケー、今すぐ1分ガイドをお持ちのデジタル温度計を作る。 Go to your college professor and show him how you can make one in 1 minute… maybe he will give you some extra credit…あなたの大学教授と詳細に行く彼1つの方法で行うことができます1分…もしかしたら彼はいくつかの余分なクレジット…
If you are having any trouble with above app, please 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クールがある場合をしたいのですがアプリを共有、またはいくつかの種類の選択のDIY 、下記に電子メールを max@zedomax.com
We do accept free samples for DIYs, please email我々のサンプルを無料で受け入れるdiys 、下記電子メール max@zedomax.com ![]()
Program Source…プログラムのソース…
‘ 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フィード | Trackback URIトラックバックURI
























[...] Full story via Link [...] [...]フルストーリー経由のリンク[...]
I’m making a Digital Thermometer with a DS1620 and a 8051.私は、デジタル温度計8051 、 ds1620とします。 Do you need a lookup table for that?ルックアップテーブルは必要ですか? Could you tell me where i can find the code?を教えてもらえますのコードはどこで見つけるですか? Thanks in advance..のおかげで事前に..
Hi there, you don’t need any tables for the DS1620, you just need to talk to itやあ、任意のテーブルをする必要はありません、 ds1620 、あなただけ話をする必要があること
using the SPI protocol. 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.基本的なプログラミングの経験がある場合は、することができます。 、上記のプログラムソースを参照して、これおそらく8051のC言語を簡単に変換します。
Hello Max, good job!ハローマックス、グッジョブ! I got a question how you convert the voltage into fahrenheit and celcius.私はある質問をどのように電圧に変換するとcelcius華氏です。 thanksありがとう
can you maill me one please 1つのメインをごmaill