Temperature and Humidity Displayed on 4 Digit 7 segment with Arduino Nano v3

Temperature and Humidity Displayed on 4 Digit 7 segment

In this Arduino Tutorial we will learn how the DHT11 Sensor works and how to use it with the Arduino Nano v3 Board. You can watch the following video or read the written tutorial below.
The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). Its fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old.
  • VCC - 5V
  • GND - GND
  • Data  - A0

Schema



download

Geekcreit® ATmega328P Nano V3 Controller Board Compatible Arduino Improved Version


16 In 1 Sensor Module Kit For Arduino Raspberry Pi 2 Pi2 Pi3

Code for 4 Digit 7 segment (common anode)

Download Temperature
Download Humidity
Download Temperature and Humidity

Code for 4 Digit 7 segment (common cathode)

Download Temperature
Download Humidity
Download Humidity and Temperature

Library

sensor gas Displayed on 7 segment

sensor gas Displayed on 7 segment

The MQ-4 gas sensor modules are used in gas leakage detecting equipments, they are suitable for the detection of CH4,Natural gas.LNG, avoid alcohol and cooking fumes and cigarette smoke with this sensor.
  • High sensitivity to CH4 and Natural gas
  • Slight sensitivity to alcohol, smoke
  • Fast response
  • Stable and long life
  • Simple drive circuit
  • VCC - 5V
  • GND - GND
  • A0  - Analog pin7
  • D0  - LED

download

Geekcreit® ATmega328P Nano V3 Controller Board Compatible Arduino Improved Version


Gas Sensor Module For Arduino

Code

int sensorValue;
int num;


      void setup()
      {
          pinMode(2, OUTPUT);
          pinMode(3, OUTPUT);
          pinMode(4, OUTPUT);
          pinMode(5, OUTPUT);
          pinMode(6, OUTPUT);
          pinMode(7, OUTPUT);
          pinMode(8, OUTPUT);
          Serial.begin(9600);     
       }


      void loop()
      {
        sensorValue = analogRead(7);      
       
              if (sensorValue < 300)     
              {
               
                  digitalWrite(2, LOW);
                  digitalWrite(3, LOW);
                  digitalWrite(4, LOW);
                  digitalWrite(5, LOW);
                  digitalWrite(6, LOW);
                  digitalWrite(7, LOW);
                  digitalWrite(8, LOW);
              digitalWrite(2, LOW);
              digitalWrite(3, HIGH);
              delay(200);
              digitalWrite(3, LOW);
              digitalWrite(4, HIGH);
              delay(200);
              digitalWrite(4, LOW);
              digitalWrite(5, HIGH);
              delay(200);
              digitalWrite(5, LOW);
              digitalWrite(6, HIGH);
              delay(200);
              digitalWrite(6, LOW);
              digitalWrite(7, HIGH);
              delay(200);
              digitalWrite(7, LOW);
              digitalWrite(2, HIGH);
              delay(200);
              }
              else
              {
                  if (sensorValue >= 750)              
                  {num = 9;}
                  else if (sensorValue >= 700)
                  {num = 8;}
                  else if (sensorValue >= 650)
                  {num = 7;}
                  else if (sensorValue >= 600)
                  {num = 6;}
                  else if (sensorValue >= 550)
                  {num = 5;}
                  else if (sensorValue >= 500)
                  {num = 4;}
                  else if (sensorValue >= 450)
                  {num = 3;}
                  else if (sensorValue >= 400)
                  {num = 2;}
                  else if (sensorValue >= 350)
                  {num = 1;}
                  else if (sensorValue >= 300)
                  {num = 0;}
              }
       
       
                  switch (num)
                  {
                  case 9:
                  digitalWrite(2, HIGH);
                  digitalWrite(3, HIGH);
                  digitalWrite(4, HIGH);
                  digitalWrite(5, HIGH);
                  digitalWrite(6, LOW);
                  digitalWrite(7, HIGH);
                  digitalWrite(8, HIGH);
                  break;
                  case 8:
                  digitalWrite(2, HIGH);
                  digitalWrite(3, HIGH);
                  digitalWrite(4, HIGH);
                  digitalWrite(5, HIGH);
                  digitalWrite(6, HIGH);
                  digitalWrite(7, HIGH);
                  digitalWrite(8, HIGH);
                  break;
                  case 7:
                  digitalWrite(2, HIGH);
                  digitalWrite(3, HIGH);
                  digitalWrite(4, HIGH);
                  digitalWrite(5, LOW);
                  digitalWrite(6, LOW);
                  digitalWrite(7, LOW);
                  digitalWrite(8, LOW);
                  break;
                  case 6:
                  digitalWrite(2, HIGH);
                  digitalWrite(3, LOW);
                  digitalWrite(4, HIGH);
                  digitalWrite(5, HIGH);
                  digitalWrite(6, HIGH);
                  digitalWrite(7, HIGH);
                  digitalWrite(8, HIGH);
                  break;
                  case 5:
                  digitalWrite(2, HIGH);
                  digitalWrite(3, LOW);
                  digitalWrite(4, HIGH);
                  digitalWrite(5, HIGH);
                  digitalWrite(6, LOW);
                  digitalWrite(7, HIGH);
                  digitalWrite(8, HIGH);
                  break;
                  case 4:
                  digitalWrite(2, LOW);
                  digitalWrite(3, HIGH);
                  digitalWrite(4, HIGH);
                  digitalWrite(5, LOW);
                  digitalWrite(6, LOW);
                  digitalWrite(7, HIGH);
                  digitalWrite(8, HIGH);
                  break;
                  case 3:
                  digitalWrite(2, HIGH);
                  digitalWrite(3, HIGH);
                  digitalWrite(4, HIGH);
                  digitalWrite(5, HIGH);
                  digitalWrite(6, LOW);
                  digitalWrite(7, LOW);
                  digitalWrite(8, HIGH);
                  break;
                  case 2:
                  digitalWrite(2, HIGH);
                  digitalWrite(3, HIGH);
                  digitalWrite(4, LOW);
                  digitalWrite(5, HIGH);
                  digitalWrite(6, HIGH);
                  digitalWrite(7, LOW);
                  digitalWrite(8, HIGH);
                  break;
                  case 1:
                  digitalWrite(2, LOW);
                  digitalWrite(3, HIGH);
                  digitalWrite(4, HIGH);
                  digitalWrite(5, LOW);
                  digitalWrite(6, LOW);
                  digitalWrite(7, LOW);
                  digitalWrite(8, LOW);
                  break;
                  case 0:
                  digitalWrite(2, HIGH);
                  digitalWrite(3, HIGH);
                  digitalWrite(4, HIGH);
                  digitalWrite(5, HIGH);
                  digitalWrite(6, HIGH);
                  digitalWrite(7, HIGH);
                  digitalWrite(8, LOW);
                  break;
                  }
       
       
      }

arduino uno gas sensor 4 Digit 7 segment project

sensor gas Displayed on 4 Digit 7 segment

The MQ-4 gas sensor modules are used in gas leakage detecting equipments, they are suitable for the detection of CH4,Natural gas.LNG, avoid alcohol and cooking fumes and cigarette smoke with this sensor.
  • High sensitivity to CH4 and Natural gas
  • Slight sensitivity to alcohol, smoke
  • Fast response
  • Stable and long life
  • Simple drive circuit
  • VCC - 5V
  • GND - GND
  • A0  - Analog pin7
  • D0  - LED

Schema

 

download

Geekcreit® UNO R3 ATmega328P Development Board For Arduino


Gas Sensor Module For Arduino

Code for 4 Digit 7 segment (common anode)

Code for 4 Digit 7 segment (common cathode)

Temperature Humidity 4 Digit 7 segment Arduino UNO

Temperature and Humidity Displayed on 4 Digit 7 segment

Arduino UNO + DHT11 

In this video Tutorial we will learn how the DHT11 Sensor works and how to use it with the Arduino UNO Board. You can watch the following video or read the written tutorial below.
The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). Its fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old.

Schema



download

Geekcreit® UNO R3 ATmega328P Development Board For Arduino


16 In 1 Sensor Module Kit For Arduino Raspberry Pi 2 Pi2 Pi3

Code for 4 Digit 7 segment (common anode)

Download Temperature
Download Humidity
Download Temperature and Humidity

Code for 4 Digit 7 segment (common cathode)

Download Temperature
Download Humidity
Download Humidity and Temperature

Library

sensor gas 4 Digit 7 segment Arduino Nano

sensor gas Displayed on 4 Digit 7 segment

The MQ-4 gas sensor modules are used in gas leakage detecting equipments, they are suitable for the detection of CH4,Natural gas.LNG, avoid alcohol and cooking fumes and cigarette smoke with this sensor.
  • High sensitivity to CH4 and Natural gas
  • Slight sensitivity to alcohol, smoke
  • Fast response
  • Stable and long life
  • Simple drive circuit
  • VCC - 5V
  • GND - GND
  • A0  - Analog pin7
  • D0  - LED

Schema

 

download

Geekcreit® ATmega328P Nano V3 Controller Board Compatible Arduino Improved Version


Gas Sensor Module For Arduino

Code for 4 Digit 7 segment (common anode)

Code for 4 Digit 7 segment (common cathode)

Temperature Displayed on 4 Digit 7 segment

DHT11 arduino Temperature Displayed on 4 Digit 7 segment

In this Arduino Tutorial we will learn how the DHT11 Sensor works and how to use it with the Arduino Nano v3 Board. You can watch the following video or read the written tutorial below.
The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). Its fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old.
  • VCC - 5V
  • GND - GND
  • Data  - A0

Schema



download

Geekcreit® ATmega328P Nano V3 Controller Board Compatible Arduino Improved Version


16 In 1 Sensor Module Kit For Arduino Raspberry Pi 2 Pi2 Pi3

Code for 4 Digit 7 segment (common anode)

Download Temperature
Download Humidity
Download Temperature and Humidity

Code for 4 Digit 7 segment (common cathode)

Download Temperature
Download Humidity
Download Humidity and Temperature

Library

ultrasonic sensor distance measuring

ultrasonic sensor arduino distance measuring Displayed on 4 Digit 7 segment

In this Arduino Tutorial we will learn how the HC-SR04 Ultrasonic Sensor works and how to use it with the Arduino Board. You can watch the following video or read the written tutorial below.
The HC-SR04 Ultrasonic Module has 4 pins, Ground, VCC, Trig and Echo. The Ground and the VCC pins of the module needs to be connected to the Ground and the 5 volts pins on the Arduino Board respectively and the trig and echo pins to any Digital I/O pin on the Arduino Board.
    • VCC - 5V
    • GND - GND
    • Echo  - A0
  • Trig  -  A1

Schema

download

 
Geekcreit® ATmega328P Nano V3 Controller Board Compatible Arduino Improved Version


Ultrasonic Module HC-SR04 Distance Measuring Ranging Transducer Sensor

Code for 4 Digit 7 segment (common anode)

Code for 4 Digit 7 segment (common cathode)

lcd 5110 ultrasonic sensor project

ultrasonic sensor arduino distance measuring Displayed on lcd Nokia 5110

In this Arduino Tutorial we will learn how the HC-SR04 Ultrasonic Sensor works and how to use it with the Arduino Board. You can watch the following video or read the written tutorial below.
The HC-SR04 Ultrasonic Module has 4 pins, Ground, VCC, Trig and Echo. The Ground and the VCC pins of the module needs to be connected to the Ground and the 5 volts pins on the Arduino Board respectively and the trig and echo pins to any Digital I/O pin on the Arduino Board.

 HC-SR04 Ultrasonic Sensor

  • VCC - 5V
  • GND - GND
  • Echo  - A0
  • Trig  -  A1

 Nokia 5110 LCD Module

  • 1. RST--------- reset.
  • 2. CE------------chip selection.
  • 3. DC-----------data/commands choice.
  • 4. DIN-----------serial data line.
  • 5. CLK------------serial Clock Speed.
  • 6. VCC----------Power, 3.3V (Positive).
  • 7. LIGHT--------- backlight control terminal.
  • 8. GND-----------power negative.

Schema

download

Geekcreit® ATmega328P Nano V3 Controller Board Compatible Arduino Improved Version


Ultrasonic Module HC-SR04 Distance Measuring Ranging Transducer Sensor

Code

Library

Clock with manual adjust & weather station on lcd 5110

Clock Temperature and Humidity with manual adjust Displayed on lcd 5110

In this Arduino Tutorial we will learn How to set time on DS1307 and how to use it with the Arduino Nano v3 Board and lcd 5110. You can watch the following video or read the written tutorial below.
manual adjust for RTC clock with Arduino and lcd 5110.
manual adjust for RTC clock with button.
real time clock setting using button

 Dht11 Module

  • VCC - 5V
  • GND - GND
  • Data  - A0

 Nokia 5110 LCD Module

  • 1. RST--------- reset.
  • 2. CE------------chip selection.
  • 3. DC-----------data/commands choice.
  • 4. DIN-----------serial data line.
  • 5. CLK------------serial Clock Speed.
  • 6. VCC----------Power, 3.3V (Positive).
  • 7. LIGHT--------- backlight control terminal.
  • 8. GND-----------power negative.

Schema

download

Geekcreit® ATmega328P Nano V3 Controller Board Compatible Arduino Improved Version


16 In 1 Sensor Module Kit For Arduino Raspberry Pi 2 Pi2 Pi3

Code

Library