ARDUINO DHT11 Starter Kit User Guide

June 1, 2024
ARDUINO

ARDUINO DHT11 Starter Kit

ARDUINO-DHT11-Starter-Kit-product

Specifications

  • Lesson 1 : EEPROM Storage Program
  • Lesson 2: 0.96in LED Screen Program
  • Lesson 3: MPU6050 Six-Axis Gyroscope Program
  • Lesson 4: Passive Buzzer Program
  • Lesson 5 : DH11 Temperature and Humidity Sensor Program
  • Lesson 6: Infrared Remote Reception Program
  • Lesson 7: Photoresistor Program

Storage LED And Screen Program

Lesson 1: EEPROM Storage Program:

  • Click Sketch in the Arduino IDE, select Manage Library in Include Library, search AT24C256_library, and click Install.ARDUINO-DHT11-Starter-Kit-FIG-1
  • Click File in the Arduino IDE, and select read_wirte in AT24C256_library from Examples.
  • Click Upload, and click Serial Monitor in the upper right corner of the IDE.

Lesson 2: 0.96in LED Screen Program:

  1. Click Sketch in the Arduino IDE, select Manage Library in Include Library, search U8glib, select U8glib and click InstallARDUINO-DHT11-Starter-Kit-FIG-2
  2. Click File in the Arduino IDE and select FPS from U8glib in Examples.
    • Find / / U8GLIB_SSD1306_128X64 u8g (U8G_I2C_OPT_NONE | U8G_I2C_OPT_DEV_0); // I2C/TWI code, delete “//” uncomment, click Upload in the upper left corner.ARDUINO-DHT11-Starter-Kit-FIG-3

Lesson 3: MPU6050 Six-Axis Gyroscope Program:

  1. Click Sketch in the Arduino IDE, select Manage Library in Include Library, search for Adafruit_MPU6050, and click Install.ARDUINO-DHT11-Starter-Kit-FIG-4
  2. Click File in the Arduino IDE and select basic_readings in Adafruit_MPU6050 in Examples.
  3. Click Upload, click Serial Monitor in the upper right corner of IDE, and switch from 9600baud to 115200baud.ARDUINO-DHT11-Starter-Kit-FIG-5
  4. Because the initial values of all axes of MPU-6050 cannot be consistent, when Acceleration’s X and Y axes are not equal to 0 m/^2 and Z axes are not equal to 9.8 m/^2, and the X, Y and Z of Rotation are not equal to 0rad/s, you can increase or reduce the error values through the program. Make the initial value of the output relatively correct.

Passive Buzzer Program

Lesson 4 : Passive Buzzer Program:

ARDUINO-DHT11-Starter-Kit-FIG-6

Temperature and Humidity Sensor Program

Lesson 5: DH11 Temperature and Humidity Sensor Program:

  1. Click Sketch in the Arduino IDE, select Manage Library in Include Library, search for DHT11, select DFRobot_DHT11, and click Install.ARDUINO-DHT11-Starter-Kit-FIG-7
  2. Click File in the Arduino IDE, and select readDHT11 in DFRRobot_DHT11 in Examples.
  3. Change #define DHT11_PIN 10 to #define DHT11_PIN3 and click IDE home page Upload.
  4. Click Serial Monitor in the upper right corner of the IDE and switch 9600baud to 115200baud. Wait about 1S to get the current temperature&humidity.

Infrared Remote Reception Program

Lesson6: Infrared Remote Reception Program

  1. Click Sketch in the Arduino IDE, select Manage Library in Include Library, search for IRremote, and click Install。ARDUINO-DHT11-Starter-Kit-FIG-10
  2. Click File in the Arduino IDE and select ReceiveDemo from IRremote in Examples.
  3. Click Upload, click Serial Monitor in the upper right corner of IDE, and switch from 9600baud to 115200baud. Use the matching remote control to align the infrared receiving module and press any key. When corresponding data appears, the module will run normally.ARDUINO-DHT11-Starter-Kit-FIG-11

Photoresistor And Button Program

Lesson7: Photoresistor Program:

ARDUINO-DHT11-Starter-Kit-FIG-12

Lesson8: Button Program:

ARDUINO-DHT11-Starter-Kit-FIG-13

FAQ

Frequently Asked Question s

  • Q: How do I troubleshoot if my program is not working?
    • A: Check the connections to ensure they are properly set up. Verify that the libraries are correctly installed in the Arduino IDE. Make sure the code is error-free and matches the instructions provided in the manual.

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals