DIY Arduino Starter Kit Shield

430

7

About: Hello , my name is John Vasilakis and this is my Arduino profile ! Visit my site www.ardumotive.com

In this guide I will show you how to make your own Arduino learning shield. This learning shield can be useful at schools, universities and to everyone that want to start dealing with the Arduino. With this shield you will learn how to read the temperature and humidity from DHT-22 sensor, read an object distance by using the HC-SR04 ultrasonic sensor, print sensor values to the NOKIA 5110 LCD. On this PCB board you will also find three LEDs, two buttons, buzzer, trimmer and photocell sensor!

License:Attribution-NonCommercial-ShareAlike (Read More)

Project updates and more Arduino projects can be found here:

http://www.ardumotive.com/ardumotive-learning-shie...

Watch the video below:


Step 1: What You Will Need - Hardware

Step 2: Connections - Pinout Reference

LED, DHT-22, Photocell and Trimmer

  • Arduino UNO pin 9 --> LED1
  • Arduino UNO pin 10 --> LED2
  • Arduino UNO pin 11 --> LED3
  • Arduino UNO pin 13 --> Buzzer
  • Arduino UNO pin 8 --> Push Button1
  • Arduino UNO pin 12 --> Push Button2
  • Arduino UNO pin 2--> DHT-22 Sensor
  • Arduino UNO pin A0 --> Photocell
  • Arduino UNO pin A1 --> Trimmer ( Potentiometer )

Ultrasonic Sensor HC-SR04

  • Arduino UNO pin A3 --> Triger
  • Arduino UNO pin A2 --> Echo

Nokia 5110 LCD (Blue PCB)

  • Arduino UNO pin 3 --> CLK
  • Arduino UNO pin 4 --> Din
  • Arduino UNO pin 5 --> DC
  • Arduino UNO pin 6 --> CE
  • Arduino UNO pin 7 --> RST

Step 3: Example 1: Temperature, Humidity and Brightness

Read and print to the LCD the room temperature, humidity and brightness percentage.

http://www.ardumotive.com/ardumotive-learning-shie...

We will use:

  • DHT-22
  • Photocell
  • Nokia 5110 LCD

Connections - pinout reference

DHT-22 sensor and photocell

  • Arduino UNO pin 2--> DHT-22
  • Sensor Arduino UNO pin A0 --> Photocell

Nokia 5110 LCD (Blue PCB)

  • Arduino UNO pin 3 --> CLK
  • Arduino UNO pin 4 --> Din
  • Arduino UNO pin 5 --> DC
  • Arduino UNO pin 6 --> CE
  • Arduino UNO pin 7 --> RST

The Code

We will use the DHT.temperature and DHT.humidity for reading temperature and humidity from DHT-22 sensor, analogRead for brightness level and display.print to print the values to the display.

Download the code from here and open it with Arduino IDE. Inside you will also find the library files.

Step 4: Example 2: Simulate Park Assist

Simulate the car park assist system. Detect an item, blink the LEDs and make a buzzer tone. Use the LCD to print the distance from the incoming object.

http://www.ardumotive.com/ardumotive-learning-shie...

We will use:

  • Ultrasonic Sensor HC-SR04
  • 3x 5mm LED
  • Buzzer
  • Nokia 5110 LCD

Connections - pinout reference

LEDs and Buzzer

  • Arduino UNO pin 9 --> LED1
  • Arduino UNO pin 10 --> LED2
  • Arduino UNO pin 11 --> LED3
  • Arduino UNO pin 13 --> Buzzer

Ultrasonic Sensor HC-SR04

  • Arduino UNO pin A3 --> Triger
  • Arduino UNO pin A2 --> Echo

Nokia 5110 LCD (Blue PCB)

  • Arduino UNO pin 3 --> CLK
  • Arduino UNO pin 4 --> Din
  • Arduino UNO pin 5 --> DC
  • Arduino UNO pin 6 --> CE
  • Arduino UNO pin 7 --> RST

The Code

We will use the ultrasonic.Ranging(CM) to read the distance from the HC-SR04 sensor, digitalWrite to turn the LED's ON and diplay.print to print the distance.

Download the code from here and open it with Arduino IDE. Inside you will also find the library files.

Step 5: Example 3: Blink LEDs

Turn on the LEDs separately and control the changing time with two buttons.Print the interval time to LCD.

http://www.ardumotive.com/ardumotive-learning-shie...

We will use:

  • 3x 5mm LED
  • 2x buttons
  • Nokia 5110 LCD

Connections - pinout reference

LEDs and Buttons

  • Arduino UNO pin 9 --> LED1
  • Arduino UNO pin 10 --> LED2
  • Arduino UNO pin 11 --> LED3
  • Arduino UNO pin 8 --> Push Button1
  • Arduino UNO pin 12 --> Push Button2

Nokia 5110 LCD (Blue PCB)

  • Arduino UNO pin 3 --> CLK
  • Arduino UNO pin 4 --> Din
  • Arduino UNO pin 5 --> DC
  • Arduino UNO pin 6 --> CE
  • Arduino UNO pin 7 --> RST

The Code

We will use the currentMillis = millis to blink the LED's without delay function.

Download the code from here and open it with Arduino IDE. Inside you will also find the library files.

Step 6: Example 4: Fade LEDs

Fade the LEDs with the trimmer. Use the LCD to print the selected PWM value.

http://www.ardumotive.com/ardumotive-learning-shie...

We will use:

  • 3x 5mm LED
  • Trimmer
  • Nokia 5110 LCD

Connections - pinout reference

LEDs and Trimmer

  • Arduino UNO pin 9 --> LED1
  • Arduino UNO pin 10 --> LED2
  • Arduino UNO pin 11 --> LED3
  • Arduino UNO pin A1 --> Trimmer ( Potentiometer )

Nokia 5110 LCD (Blue PCB)

  • Arduino UNO pin 3 --> CLK
  • Arduino UNO pin 4 --> Din
  • Arduino UNO pin 5 --> DC
  • Arduino UNO pin 6 --> CE
  • Arduino UNO pin 7 --> RST

The Code

We will use the analogRead to read the value from Trimmer - potentiometer, map function to re-map analog avalues 0-1023 to PWM values 0-255, analogWrite will send the PWM value to LED's.

Download the code from here and open it with Arduino IDE. Inside you will also find the library files.

Step 7: That's It

I hope you liked this, let me know in the comments below!!!

Sensors Contest

This is an entry in the
Sensors Contest

Share

    Recommendations

    • Frozen Treats Challenge

      Frozen Treats Challenge
    • Sensors Contest

      Sensors Contest
    • Beauty Tips Contest

      Beauty Tips Contest

    Discussions