In this article we look at an another electronic kit, this time its a AT89C2051 based DS18B20 temperature kit.
The kit you get looks like this when bought
Its an easy kit to assemble as all of the parts are through hole, no SMT parts.
This circuit uses a DS18B20 as temperature sensor;a 3-bit common anode digital tube for display;and it uses a AT89C2051 microcontroller to read the sensor and display the values.
You connect a 5V+/-0.5V DC power on X1 port (please pay attention to positive and negative),
press the S1 button circuit display the current temperature value; if you press the switch again,S1 will enter into temperature set state.
Then you can press S2 or S3 to adjust temperature value;if you then press the S1 switch again,it will come back to current temperature display and save the value at the same time.
This value will be saved in DS18B20,even if the circuit is powered off it will not be lost.
When the circuit is powered on for the next time,the microcontroller will automatically read the previous temperature setting value;long press S1 is for closing the display and temperature control;if press it again,function will be open.
When the current temperature is over the set temperature, the LED will be switched on and there will be 5V on X2 port,and it can drive an external device
You can see some of the microcontroller pins used in the schematic – no source code for this.
You can see that pins 12 – 18 control the segments and pins 6 – 8 drive the individual led
S1 is connected to pin 19 and S2 and S3 are connected to pins 2 and 3 respectively.
The all important DS18B20 is connected to pin 11 of the microcontroller. There is also an LED and 5v output driven from pin 9.
|3-Bit Common Anode
You start by soldering in all the resistors
Watch the polarity of the LED, electrolytic capacitors and also look at the PCB markings to insert the DS18B20 and transistors the correct way. Make sure you identify the DS18B20 from the 4 transistors as they will look similar, you can verify the parts by the markings.
You have to be careful
Just over $6 is not bad for a kit like this to be fair
A pretty low price for the kit, as stated its easy enough to assemble and is actually pretty useful
The downside for me is no source code for the microcontroller – its pre-programmed. If this was available and you can review it and even possible change it and upload to your microcontroller then that would be great and you could have called this a microcontroller learning kit.
Also if the micro gets damaged then you have no way of getting the kit working.
I would give it a rating of 7 out of 10 for a basic kit, if it had the code it would have gone up to maybe a 9