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

CMOS Topic 7 -_design_methodology
CMOS Topic 7 -_design_methodologyCMOS Topic 7 -_design_methodology
CMOS Topic 7 -_design_methodologyIkhwan_Fakrudin
 
IR Based Home Automation
IR Based Home AutomationIR Based Home Automation
IR Based Home AutomationSujit Nayak
 
Fire Alarm System Project
Fire Alarm System ProjectFire Alarm System Project
Fire Alarm System ProjectRinkuNahar
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobilesDurairaja
 
Smart Streetlight, Smart Pole for Smart city
Smart Streetlight, Smart Pole for Smart citySmart Streetlight, Smart Pole for Smart city
Smart Streetlight, Smart Pole for Smart cityYoungTae (Henry) Huh
 
Electronic Design Automation
Electronic Design AutomationElectronic Design Automation
Electronic Design AutomationCADD Centre
 
MicroLED : Latest Display Technology | PPT
MicroLED : Latest Display Technology | PPTMicroLED : Latest Display Technology | PPT
MicroLED : Latest Display Technology | PPTSeminar Links
 
FIRE ALARM SYSTEM PPT.pptx
FIRE ALARM SYSTEM PPT.pptxFIRE ALARM SYSTEM PPT.pptx
FIRE ALARM SYSTEM PPT.pptxRaJYadav196733
 
OLED technology Seminar Ppt
OLED technology Seminar PptOLED technology Seminar Ppt
OLED technology Seminar PptAshly Liza
 
LED CUBE PROJECT.pptx
LED CUBE PROJECT.pptxLED CUBE PROJECT.pptx
LED CUBE PROJECT.pptxromairshad1
 
Gsm Based Automated Irrigation irrigation system
Gsm Based Automated Irrigation irrigation systemGsm Based Automated Irrigation irrigation system
Gsm Based Automated Irrigation irrigation systemSantanu Mukhopadhyay
 
Fire detection system using arduino
Fire detection system using arduino Fire detection system using arduino
Fire detection system using arduino UT-028
 
Organic light emitting diodes
Organic light emitting diodesOrganic light emitting diodes
Organic light emitting diodesManoj BN
 
project report on fire alarm
project report on fire alarmproject report on fire alarm
project report on fire alarmRattan Pal
 
Wireless Electronic Notice Board using GSM Technology
Wireless Electronic Notice Board using GSM TechnologyWireless Electronic Notice Board using GSM Technology
Wireless Electronic Notice Board using GSM TechnologySaban Kumar K.C.
 

What's hot (20)

CMOS Topic 7 -_design_methodology
CMOS Topic 7 -_design_methodologyCMOS Topic 7 -_design_methodology
CMOS Topic 7 -_design_methodology
 
IR Based Home Automation
IR Based Home AutomationIR Based Home Automation
IR Based Home Automation
 
Led monitors
Led monitorsLed monitors
Led monitors
 
Fire Alarm System Project
Fire Alarm System ProjectFire Alarm System Project
Fire Alarm System Project
 
White led
White ledWhite led
White led
 
Home automation using android mobiles
Home automation using android mobilesHome automation using android mobiles
Home automation using android mobiles
 
Organic LED's
Organic LED'sOrganic LED's
Organic LED's
 
Smart Streetlight, Smart Pole for Smart city
Smart Streetlight, Smart Pole for Smart citySmart Streetlight, Smart Pole for Smart city
Smart Streetlight, Smart Pole for Smart city
 
Electrical Characteristics of LEDs: LED Fundamentals
Electrical Characteristics of LEDs: LED FundamentalsElectrical Characteristics of LEDs: LED Fundamentals
Electrical Characteristics of LEDs: LED Fundamentals
 
Electronic Design Automation
Electronic Design AutomationElectronic Design Automation
Electronic Design Automation
 
MicroLED : Latest Display Technology | PPT
MicroLED : Latest Display Technology | PPTMicroLED : Latest Display Technology | PPT
MicroLED : Latest Display Technology | PPT
 
Dark sensor
Dark sensorDark sensor
Dark sensor
 
FIRE ALARM SYSTEM PPT.pptx
FIRE ALARM SYSTEM PPT.pptxFIRE ALARM SYSTEM PPT.pptx
FIRE ALARM SYSTEM PPT.pptx
 
OLED technology Seminar Ppt
OLED technology Seminar PptOLED technology Seminar Ppt
OLED technology Seminar Ppt
 
LED CUBE PROJECT.pptx
LED CUBE PROJECT.pptxLED CUBE PROJECT.pptx
LED CUBE PROJECT.pptx
 
Gsm Based Automated Irrigation irrigation system
Gsm Based Automated Irrigation irrigation systemGsm Based Automated Irrigation irrigation system
Gsm Based Automated Irrigation irrigation system
 
Fire detection system using arduino
Fire detection system using arduino Fire detection system using arduino
Fire detection system using arduino
 
Organic light emitting diodes
Organic light emitting diodesOrganic light emitting diodes
Organic light emitting diodes
 
project report on fire alarm
project report on fire alarmproject report on fire alarm
project report on fire alarm
 
Wireless Electronic Notice Board using GSM Technology
Wireless Electronic Notice Board using GSM TechnologyWireless Electronic Notice Board using GSM Technology
Wireless Electronic Notice Board using GSM Technology
 

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 (18)

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

/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...lizamodels9
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?Olivia Kresic
 
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxContemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxMarkAnthonyAurellano
 
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...lizamodels9
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...lizamodels9
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Pereraictsugar
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdfKhaled Al Awadi
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607dollysharma2066
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMintel Group
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Seta Wicaksana
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfrichard876048
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy Verified Accounts
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africaictsugar
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCRashishs7044
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyotictsugar
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionMintel Group
 

Recently uploaded (20)

/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
 
MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?MAHA Global and IPR: Do Actions Speak Louder Than Words?
MAHA Global and IPR: Do Actions Speak Louder Than Words?
 
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptxContemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
Contemporary Economic Issues Facing the Filipino Entrepreneur (1).pptx
 
Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)
 
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Perera
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 Edition
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdf
 
Buy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail AccountsBuy gmail accounts.pdf Buy Old Gmail Accounts
Buy gmail accounts.pdf Buy Old Gmail Accounts
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africa
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
 
Investment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy CheruiyotInvestment in The Coconut Industry by Nancy Cheruiyot
Investment in The Coconut Industry by Nancy Cheruiyot
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted Version
 

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.