Skip to main content

Posts

Showing posts from May, 2020

Project - 14 :- Traffic Light Using By Arduino

                                PROJECT – Traffic Light                        In this tutorial you will learn how to make Traffic Light with Arduino.                                                     STEP – 1 Components Components Required:- 1.     Arduino Uno 2.     Breadboard 3.     3  LED 4.     7 Segment 5.     3x 220Ohm resistors,1 1KOhm Wires .                                          STEP – 2: Circuit The connections are pretty easy, see the image above with the breadboard circuit schematic.                                            STEP – 3 : Code int displayPin[] = { 2, 3, 4, 5, 6, 7, 8 }; #define GREEN 11 #define YELLOW 12 #define RED 13 // define digits segments int digit[10][7] = { { 1, 1, 1, 1, 1, 1, 0 }, // 0 { 0, 1, 1, 0, 0, 0, 0 }, // 1 { 1, 1, 0, 1, 1, 0, 1 }, // 2 { 1, 1, 1, 1, 0, 0, 1 }, // 3 { 0, 1, 1, 0, 0, 1, 1 }, // 4 { 1, 0, 1, 1, 0, 1, 1 }, // 5 { 1, 0, 1, 1, 1, 1, 1 }, // 6 { 1, 1,

Project - 13 :- LED MATRIX By Using Arduino

                                PROJECT – LED MATRIX In this tutorial you will learn how to use LCD with Arduino and display some text on the LCD.                                                     STEP – 1 Components Components Required:- 1.      Arduino Uno 2.      Breadboard 3.      LED MATRIX 4.      Wires.                                          STEP – 2: Circuit The connections are pretty easy, see the image above with the breadboard circuit schematic.                                      STEP – 3: Add Library Before you can use the LED Matrix on the Arduino, you’ll need to install the  library. It’s easy to install, open up the Arduino IDE. Then go to Sketch>Include Library>Manage Libraries>search LEDCONTROL>install LEDCONTROL library.                                            STEP – 4 : Code #include "LedControl.h" #include "binary.h" /* DIN connects to pin 12 CLK connects to pin 11 CS

Project - 12 :- LCD Display By Using Arduino

                                      PROJECT – LCD  In this tutorial you will learn how to use LCD with Arduino and display some text on the LCD.                                                     STEP – 1 Components Components Required:- 1.      Arduino Uno 2.      Breadboard 3.      LCD 4.      Wires. 5.      Resistance.                                          STEP – 2: Circuit                                            STEP – 3 : Code #include<LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() {  lcd.begin(16, 2); } void loop() {   lcd.setCursor(5,0);            lcd.print("Welcome To");   lcd.print("Robotics Class");      }        /*   Copy above Code and Paste in Your Arduino Sketch */     Step 4: Well Done! You have successfully completed one more Arduino Project and you learned how to use a LCD Display with Arduino.                     THANKYOU! Next

Project - 11 :- 7 Segment Display By Using Arduino

                                PROJECT – 7 Segment Display In this tutorial you will learn how to use 7 Segment with Arduino and making a count from 0 to 9.                                                     STEP – 1 Components Components Required:- 1.     Arduino Uno 2.     Breadboard 3.     7 Segment 4.     Wires. 5.     Resistance. 6.     Slide Button.                                         STEP – 2: Circuit The connections are pretty easy, see the image above with the breadboard circuit    schematic.                                           STEP – 3 : Code int a = 7; int b = 6; int c = 4; int d = 3; int e = 2; int f = 8; int g = 9; int dp = 5; int Button = 10; int num = 0; void setup() {   pinMode(a, OUTPUT);   pinMode(b, OUTPUT);   pinMode(c, OUTPUT);   pinMode(d, OUTPUT);   pinMode(e, OUTPUT);   pinMode(f, OUTPUT);   pinMode(g, OUTPUT);   pinMode(dp, OUTPUT);   pinMode(Button,INPUT); } void loop