Reading environmental data is a staple in project-based learning. This project reads the ambient temperature and humidity and displays the data on a small screen.
Components: Arduino board, DHT11,DHT22, or BME 280 sensor, 16x2 I2C LCD screen or small OLED display.
The Build: Connect the DHT sensor to an analog or digital pin (depending on the module) and wire the display using the I2C protocol (SDA/SCL pins). Optional extensions include adding a Wifi module, and charting weather data on a webpage using Thingspeak.
Learning Outcome: This introduces how to install and utilize external code libraries (like the DHT/BME 280 and LiquidCrystal_I2C libraries) to interface with more complex components and display human-readable data. The optional extension provides an introduction to Internet of Things(IOT) projects.
Costs:
Arduino Nano ea $5.33
ESP-01 Wifi Module $3.00
ESP-01 Breakout Board $1.50
DHT-11 or $2.00
BME 280 $6.00
OLED Display $3.00
220 ohm Resistors $1.00
Half-Breadboard ea $1.26
AMS-1117 5V Regulator ea $0.50
9V Battery and Clip ea $3.00
Barrel-Jack Adaptor ea $0.79
$22.00