Quick Picaxe Prototyping 5 – DC18B20 Temp probe

DS18B20 Temperature sensor on assembled board

DS18B20 Temperature sensor on assembled board

I got interested in these temperature sensors after reading about the picaxe pongsat project on Hacked Gadgets

I did a little reading, and the pongsat project seems very interesting, and very cool. If anyone is interested in the pongsats, more info can be found at JPAerospace (the company that is making the free pingpong sized experiments happen)

Anyway, back to the Temperature sensor. I managed to pick up a few off ‘ebay for a couple of dollars, and figured i should add one to my little kit of quick prototyping parts.

Following is a quick schematic, and sketch of the finished design.
Please note, the drawing of the board says “To Output”, when its supposed to go to an input. it also means Pin0 on the schematic is possibly not suitable either (i used input 7 on a picaxe 18 for the code)

Temperature Probe Schematics

Temperature Probe Schematics

And, with this post, i figured i should start adding code to show how to use the parts that i am making. its very basic, as at the time of writing, I hadn’t had a chance to play around with the probe. So here it is:

main:
readtemp 7,b1 ‘ read value of temp probe on input 7 into b1
debug b1 ‘display b1 on the picaxe programmer
goto main ‘loop back to main

And thats it for another post,
Thanks for listening,
Matt

Advertisements

One thought on “Quick Picaxe Prototyping 5 – DC18B20 Temp probe

  1. Pingback: Quick Electronics Prototyping / playing « DIY DATA

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s