SlideShare a Scribd company logo
1 of 27
hundreds
One Cube


           O
           F
           POSSIBILITI
Making of


          VIDEO

FOR MORE VIDEOS: VISIT WWW.INSTRUCTABLES.COM
PARTS USED
        RESISTORS
(limit current flow in the circuit)

             LEDs
     (Light Emitting Diode)




            TRANSISTORS
             (serves as a switch)
0V                                   5V


                          220                                  220

                      +                                       +
                                LED                                  ( LED light up)
                                OFF
                      -                                       -
                 C                                        C
      22 K                                     22 K
             B             OFF                        B        Transistor
 0V                                     5V
                                                                   ON
                 E                                        E
                           transistor




When the transistor is OFF,                  When the transistor is ON,
LED turns OFF                                LED turns ON
LED 1         LED 2      LED 3      LED 4     LED 5     LED 6    LED 7     LED 8     LED 9

                       5V          5V         5V

                             220        220        220       220       220      220       220       220      220


                      +
                 ON           ON           ON
                       -
Level 1               C
          22 K
                 B                                    Common Cathode ( negative terminal)
 5V                          Transistor
                      E
                                 ON
Light stays
               off


      5V
            +              +   +




LOW

                     OFF
Light turns
                on

       5V
             +             +   +




HIGH

                      ON
   Apply 5V (logic high) at terminal LED1
   Apply 3.3V (logic high) at terminal Level 1 (LVL 1)
   Connect a jumper wire between two GND terminal




                                   5V




                                 3.3V
The Arduino board is a small micro-controller
board, which is a small circuit that contains a
whole computer on a small chip (Atmega 328),
the heart of the board.
Built in LED
connected to
pin13




                         Atmega 328
The Arduino board consists of the following I/O ports:
    14 digital IO pins (pins 0–13/ logic ‘High’- 5V, ‘Low’– 0V)
    6 analogue In pins (pins 0–5)
    6 analogue Out pins (pins 3, 5, 6, 9, 10, and 11)
   Arduino software is free, Open source
    programming plateform.

   Source code for Arduino is called a sketch.
   Directory: D:/ arduino-1.0/ double click arduino
            Upload



Verify
(compile)




                     Sketch Editor Window
Verify
         Upload to I/O board




                               Core
                               program


    Your sketch goes here
   Arduino expects two functions to exist
    —one called setup() and one called loop().

   setup() {
        pinMode (13, Output)      - assign pin 13 as Output
    }

   loop() contains the core of your program.
        digitalWrite (13, High)   - turn on the built in LED connected to pin13
        delay (1000)              - wait for a secoond
        digitalWrite (13, LOW)    - turn off the LED
        delay (1000)              - wait for a second.
Upload
Verify




         Done compiling                  Done uploading




                          To display error message
const int LED1 = 1; // connect LED 1 to pin 1
const int L1= 10;   // connect Level 1 to pin 10

void setup()
{ pinMode (LED1, OUTPUT); // declare LED1 as an OUTPUT
  pinMode (L1, OUTPUT);   // declare Level 1 as an OUTPUT
}

void loop()
{
  digitalWrite (L1, HIGH);    // turn on Level 1 transistor
  digitalWrite (LED1, HIGH); // turn on LED1
  delay (200);                // delay for 200ms
  digitalWrite (LED1, LOW);   // turn off LED1
  delay(100);                // delay for 100ms
}
const int LED1 = 1;    // connect LED 1 to pin 1
const int LED2 = 2;    // connect LED 2 to pin 2
const int LED3 = 3;   // connect LED 1 to pin 3
const int L1= 10;     // connect Level 1 to pin 10

void setup()
{ pinMode (LED1, OUTPUT);       // declare LED1 as an OUTPUT
  pinMode (LED2, OUTPUT);       // declare LED2 as an OUTPUT
  pinMode (LED3, OUTPUT);       // declare LED3 as an OUTPUT
  pinMode (L1, OUTPUT);        // declare Level 1 as an OUTPUT
}

void loop()
{
  digitalWrite (L1, HIGH);    // turn on Level 1 transistor
  digitalWrite (LED1, HIGH); // turn on LED1
  delay (200);                // delay for 200ms
  digitalWrite (LED1, LOW); // turn off LED1
  delay(100);                // delay for 100ms
  -----------
   ----------
                          To be continued
}
   The for statement lets us do things over and over again, for a
    specified number of repetitions.

   The integer i is used to set the number of times that the loop will
    execute, running all the code inside the code block.




   In the for loop, as long as i is less than 10, it will continue looping,
    and each time the for loop is passed, i is incremented by 1.
Example:
int i ; // declare i as an integer
for(i = 0; i<5; i++) {          Execute Print
print(i);                       function when i
                                is 0 to 4
}

Or
for (int i=0; i<5; i++) {
Print(i);
}
void loop()
{                                       Specify 3 loops that
  for (int i = 0; i < 3; i ++)          core program will
  {                                     execute
        digitalWrite ( L1, HIGH );
        digitalWrite ( LED1, HIGH );
        delay (200);
        digitalWrite ( LED1, LOW) ;    Core program:
        delay (100);
        digitalWrite (LED2, HIGH );    LED 1, 2, 3 will turn
        delay (200);                   ON & OFF in
        digitalWrite ( LED2, LOW );    sequence
        delay (100);
        digitalWrite ( LED3, HIGH );
        delay (200);
        digitalWrite ( LED3, LOW );
        delay (100);
   }
                                        Turn off all LEDs for
  digitalWrite ( L1, LOW);
                                        1 sec
  delay (1000 ) ;
}
   An array contains one or more variables in a list.
   The array shown below is an array that holds three integer
    values: 1,2,3
Number of
                                variables

                int LevelPin [3] = { 10, 11, 12 };
Type of array
                    Name of                 List of variables
content
                    the array




                  i.e      LevelPin [0] = 10
                           LevelPin [1] = 11
                           LevelPin [2] = 12
Another great use of the for loop is to go through an array
and look at each item in the array:

for ( int level=0; level <3; level++)
     { pinMode (LevelPin[level], OUTPUT ); }

Each time the loop executes, level will be incremented using
the next integer in the Array[ ]
            pinMode (LevelPin[0], OUTPUT );

            pinMode (LevelPin[1], OUTPUT );

            pinMode (LevelPin[2], OUTPUT );
for (level=0; level< 3; level++)
 {
 digitalWrite ( LevelPin[level], HIGH );
 digitalWrite ( LED1, HIGH );
 digitalWrite ( LED2, HIGH );
                  :
                  :

 digitalWrite ( LED9, HIGH );
 delay (100);

 digitalWrite ( LED1, LOW );
 digitalWrite ( LED2, LOW );
                  :
                  :
 digitalWrite ( LED9, LOW );
 digitalWrite ( LevelPin[level], LOW );
 delay(50);
 }
LED Cube Presentation Slides

More Related Content

What's hot

arduino-ppt
 arduino-ppt arduino-ppt
arduino-pptjhcid
 
Ceis114 final joshua_brown
Ceis114 final joshua_brownCeis114 final joshua_brown
Ceis114 final joshua_brownJoshuaBrown233
 
Certificate of arts grade examination of china
Certificate of arts grade examination of chinaCertificate of arts grade examination of china
Certificate of arts grade examination of chinaTeresaYunwenCheng
 
Optimizing I/O’s and ESD protection to reduce power consumption in SOI applic...
Optimizing I/O’s and ESD protection to reduce power consumption in SOI applic...Optimizing I/O’s and ESD protection to reduce power consumption in SOI applic...
Optimizing I/O’s and ESD protection to reduce power consumption in SOI applic...Sofics
 
RFID based contactless body temperature screening during COVID-19
RFID based contactless body temperature screening during COVID-19 RFID based contactless body temperature screening during COVID-19
RFID based contactless body temperature screening during COVID-19 DEEPAK LODHA
 
Full wave rectifier with capacitor filter.pdf
Full wave rectifier with capacitor filter.pdfFull wave rectifier with capacitor filter.pdf
Full wave rectifier with capacitor filter.pdfShub
 
gas insulated transformer
gas insulated transformergas insulated transformer
gas insulated transformercsinha2020
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to ArduinoYong Heui Cho
 
EE201 - Chapter 3 (BJT)
EE201 - Chapter 3 (BJT)EE201 - Chapter 3 (BJT)
EE201 - Chapter 3 (BJT)ruhiyah
 
light emmitting diode
light emmitting diodelight emmitting diode
light emmitting diodesalman01
 
Embedded systems class notes
Embedded systems  class notes Embedded systems  class notes
Embedded systems class notes Dr.YNM
 
Heart rate monitoring system using arduino
Heart rate monitoring system using  arduinoHeart rate monitoring system using  arduino
Heart rate monitoring system using arduinosoundaryasheshachala
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusainstudent
 
Fundamental device physics of microLED(LinkedIn).pdf
Fundamental device physics of microLED(LinkedIn).pdfFundamental device physics of microLED(LinkedIn).pdf
Fundamental device physics of microLED(LinkedIn).pdfBrian Kim, PhD
 
CEIS101: IoT Home Security System
CEIS101: IoT Home Security SystemCEIS101: IoT Home Security System
CEIS101: IoT Home Security SystemBillBlanco
 

What's hot (20)

arduino-ppt
 arduino-ppt arduino-ppt
arduino-ppt
 
Ceis114 final joshua_brown
Ceis114 final joshua_brownCeis114 final joshua_brown
Ceis114 final joshua_brown
 
Certificate of arts grade examination of china
Certificate of arts grade examination of chinaCertificate of arts grade examination of china
Certificate of arts grade examination of china
 
Optimizing I/O’s and ESD protection to reduce power consumption in SOI applic...
Optimizing I/O’s and ESD protection to reduce power consumption in SOI applic...Optimizing I/O’s and ESD protection to reduce power consumption in SOI applic...
Optimizing I/O’s and ESD protection to reduce power consumption in SOI applic...
 
RFID based contactless body temperature screening during COVID-19
RFID based contactless body temperature screening during COVID-19 RFID based contactless body temperature screening during COVID-19
RFID based contactless body temperature screening during COVID-19
 
Arduino
ArduinoArduino
Arduino
 
Digital voltmeter project
Digital voltmeter projectDigital voltmeter project
Digital voltmeter project
 
Full wave rectifier with capacitor filter.pdf
Full wave rectifier with capacitor filter.pdfFull wave rectifier with capacitor filter.pdf
Full wave rectifier with capacitor filter.pdf
 
Ardui no
Ardui no Ardui no
Ardui no
 
gas insulated transformer
gas insulated transformergas insulated transformer
gas insulated transformer
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
EE201 - Chapter 3 (BJT)
EE201 - Chapter 3 (BJT)EE201 - Chapter 3 (BJT)
EE201 - Chapter 3 (BJT)
 
light emmitting diode
light emmitting diodelight emmitting diode
light emmitting diode
 
Embedded systems class notes
Embedded systems  class notes Embedded systems  class notes
Embedded systems class notes
 
LED's Presentation
LED's PresentationLED's Presentation
LED's Presentation
 
Arduino Project
Arduino ProjectArduino Project
Arduino Project
 
Heart rate monitoring system using arduino
Heart rate monitoring system using  arduinoHeart rate monitoring system using  arduino
Heart rate monitoring system using arduino
 
Arduino presentation by_warishusain
Arduino presentation by_warishusainArduino presentation by_warishusain
Arduino presentation by_warishusain
 
Fundamental device physics of microLED(LinkedIn).pdf
Fundamental device physics of microLED(LinkedIn).pdfFundamental device physics of microLED(LinkedIn).pdf
Fundamental device physics of microLED(LinkedIn).pdf
 
CEIS101: IoT Home Security System
CEIS101: IoT Home Security SystemCEIS101: IoT Home Security System
CEIS101: IoT Home Security System
 

Viewers also liked

8TH FINAL REPORT PRINT
8TH FINAL REPORT PRINT8TH FINAL REPORT PRINT
8TH FINAL REPORT PRINTAnand Shah
 
3d cube building cube by cube powerpoint presentation templates
3d cube building cube by cube powerpoint presentation templates3d cube building cube by cube powerpoint presentation templates
3d cube building cube by cube powerpoint presentation templatesSlideTeam.net
 
LED UV Cube presentation
LED UV Cube presentationLED UV Cube presentation
LED UV Cube presentationiwanmanew
 
Translational R&D and Innovation Fund (TIF) - MoE
Translational R&D and Innovation Fund (TIF) - MoETranslational R&D and Innovation Fund (TIF) - MoE
Translational R&D and Innovation Fund (TIF) - MoEjoserojasnus
 
How to solve 3x3x3 cube
How to solve 3x3x3 cubeHow to solve 3x3x3 cube
How to solve 3x3x3 cubegkh8004
 
8x8x8 rgb led cube
8x8x8 rgb led cube8x8x8 rgb led cube
8x8x8 rgb led cubesmching
 
Đồ án thi công mạch LED Cube 5x5x5
Đồ án thi công mạch LED Cube 5x5x5Đồ án thi công mạch LED Cube 5x5x5
Đồ án thi công mạch LED Cube 5x5x5Mr Giap
 
Avs nanotechnology and genetic engineering for plant pathology seminar 2015 a...
Avs nanotechnology and genetic engineering for plant pathology seminar 2015 a...Avs nanotechnology and genetic engineering for plant pathology seminar 2015 a...
Avs nanotechnology and genetic engineering for plant pathology seminar 2015 a...AMOL SHITOLE
 
93639430 additional-mathematics-project-work-2013
93639430 additional-mathematics-project-work-201393639430 additional-mathematics-project-work-2013
93639430 additional-mathematics-project-work-2013Rashmi R Rashmi R
 
Nano technology in ervironmental engineering
Nano technology in ervironmental engineeringNano technology in ervironmental engineering
Nano technology in ervironmental engineeringVishnu Raj
 
Nanotechnology in water pollution treatment
Nanotechnology in water pollution treatmentNanotechnology in water pollution treatment
Nanotechnology in water pollution treatmentUniversity of Technology
 
Presentation on project report
Presentation on project reportPresentation on project report
Presentation on project reportramesh_x
 
State of the Word 2011
State of the Word 2011State of the Word 2011
State of the Word 2011photomatt
 

Viewers also liked (19)

Led cube presentation
Led cube presentationLed cube presentation
Led cube presentation
 
Led cube
Led cube Led cube
Led cube
 
8TH FINAL REPORT PRINT
8TH FINAL REPORT PRINT8TH FINAL REPORT PRINT
8TH FINAL REPORT PRINT
 
3d cube building cube by cube powerpoint presentation templates
3d cube building cube by cube powerpoint presentation templates3d cube building cube by cube powerpoint presentation templates
3d cube building cube by cube powerpoint presentation templates
 
LED UV Cube presentation
LED UV Cube presentationLED UV Cube presentation
LED UV Cube presentation
 
Translational R&D and Innovation Fund (TIF) - MoE
Translational R&D and Innovation Fund (TIF) - MoETranslational R&D and Innovation Fund (TIF) - MoE
Translational R&D and Innovation Fund (TIF) - MoE
 
self driven ca
self driven caself driven ca
self driven ca
 
How to solve 3x3x3 cube
How to solve 3x3x3 cubeHow to solve 3x3x3 cube
How to solve 3x3x3 cube
 
8x8x8 rgb led cube
8x8x8 rgb led cube8x8x8 rgb led cube
8x8x8 rgb led cube
 
The Final 10%
The Final 10%The Final 10%
The Final 10%
 
Đồ án thi công mạch LED Cube 5x5x5
Đồ án thi công mạch LED Cube 5x5x5Đồ án thi công mạch LED Cube 5x5x5
Đồ án thi công mạch LED Cube 5x5x5
 
Avs nanotechnology and genetic engineering for plant pathology seminar 2015 a...
Avs nanotechnology and genetic engineering for plant pathology seminar 2015 a...Avs nanotechnology and genetic engineering for plant pathology seminar 2015 a...
Avs nanotechnology and genetic engineering for plant pathology seminar 2015 a...
 
Nanotechnology
NanotechnologyNanotechnology
Nanotechnology
 
Shreya ppt
Shreya pptShreya ppt
Shreya ppt
 
93639430 additional-mathematics-project-work-2013
93639430 additional-mathematics-project-work-201393639430 additional-mathematics-project-work-2013
93639430 additional-mathematics-project-work-2013
 
Nano technology in ervironmental engineering
Nano technology in ervironmental engineeringNano technology in ervironmental engineering
Nano technology in ervironmental engineering
 
Nanotechnology in water pollution treatment
Nanotechnology in water pollution treatmentNanotechnology in water pollution treatment
Nanotechnology in water pollution treatment
 
Presentation on project report
Presentation on project reportPresentation on project report
Presentation on project report
 
State of the Word 2011
State of the Word 2011State of the Word 2011
State of the Word 2011
 

Similar to LED Cube Presentation Slides

How to hack electronics
How to hack electronics How to hack electronics
How to hack electronics Planning-ness
 
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.pptShivamChaturvedi67
 
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT (1).ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT (1).ppt_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT (1).ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT (1).pptMdSazibMollik
 
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.pptEngrMaheshMaheshwari1
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptxHebaEng
 
Mom presentation_monday_arduino in the physics lab
Mom presentation_monday_arduino in the physics labMom presentation_monday_arduino in the physics lab
Mom presentation_monday_arduino in the physics labAnnamaria Lisotti
 
Integrated circuit
Integrated circuitIntegrated circuit
Integrated circuitcooljunk
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshopatuline
 
Physical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digitalPhysical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digitalTony Olsson.
 
Physical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digitalPhysical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digitalTony Olsson.
 
Electronz_Chapter_2.pptx
Electronz_Chapter_2.pptxElectronz_Chapter_2.pptx
Electronz_Chapter_2.pptxMokete5
 
Digital clock workshop
Digital clock workshopDigital clock workshop
Digital clock workshopKedarv
 

Similar to LED Cube Presentation Slides (20)

How to hack electronics
How to hack electronics How to hack electronics
How to hack electronics
 
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt
 
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT (1).ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT (1).ppt_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT (1).ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT (1).ppt
 
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt
_8_EE462L_Fall2011_DC_DC_BuckBoost_PPT.ppt
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptx
 
Sepic converter
Sepic  converterSepic  converter
Sepic converter
 
Programming arduino makeymakey
Programming arduino makeymakeyProgramming arduino makeymakey
Programming arduino makeymakey
 
Mom presentation_monday_arduino in the physics lab
Mom presentation_monday_arduino in the physics labMom presentation_monday_arduino in the physics lab
Mom presentation_monday_arduino in the physics lab
 
Dio
DioDio
Dio
 
Arduino based applications part 1
Arduino based applications part 1Arduino based applications part 1
Arduino based applications part 1
 
Integrated circuit
Integrated circuitIntegrated circuit
Integrated circuit
 
Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
 
Arduino Basics
Arduino BasicsArduino Basics
Arduino Basics
 
Intro_to_Arduino_-_v30.pptx
Intro_to_Arduino_-_v30.pptxIntro_to_Arduino_-_v30.pptx
Intro_to_Arduino_-_v30.pptx
 
Day1
Day1Day1
Day1
 
Physical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digitalPhysical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digital
 
Physical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digitalPhysical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digital
 
Electronz_Chapter_2.pptx
Electronz_Chapter_2.pptxElectronz_Chapter_2.pptx
Electronz_Chapter_2.pptx
 
Digital clock workshop
Digital clock workshopDigital clock workshop
Digital clock workshop
 
Prese000
Prese000Prese000
Prese000
 

Recently uploaded

0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...amitlee9823
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Lviv Startup Club
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Dipal Arora
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...amitlee9823
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfAdmir Softic
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Roland Driesen
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityEric T. Tung
 

Recently uploaded (20)

0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
Call Girls Jp Nagar Just Call 👗 7737669865 👗 Top Class Call Girl Service Bang...
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
Call Girls Navi Mumbai Just Call 9907093804 Top Class Call Girl Service Avail...
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
How to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League CityHow to Get Started in Social Media for Art League City
How to Get Started in Social Media for Art League City
 

LED Cube Presentation Slides

  • 1.
  • 2. hundreds One Cube O F POSSIBILITI
  • 3. Making of VIDEO FOR MORE VIDEOS: VISIT WWW.INSTRUCTABLES.COM
  • 4. PARTS USED RESISTORS (limit current flow in the circuit) LEDs (Light Emitting Diode) TRANSISTORS (serves as a switch)
  • 5. 0V 5V 220 220 + + LED ( LED light up) OFF - - C C 22 K 22 K B OFF B Transistor 0V 5V ON E E transistor When the transistor is OFF, When the transistor is ON, LED turns OFF LED turns ON
  • 6. LED 1 LED 2 LED 3 LED 4 LED 5 LED 6 LED 7 LED 8 LED 9 5V 5V 5V 220 220 220 220 220 220 220 220 220 + ON ON ON - Level 1 C 22 K B Common Cathode ( negative terminal) 5V Transistor E ON
  • 7. Light stays off 5V + + + LOW OFF
  • 8. Light turns on 5V + + + HIGH ON
  • 9. Apply 5V (logic high) at terminal LED1  Apply 3.3V (logic high) at terminal Level 1 (LVL 1)  Connect a jumper wire between two GND terminal 5V 3.3V
  • 10. The Arduino board is a small micro-controller board, which is a small circuit that contains a whole computer on a small chip (Atmega 328), the heart of the board. Built in LED connected to pin13 Atmega 328
  • 11. The Arduino board consists of the following I/O ports:  14 digital IO pins (pins 0–13/ logic ‘High’- 5V, ‘Low’– 0V)  6 analogue In pins (pins 0–5)  6 analogue Out pins (pins 3, 5, 6, 9, 10, and 11)
  • 12. Arduino software is free, Open source programming plateform.  Source code for Arduino is called a sketch.
  • 13. Directory: D:/ arduino-1.0/ double click arduino Upload Verify (compile) Sketch Editor Window
  • 14.
  • 15. Verify Upload to I/O board Core program Your sketch goes here
  • 16. Arduino expects two functions to exist —one called setup() and one called loop().  setup() { pinMode (13, Output) - assign pin 13 as Output }  loop() contains the core of your program. digitalWrite (13, High) - turn on the built in LED connected to pin13 delay (1000) - wait for a secoond digitalWrite (13, LOW) - turn off the LED delay (1000) - wait for a second.
  • 17. Upload Verify Done compiling Done uploading To display error message
  • 18. const int LED1 = 1; // connect LED 1 to pin 1 const int L1= 10; // connect Level 1 to pin 10 void setup() { pinMode (LED1, OUTPUT); // declare LED1 as an OUTPUT pinMode (L1, OUTPUT); // declare Level 1 as an OUTPUT } void loop() { digitalWrite (L1, HIGH); // turn on Level 1 transistor digitalWrite (LED1, HIGH); // turn on LED1 delay (200); // delay for 200ms digitalWrite (LED1, LOW); // turn off LED1 delay(100); // delay for 100ms }
  • 19. const int LED1 = 1; // connect LED 1 to pin 1 const int LED2 = 2; // connect LED 2 to pin 2 const int LED3 = 3; // connect LED 1 to pin 3 const int L1= 10; // connect Level 1 to pin 10 void setup() { pinMode (LED1, OUTPUT); // declare LED1 as an OUTPUT pinMode (LED2, OUTPUT); // declare LED2 as an OUTPUT pinMode (LED3, OUTPUT); // declare LED3 as an OUTPUT pinMode (L1, OUTPUT); // declare Level 1 as an OUTPUT } void loop() { digitalWrite (L1, HIGH); // turn on Level 1 transistor digitalWrite (LED1, HIGH); // turn on LED1 delay (200); // delay for 200ms digitalWrite (LED1, LOW); // turn off LED1 delay(100); // delay for 100ms ----------- ---------- To be continued }
  • 20. The for statement lets us do things over and over again, for a specified number of repetitions.  The integer i is used to set the number of times that the loop will execute, running all the code inside the code block.  In the for loop, as long as i is less than 10, it will continue looping, and each time the for loop is passed, i is incremented by 1.
  • 21. Example: int i ; // declare i as an integer for(i = 0; i<5; i++) { Execute Print print(i); function when i is 0 to 4 } Or for (int i=0; i<5; i++) { Print(i); }
  • 22. void loop() { Specify 3 loops that for (int i = 0; i < 3; i ++) core program will { execute digitalWrite ( L1, HIGH ); digitalWrite ( LED1, HIGH ); delay (200); digitalWrite ( LED1, LOW) ; Core program: delay (100); digitalWrite (LED2, HIGH ); LED 1, 2, 3 will turn delay (200); ON & OFF in digitalWrite ( LED2, LOW ); sequence delay (100); digitalWrite ( LED3, HIGH ); delay (200); digitalWrite ( LED3, LOW ); delay (100); } Turn off all LEDs for digitalWrite ( L1, LOW); 1 sec delay (1000 ) ; }
  • 23. An array contains one or more variables in a list.  The array shown below is an array that holds three integer values: 1,2,3
  • 24. Number of variables int LevelPin [3] = { 10, 11, 12 }; Type of array Name of List of variables content the array i.e LevelPin [0] = 10 LevelPin [1] = 11 LevelPin [2] = 12
  • 25. Another great use of the for loop is to go through an array and look at each item in the array: for ( int level=0; level <3; level++) { pinMode (LevelPin[level], OUTPUT ); } Each time the loop executes, level will be incremented using the next integer in the Array[ ] pinMode (LevelPin[0], OUTPUT ); pinMode (LevelPin[1], OUTPUT ); pinMode (LevelPin[2], OUTPUT );
  • 26. for (level=0; level< 3; level++) { digitalWrite ( LevelPin[level], HIGH ); digitalWrite ( LED1, HIGH ); digitalWrite ( LED2, HIGH ); : : digitalWrite ( LED9, HIGH ); delay (100); digitalWrite ( LED1, LOW ); digitalWrite ( LED2, LOW ); : : digitalWrite ( LED9, LOW ); digitalWrite ( LevelPin[level], LOW ); delay(50); }

Editor's Notes

  1. Next, how do we turn on LED 2 ? And how to turn on LED at level 2 ?
  2. It contains everything needed to support the microcontroller ; simply connect it to a computer via USB cable or external supply ( 7– 12V). Digital input pins sense the presence and absence of voltage on a pin( High – 5V, LOW - 0V). Analog input pins measure a range of voltages on a pin.
  3. Change delay time from 1000 ms to 100 ms, observe the difference.
  4. Next, learn to turn on LED1, 2, 3 in sequence.