Testing temperature and humidity measurement
Here to introduce a single-chip development board for single-chip beginners to complete the temperature and humidity measurement test. The test is based on the microcontroller development board to complete the task. This single-chip development board is a very high quality 51 MCU development board with low price of $5.5( also sent a 1602 LCD screen, and a STC89C52RC microcontroller). The whole board is small,it can be used to learn 51 single-chip, avr microcontroller learning, also can work as smart car control motherboard or DIY other electronic intelligent devices, attached to the rich routines. The board design has a four-in-one digital digital tube, with 1602 LCD interface, 128 * 64 LCD interface, infrared receiver diode, DS18B20 temperature sensor interface, wireless module, ISP interface for downloading AT89S51 / 52 single-chip Program, buzzer circuit, and the board integrated 8 light-emitting diodes. STC microcontroller program can be programmed directly through the USB cable. In short, the board is powerful, with up to more than 50 single-chip routines.
First, prepare the test material.
The test is based on the development board, because the development board does not have temperature and humidity sensors, so need to get the sensor ourselves. Here are the required components and materials: LM35DT:http://www.kynix.com/Detail/1898/LM35DT.html temperature sensor, three DuPont line.
As the temperature sensor pin is smaller, which is can not be directly connected with DuPont line, only through welding.
Physical map connection: the temperature sensor 1 foot connected to the VCC, 2 feet data terminal development board P1.0 port, 4 feet connected to GND, connect the circuit, the program compiled HEX file generated into the microcontroller. It will work after connecting the power.