DHT11 Temperature Sensor XH2.54 terminal 1602 I2C LCD with Arduino

What you need:
1 X DHT11 Temperature Sensor XH2.54mm terminal
1 X 1602 I2C LCD Display module
1 X Arduino UNOR3
1 X 7P Female to Male Jump Wire
1 X USB Cable

Materials for DHT11 Temperature Humidity Measurement and display

Connection:
DHT11 to UNOR3:
S to D2
+ to 3V3
– to GND

1602 I2C LCD to UNOR3:
GND to GND
VCC to 5V
SDA to A4
SCL to A5

DHT11 sensor 1602 I2C LCD wiring with Arduino

Download below two libraries on your Arduino IDE:
DHT sensor library
LiquidCrystal I2C

 

Code:
#include <LiquidCrystal_I2C.h>
#include “DHT.h”
#define DHTPIN 2
#define DHTTYPE DHT11

LiquidCrystal_I2C lcd(0x27, 16, 2); // I2C address 0x3F, 16 column and 2 rows
DHT dht(DHTPIN, DHTTYPE);

void setup()
{
dht.begin(); // initialize the sensor
lcd.init(); // initialize the lcd
lcd.backlight(); // open the backlight
}

void loop()
{
delay(2000); // wait a few seconds between measurements

float humi = dht.readHumidity(); // read humidity
float tempC = dht.readTemperature(); // read temperature

lcd.clear();
// check if any reads failed
if (isnan(humi) || isnan(tempC)) {
lcd.setCursor(0, 0);
lcd.print(“Failed”);
} else {
lcd.setCursor(0, 0); // start to print at the first row
lcd.print(“Temp: “);
lcd.print(tempC); // print the temperature
lcd.print((char)223); // print ° character
lcd.print(“C”);

lcd.setCursor(0, 1); // start to print at the second row
lcd.print(“Humi: “);
lcd.print(humi); // print the humidity
lcd.print(“%”);
}
}

After upload the code, the measurement of the temperature and humidity results displayed in 1602 LCD like below picture:

Note: if the lcd displays not properly after powered on, pls adjust the blue potentiometer on the IIC Adapter board which is installed in the backside of the lcd module.

 

Purchase link:

https://www.diymalls.com/DHT11-Temperature-Sensor-XH2.54-3P-Terminal-with-1602-I2C-LCD-Display-Module

***********************************************************************************

***********************************************************************************

DIYmall DHT11 Temperature Sensor 1602 IIC LCD with Arduino

What you need:
1 X DHT11 Temperature Sensor
1 X 1602 IIC LCD Display Module
1 X Arduino UNO
1 X 7P Female to Male Jump Wire
1 X USB Cable

Connection:
DHT 11 to UNO R3:
S to D2
+ to 3V3
– to GND

1602 LCD to UNO R3:
GND to GND
VCC to 5V
SDA to A4
SCL to A5

Download below two libraries on your Arduino IDE:
DHT sensor library
LiquidCrystal I2C

Install DHT sensor library in your Arduino IDE

Install library of LiquidCrystal I2C in your Arduino IDE

Code example:
#include <LiquidCrystal_I2C.h>
#include “DHT.h”
#define DHTPIN 2
#define DHTTYPE DHT11

LiquidCrystal_I2C lcd(0x27, 16, 2); // I2C address 0x3F, 16 column and 2 rows
DHT dht(DHTPIN, DHTTYPE);

void setup()
{
dht.begin(); // initialize the sensor
lcd.init(); // initialize the lcd
lcd.backlight(); // open the backlight
}

void loop()
{
delay(2000); // wait a few seconds between measurements

float humi = dht.readHumidity(); // read humidity
float tempC = dht.readTemperature(); // read temperature

lcd.clear();
// check if any reads failed
if (isnan(humi) || isnan(tempC)) {
lcd.setCursor(0, 0);
lcd.print(“Failed”);
} else {
lcd.setCursor(0, 0); // start to print at the first row
lcd.print(“Temp: “);
lcd.print(tempC); // print the temperature
lcd.print((char)223); // print ° character
lcd.print(“C”);

lcd.setCursor(0, 1); // start to print at the second row
lcd.print(“Humi: “);
lcd.print(humi); // print the humidity
lcd.print(“%”);
}
}

After upload the code, the measurement of the temperature and humidity results displayed in 1602 LCD like below picture:

 

Purchase link:
https://www.diymalls.com/DHT11-Digital-Temperature-Humidity-Sensor-with-LCD1602-I2C-Display-Module

***********************************************************************************

***********************************************************************************

 

How to Format Sound Module Disk on Mackbook

 

Open Disk Utility

 

Click View-show all devices

Choose the correct disk of the recording module

 

Click erase

Format: choose ExFAT

Scheme: choose Master Boot Record
Click Erase

It will take a few minutes, when it shows: Operation successful. The disk will show up

Open Application-United disk, copy MP3 song to the disk

 

Video link:
https://youtu.be/6j-wvpqzwP

DIYmall HC-SR505 Motion Sensor for Arduino

The material you need prepare is:

1 X HC-SR505 Motion Sensor
1 X DIYmall UNOR3 with USB cable
1 X 3P Male to Female Jumper Wire
1 X LED

DIYmall UNOR3 & HC-SR505 PIR Sensor & led & Hookup wires

Wiring Connection:

HC-SR505 to DIYmall UNOR3:

– to GND
out to D7
+ to 5V

LED to DIYmall UNOR3:

Red LED long pin to D13
Red LED short pin to GND

Wiring diagram for DIYmall UNOR3 with HC-SR505 and LED

 

Code example:

int SR505=7;
int LED=13;
void setup()
{
pinMode(LED,OUTPUT);
pinMode(SR505,INPUT);
Serial.begin(9600);
}
void loop()
{
if(digitalRead(SR505)==HIGH)
{
Serial.println(“Enter The Sensing Area “);
digitalWrite(LED,HIGH);
delay(10);
digitalWrite(LED,LOW);
delay(10);
}
else
{
Serial.println(“NO Man”);
digitalWrite(LED,LOW);
}
delay(500);
}

Running the code, and get the result like below picture:

Purchase link:

HC-SR505 mini PIR motion sensor:

https://www.diymalls.com/HC-SR501-HC-SR505-AM312-PIR-Sensor-Module-HC-SR501-Mounting-Bracket

DIYmall UNOR3:

https://www.diymalls.com/DIYmallUNO-R3-Development-Board-ATmega328P-Microcontroller

*************************************************************************************

*************************************************************************************

 

3.2″ TFT LCD Module Display ILI9341 for Arduino Mega 2560

This 3.2″ TFT LCD display module, with driver chip ILI9341, works at 3.3V (this is very important).
Therefore, if you use it with mega 2560, please insert TFT 3.2 LCD expansion shield, not directly connect board with the 3.2 inch screen. Otherwise, it’ll be burned.

What you need:
1 X 3.2″ TFT LCD Module
1 X TFT Mega Touch LCD Shield Expansion Board
1 X Mega 2560 R3 board with USB cable

PS: Install the arduino IDE if your PC has not installed before.

Connection:

Follow below steps to download the code and upload to the Arduino board.

1, Download code of TFT_HX8357 Master from github.
Code: https://github.com/Bodmer/TFT_HX8357

2, Add the zip file to Arduino IDE
Sketch-Include Library-Add .ZIP Library

3, Open Arduino IDE, choose one of the example code and upload to the mega 2560 board.
File-Example-TFT_HX8357-UTFT_Demo_480x320.
Note: before you upload the example code, please make sure that you choose correct board and COM port.

Video link:
https://youtu.be/uVrsCgTm4rY

Purchase link:

1, (lcd only) 3.2″ TFT LCD touch screen display module ILI9341:

https://www.diymalls.com/3.2-inch-TFT-LCD-Display-Module-Touch-Screen-Panel-ILI9341

2, (lcd + shield) 3.2″ TFT LCD display module with TFT LCD Mega Shield:

https://www.diymalls.com/3.2-inch-TFT-LCD-Display-Module-with-TFT-LCD-Mega-Shield

3, Mega 2560 development board with USB cable:

https://www.diymalls.com/DIYmall-2560-R3-Development-Board-ATmega2560-16AU

 

**************************************************************************************

If you need discounts for mass quantity order, or need customize the lcd screen, please feel free to contact us by email:

Jane: sales@diymalls.com
Betty: Betty@unikelc.com

*************************************************************************************

USB GPS Module

The GPS module with USB interface works with windows, mac, linux, android, Raspberry Pi and some cars.

General links for reference:

Android driver link: https://tinyurl.com/ublox-android-driver
Ublox u-center software: https://www.u-blox.com/en/product/u-center
Mac, linux and raspberry pi , no need driver
How it works on MAC? Here is the reference link: https://tinyurl.com/gps-works-on-mac
Raspberry pi setup link: https://youtu.be/A1zmhxcUOxw
USB Sensor driver for WIN10: https://drive.google.com/drive/folders/1GYL2XF4uJD-znWuO5QrKbStqKWi-EI_Y?usp=sharing

Set up the u-center easily by following simple steps:

1, Download u-center from the official website: https://www.u-blox.com/en/product/u-center
Choose “For M9 products and below: Download u-center, v22.02”
You can download u-center user guide, too.

2, When you are installing u-center, you will found the driver will be installed at the same time.

3, After installed the u-center, insert the USB GPS module into the PC USB port.  You can identify the COM port of the GPS module in device manager.

4, Open ublox u-center. Click and choose COM port, please put the USB GPS module near the window or use it outdoor.

The USB GPS module also works with google earth.

1, Download google earth from website: https://www.google.com/earth/

2, Open google earth, then click Tools-GPS

3, In the new window, choose Realtime, click Automatically follow the path, then click start.

 

USB GPS Module purchase links:

1, VK-172 USB GPS Dongle ( chip G7020-KT )
https://www.diymalls.com/VK172-Gmouse-GPS-Module
https://www.amazon.com/Diymall-G-Mouse-Glonass-Raspberry-Aviation/dp/B00NWEEWW8

2, M8N GPS Module ( chip M8030 )
https://www.diymalls.com/DIYmall-M8N-USB-GPS-Module-Antenna-GLONASS
https://www.amazon.com/Geekstory-Antenna-Supports-GLONASS-Compatible/dp/B07ZR8R17Q

3, VK-162 USB GPS Module ( chip G7020-KT )
https://www.diymalls.com/DIYmall-VK-162-USB-GPS-module

4, VK-162 GPS Dongle ( chip G7020-KT )
https://www.diymalls.com/VK-162-USB-GPS-Dongle-G-Mouse
https://www.amazon.com/Navigation-External-Receiver-Raspberry-Geekstory/dp/B078Y52FGQ/

5, VK-162 G-Mouse USB GPS Module ( chip M8030 )
https://www.diymalls.com/VK-162-G-Mouse-USB-M8030-GPS-Module-Dongle
https://www.amazon.com/DIYmalls-G-Mouse-Receiver-Antenna-Raspberry/dp/B086ZK6R89

6, VK-162 USB GPS Module ( chip G7020-KT, with CP2102 )
https://www.diymalls.com/VK-162-USB-GPS-Dongle-G-Mouse-GMOUSE-CP2102-UART

 

**************************************************************************************

If you have any questions, or need customize any GPS modules, please feel free to contact us by email:

Jane:   sales@diymalls.com
Betty:  Betty@unikelc.com

*************************************************************************************

 

DIYmall One Channel Relay Module for Arduino

What you need:
1PCS Arduino UNO
1PCS  Relay Module
3PCS Female to Male Dupont Cable

Connection:
Relay Module             Arduino UNO
S                                          D8
+                                          5V
–                                           GND

 

Code:

 

void setup(){
pinMode(8, OUTPUT);

}
void loop(){
digitalWrite(8,LOW);
delay(2000);
digitalWrite(8,HIGH);
delay(2000);

}

Result:  
The red LED on relay will turn on and turn off automatically

Where to buy:
Amazon Link:
https://www.amazon.com/dp/B08R8TMT73

Website Link:

Alibaba Link:

Aliexpress Link:

eBay Link:

Any question please email sales@diymalls.com

DIYmall Laser Transmitter Receiver Module Buzzer with Arduino

What you need:
1PCS Arduino UNO
1PCS  Laser Transmitter Sensor
1PCS  Laser Receiver  Sensor
1PCS Buzzer
A Few PCS Female to Male Dupont Cable

Connection:
Laser Transmitter Sensor                Arduino UNO
S                                                                       D12
+                                                                       5V
–                                                                        GND

Laser Receiver  Sensor                Arduino UNO
S                                                                       D2
+                                                                       5V
–                                                                        GND

Buzzer                                                   Arduino UNO
–                                                                     GND
+                                                                      D8

Code:

int Active = 8;
int LaserSensor = 2;
int SensorReading = HIGH;
int Laser = 12;

void setup() {
pinMode(Active, OUTPUT);
pinMode(Laser, OUTPUT);
pinMode(LaserSensor, INPUT);

}
void loop() {
digitalWrite(Laser, HIGH);
delay(50);
SensorReading = digitalRead(LaserSensor);
if(SensorReading == (HIGH)

{
digitalWrite(Active, HIGH);
}
else
{
digitalWrite(Active, LOW);
}
}

Result:  
When there is an obstacle, the buzzer will turn on
When there is no obstacle, the buzzer will turn off

Where to buy:
Amazon Link:
https://www.amazon.com/dp/B07FQ6696X

https://www.amazon.com/dp/B07H95679S

Website Link:

Alibaba Link:

Aliexpress Link:

eBay Link:

 

Any question please email sales@diymalls.com

DIYmall Laser Transmitter Receiver Module with Arduino

What you need:
1PCS Arduino UNO
1PCS  Laser Transmitter Sensor
1PCS  Laser Receiver  Sensor
6P Female to Male Dupont Cable

Connection:
Laser Transmitter Sensor                Arduino UNO
S                                                                       D12
+                                                                       5V
–                                                                        GND

Laser Receiver  Sensor                Arduino UNO
S                                                                       D2
+                                                                       5V
–                                                                        GND

Code:
int LED = 13;
int LaserSensor = 2;
int SensorReading = HIGH;
int Laser = 12;

void setup() {
pinMode(LED, OUTPUT);
pinMode(Laser, OUTPUT);
pinMode(LaserSensor, INPUT);
}

void loop() {
digitalWrite(Laser, HIGH);
delay(200);

SensorReading = digitalRead(LaserSensor);
if(SensorReading == LOW)
{
digitalWrite(LED, HIGH);

}
else
{
digitalWrite(LED, LOW);
}

}

Result:  
When there is an obstacle, the LED will turn on
When there is no obstacle, the LED will turn off

Where to buy:
Amazon Link:
https://www.amazon.com/dp/B07FQ6696X

https://www.amazon.com/dp/B07H95679S

Website Link:

Alibaba Link:

Aliexpress Link:

eBay Link:

 

Any question please email sales@diymalls.com