Fast & furious guide to programming the Nano32 (Part 6)

William Hooi
2 min readOct 29, 2016

In this part of the programming guide, we are going to look into how to take reading from the DHT22 temperature and humidity sensor and display it.

  1. Open example 2090_DHT

2. Examine the code.

By default, the signal pin for the sensor data is designated as pin 16.

3. Connect the DHT22 temperature & humidity sensor to the Nano32 board.

Pin 1 Vcc to pin V3 of board

Pin 2 DATA to pin 16 of board

Pin 4 GND to pin GND of board

4. Build and upload (‘flash’) the program to the board.

Remember to press and hold button IO0 when flashing the program.

5. At Terminal, run minicom and enable it.

Go to command-line Terminal and run $ minicom. Press EN button at the Nano32 to run the program.

Soon the temperature and humidity levels will be displayed every second.

--

--

William Hooi

A third-careerist currently transitioning to software engineering