Microduino Wireless node temperature acquisition-OLED(LM35, DS18b20, DHT11, SHT10, AM2321)

来自Microduino Wikipedia
跳转至: 导航搜索
Language English

Objective

This tutorial will teach you to use the Microduino nRF24 module. It must be used in pair, one is sender and the other is receiver. We will the temperature sensor and temperature and humidity sensor to get data and nRF24 sender will send the data, then receiver receives the data and displays on OLED. At last, we use three Microudino nRF24s to set up a network which contains two sender and one receiver, use thress OLEDs to display result.

Euipment


Experiment 1 (LM35)

Schematic

  • Microduino-OLED
  • Microduino nRF24
  • Microduino-Core
  • Microduino-FT232R
  • Microduino-Cube-S1

Stack all of them and connect to sensor.

Left is the sender and right is the receiver.

Program

Refers to the nRF24_LM35

Debug

Step 1:Set up the hardware, as follows: Sender:

Receiver:

Left is the sender and right is the receiver:

Step 2:Copy sender's program and receiver's program to IDE and compile them respectively.

Step 3:Download the program and run them.

Step 4:Observe the OLED. Find a hot object to close the temperature sensor, the OLED will display the result.

Result

Put the DHT11 sensor near the heat source, the OLED displayed value will rise, leave the heat source temperature will gradually reduce. Blowing on the sensor, the number will rise too.


Experiment 2 (DS18b20)

Schematic

  • Microduino-OLED
  • Microduino nRF24
  • Microduino-Core
  • Microduino-FT232R
  • Microduino-Cube-S1

Stack all of them and connect to sensor.

Left is the sender and right is the receiver.

Program

Refers to nRF24_DS18B20

Debug

Step 1:Set up the hardware, as follows: Sender:

Receiver:

Left is the sender and right is the receiver:

Step 2:Copy sender's program and receiver's program to IDE and compile them respectively.

Step 3:Download the program and run them.

Step 4:Observe the OLED. Find a hot object to close the temperature sensor, the OLED will display the result.

Result

Put the DS18B20 sensor near the heat source, the OLED displayed value will rise, leave the heat source temperature will gradually reduce. Blowing on the sensor, the number will rise too.


Experiment 3 (AM2321,DHT11 multi-node network)

Schematic

  • Microduino-OLED
  • Microduino nRF24
  • Microduino-Core
  • Microduino-FT232R
  • Microduino-Cube-S1

Stack all of them and connect to sensor.

Left is the sender node 1, the middle is the sender node 2, and the right is the receiver.

Program

Refers to nRF24_AM2321_DHT11_network

Debug

Step 1:Set up the hardware, sender has two nodes (node 1 and node 2). Left is the sender node 1, the middle is the sender node 2, and the right is the receiver. As follows:

Step 2:Copy sender's program and receiver's program to IDE and compile them respectively.

Step 3:Download the program and run them.

Step 4:Observe the sender's OLED and receiver's OLED.

Result

Observe the receiver'd OLED, the temperature value is for node 1 and humidity value is for node 2. Change the temperature and humidity of the AM2321, DHT11 sensor, three OLED's value will change.

Video

Microduino nRF24无线节点温度采集-OLED显示(LM35) :

http://v.youku.com/v_show/id_XNjk0MTQxMzky.html

Microduino nRF24无线节点温度采集-OLED显示(DS18b20):

http://v.youku.com/v_show/id_XNjk0MTQxMzky.html

Microduino nRF24无线节点温度采集-OLED显示(AM2321,DHT11多节点网络):

http://v.youku.com/v_show/id_XNjk3MDk4MTMy.html