SlideShare a Scribd company logo
Laboratorio di Elettronica



           I.I.S. Gastaldi Abba
                Classe IIIAE

Albi Cela –Andrea Melis – Diego Vedelago
Gate as a driver of 2 LEDs
• Obiettivo:                                    • Purpose :

    Costruire una sonda logica                        Building a logic probe to
    che segnali attraverso                           notify, by the switching on
    l’accensione di un LED verde                     of a green LED, the value of
    la presenza al suo ingresso                      a logic “0” at the input of
    di uno “0” logico e con un                       the gate and by a red
    LED rosso un “1” logico.                         LED, the presence of a logic
                                                     “1”.



                    IIS Gastaldi-Abba Cela-Melis-Vedelago Classe IIIAE
28/03/2012                                                                          2
                                      "elettronico"
Gate as a driver of 2 LEDs
• Componenti:                             • Devices:
                                                   Red LED; Green LED;
    Diodi LED rosso e verde;                     Resistor 330 P=1/4 W
    Resistenze 330 p=1/4 W
                                                   2 position Switch
    Commutatore a due
    posizioni                                      I.C. 74HC04.
    C.I. 74HC04
                                          • Instruments:
• Strumenti:                                           Power Supply
    Alimentatore                                       Multimeter
    Multimetro

                     IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                                               3
                             Classe IIIAE "elettronico"
Schema Elettrico/Electric Scheme
             Voltage                                 OUTPUT
 INPUT
             Supply




                                                        Light
                                                       Emitting
                                                        Diode
2 position
 SWITCH
B-A = “1”     IC 74HC04
B-C = “0”      NOT GATE
                    _
                 Y=B

             IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                                        4
                     Classe IIIAE "elettronico"
PINOUT
Layout                              PINNING

       INPUT
                     SUPPLY

      OUTPUT




       GROUND




                IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                              5
                        Classe IIIAE "elettronico"
Working
• Case A:
     If the 2 position switch links B to
    A, that is to say that the input is
    linked to the 5V-supply, we have
    a logic level “1” at the input of                              “1”
    the NOT gate ( ¼ of I.C. 74HC04)
     The value of the level of the                                       “0”
    output is a logic level “0”, so the
    green LED is in the Off state and
    the Red one in the On state. The
    switching on of the red LED
    indicates the presence of a logic
    “1” at the input of the gate
    under test.

                           IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                                                 6
                                   Classe IIIAE "elettronico"
Funzionamento
• Caso A:

    Se l’interruttore a 2 posizioni
    collega B con A, ovvero l’ingresso
    della porta all’alimentazione a 5V, si
    ha un livello logico “1” all’ingresso
    della porta NOT ( ¼ di C.I. 74HC04 )

    L’uscita sarà quindi a livello logico
    “0”; di conseguenza il LED verde
    sarà nello stato Off e quello rosso
    nello stato On.

    L’accensione del led rosso rivela
    quindi l’esistenza di un “1” logico
    all’ingresso della porta in esame.


                              IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                                            7
                                      Classe IIIAE "elettronico"
Working
• Case B:

     If the two position switch links
    B to C, that is to say that the
    input is linked to the ground
    (voltage of 0V), we have a logic
    level “0” at the input of the
    NOT gate(1/4 I.C. 74HC04).
    The output will be at logic
    level “1”, so the red LED will be                                    “1”
    in the Off state and the green
    one on the On state.                                           “0”
    The switching on of the green
    LED indicates the presence of
    a logic “0” at the input of the
    gate under test

                           IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                                                     8
                                   Classe IIIAE "elettronico"
Funzionamento
• Caso B:
    se l’interruttore a due posizioni
    collega B con C, ovvero l’ingresso
    della porta è a massa ( tensione
    di 0V), si ha un livello logico”0”
    all’ingresso della porta NOT (1/4
    I.C 74HC 04).
    L’uscita sarà quindi a livello logico
    “1”; di conseguenza il LED rosso
    sarà nello stato Off e quello verde
    nello stato On. L’accensione del
    LED verde rivela quindi
    l’esistenza di un “0” logico
    all’ingresso della porta in esame.



                              IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                                            9
                                      Classe IIIAE "elettronico"
Calculating the value of the resistance
                    R
• Case A:                                    • Caso A:
    the equation of the                        l’equazione della
    electrical network is:                     maglia è:
    Vcc - I*R - VF =0                              Vcc - I*R - VF =0
    we get the value of the                       ricaviamo il valore della
    resistance thinking that                      resistenza considerando
    the supply is 5V and the                      che l’alimentazione è di
    forward voltage of the                        5V e che la tensione del
    LED is about 2V                               LED in conduzione è di
                                                  circa 2V


                        IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                                                    10
                                Classe IIIAE "elettronico"
Calculating the value of the resistance
                    R
• Case B:                                     • Caso B:
   the simple equation of                       l’equazione della
  the electrical network is:                    maglia è:
    VOH - I*R - VF = 0                              VOH - I*R - VF = 0
    We get the value of the                        ricaviamo il valore della
    resistance thinking that                       resistenza considerando
    the supply is 5V and that                      che l’alimentazione è di
    the forward voltage of the                     5V e che la tensione i
    LED is about 2V                                conduzione del LED è di
                                                   circa 2V


                         IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                                                     11
                                 Classe IIIAE "elettronico"
Keys
• Key to symbols:                          • Legenda
                                             Vcc=tensione di
    Vcc = Voltage supply of                  alimentazione del
    the integrated circuit IC                circuito integrato

    V OH = High level                            V OH = tensione di uscita
    Output voltage of the                       della porta logica a
    gate                                        livello alto

    V F = Forward voltage of                    V F = tensione ai capi
    the diode                                   del diodo
                      IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                                               12
                              Classe IIIAE "elettronico"
Coming to an end: Table
 State of the               State of the                            Input Logic Level
 green LED                  red LED                                 of the gate


                  On                        Off                            “0”
             Switching on



                 Off                       On                              “1”
                                      Switching on




                            IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                                                          13
                                    Classe IIIAE "elettronico"
Have you any question?
                 Ask us please!

             Thank you for coming!

Thank you for visiting our school and our
        electronic laboratories!


                  IIS Gastaldi-Abba Cela-Melis-Vedelago
28/03/2012                                                14
                          Classe IIIAE "elettronico"

More Related Content

More from Elisa Rubino

Project work v1
Project work v1Project work v1
Project work v1
Elisa Rubino
 
Safer internet day_2014_ragazzi
Safer internet day_2014_ragazziSafer internet day_2014_ragazzi
Safer internet day_2014_ragazziElisa Rubino
 
Arduino primo v1
Arduino primo v1Arduino primo v1
Arduino primo v1
Elisa Rubino
 
Festival Della Scienza Ge 2010
Festival Della Scienza Ge 2010Festival Della Scienza Ge 2010
Festival Della Scienza Ge 2010Elisa Rubino
 
Dal Festival Della Scienza reportage in SL
Dal Festival Della Scienza reportage in SLDal Festival Della Scienza reportage in SL
Dal Festival Della Scienza reportage in SLElisa Rubino
 
Scienza on the road_Piegare la luce _Fibre ottiche in SL
Scienza on the road_Piegare la luce _Fibre ottiche in SLScienza on the road_Piegare la luce _Fibre ottiche in SL
Scienza on the road_Piegare la luce _Fibre ottiche in SL
Elisa Rubino
 
33 Slide In inglese
33 Slide In inglese33 Slide In inglese
33 Slide In inglese
Elisa Rubino
 
33 Slide In Italiano
33 Slide In Italiano33 Slide In Italiano
33 Slide In Italiano
Elisa Rubino
 
Sloodle Ud V.1paper
Sloodle Ud V.1paperSloodle Ud V.1paper
Sloodle Ud V.1paper
Elisa Rubino
 
Sloodle at MPTL14 2009 in UDINE (IT) Multi Media Physics Teaching and Learning
Sloodle at MPTL14 2009 in UDINE (IT) Multi Media Physics Teaching and LearningSloodle at MPTL14 2009 in UDINE (IT) Multi Media Physics Teaching and Learning
Sloodle at MPTL14 2009 in UDINE (IT) Multi Media Physics Teaching and Learning
Elisa Rubino
 
Corso Slide Sloodle Italia
Corso Slide Sloodle ItaliaCorso Slide Sloodle Italia
Corso Slide Sloodle Italia
Elisa Rubino
 
Corso di Machinima: Fraps e WMM
Corso di Machinima: Fraps e WMMCorso di Machinima: Fraps e WMM
Corso di Machinima: Fraps e WMM
Elisa Rubino
 
Corso di video registrazione
Corso di video registrazioneCorso di video registrazione
Corso di video registrazione
Elisa Rubino
 

More from Elisa Rubino (15)

Project work v1
Project work v1Project work v1
Project work v1
 
Safer internet day_2014_ragazzi
Safer internet day_2014_ragazziSafer internet day_2014_ragazzi
Safer internet day_2014_ragazzi
 
Arduino primo v1
Arduino primo v1Arduino primo v1
Arduino primo v1
 
Festival Della Scienza Ge 2010
Festival Della Scienza Ge 2010Festival Della Scienza Ge 2010
Festival Della Scienza Ge 2010
 
Dal Festival Della Scienza reportage in SL
Dal Festival Della Scienza reportage in SLDal Festival Della Scienza reportage in SL
Dal Festival Della Scienza reportage in SL
 
Scienza on the road_Piegare la luce _Fibre ottiche in SL
Scienza on the road_Piegare la luce _Fibre ottiche in SLScienza on the road_Piegare la luce _Fibre ottiche in SL
Scienza on the road_Piegare la luce _Fibre ottiche in SL
 
33 Slide In inglese
33 Slide In inglese33 Slide In inglese
33 Slide In inglese
 
33 Slide In Italiano
33 Slide In Italiano33 Slide In Italiano
33 Slide In Italiano
 
Sloodle Ud V.1paper
Sloodle Ud V.1paperSloodle Ud V.1paper
Sloodle Ud V.1paper
 
Sloodle at MPTL14 2009 in UDINE (IT) Multi Media Physics Teaching and Learning
Sloodle at MPTL14 2009 in UDINE (IT) Multi Media Physics Teaching and LearningSloodle at MPTL14 2009 in UDINE (IT) Multi Media Physics Teaching and Learning
Sloodle at MPTL14 2009 in UDINE (IT) Multi Media Physics Teaching and Learning
 
Corso Slide Sloodle Italia
Corso Slide Sloodle ItaliaCorso Slide Sloodle Italia
Corso Slide Sloodle Italia
 
Uso di WMM
Uso di  WMMUso di  WMM
Uso di WMM
 
Uso di Fraps
Uso di FrapsUso di Fraps
Uso di Fraps
 
Corso di Machinima: Fraps e WMM
Corso di Machinima: Fraps e WMMCorso di Machinima: Fraps e WMM
Corso di Machinima: Fraps e WMM
 
Corso di video registrazione
Corso di video registrazioneCorso di video registrazione
Corso di video registrazione
 

Working in electronics laboratory in Gastaldi-Abba GE (IT) Comenius v1

  • 1. Laboratorio di Elettronica I.I.S. Gastaldi Abba Classe IIIAE Albi Cela –Andrea Melis – Diego Vedelago
  • 2. Gate as a driver of 2 LEDs • Obiettivo: • Purpose : Costruire una sonda logica Building a logic probe to che segnali attraverso notify, by the switching on l’accensione di un LED verde of a green LED, the value of la presenza al suo ingresso a logic “0” at the input of di uno “0” logico e con un the gate and by a red LED rosso un “1” logico. LED, the presence of a logic “1”. IIS Gastaldi-Abba Cela-Melis-Vedelago Classe IIIAE 28/03/2012 2 "elettronico"
  • 3. Gate as a driver of 2 LEDs • Componenti: • Devices: Red LED; Green LED; Diodi LED rosso e verde; Resistor 330 P=1/4 W Resistenze 330 p=1/4 W 2 position Switch Commutatore a due posizioni I.C. 74HC04. C.I. 74HC04 • Instruments: • Strumenti: Power Supply Alimentatore Multimeter Multimetro IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 3 Classe IIIAE "elettronico"
  • 4. Schema Elettrico/Electric Scheme Voltage OUTPUT INPUT Supply Light Emitting Diode 2 position SWITCH B-A = “1” IC 74HC04 B-C = “0” NOT GATE _ Y=B IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 4 Classe IIIAE "elettronico"
  • 5. PINOUT Layout PINNING INPUT SUPPLY OUTPUT GROUND IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 5 Classe IIIAE "elettronico"
  • 6. Working • Case A: If the 2 position switch links B to A, that is to say that the input is linked to the 5V-supply, we have a logic level “1” at the input of “1” the NOT gate ( ¼ of I.C. 74HC04) The value of the level of the “0” output is a logic level “0”, so the green LED is in the Off state and the Red one in the On state. The switching on of the red LED indicates the presence of a logic “1” at the input of the gate under test. IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 6 Classe IIIAE "elettronico"
  • 7. Funzionamento • Caso A: Se l’interruttore a 2 posizioni collega B con A, ovvero l’ingresso della porta all’alimentazione a 5V, si ha un livello logico “1” all’ingresso della porta NOT ( ¼ di C.I. 74HC04 ) L’uscita sarà quindi a livello logico “0”; di conseguenza il LED verde sarà nello stato Off e quello rosso nello stato On. L’accensione del led rosso rivela quindi l’esistenza di un “1” logico all’ingresso della porta in esame. IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 7 Classe IIIAE "elettronico"
  • 8. Working • Case B: If the two position switch links B to C, that is to say that the input is linked to the ground (voltage of 0V), we have a logic level “0” at the input of the NOT gate(1/4 I.C. 74HC04). The output will be at logic level “1”, so the red LED will be “1” in the Off state and the green one on the On state. “0” The switching on of the green LED indicates the presence of a logic “0” at the input of the gate under test IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 8 Classe IIIAE "elettronico"
  • 9. Funzionamento • Caso B: se l’interruttore a due posizioni collega B con C, ovvero l’ingresso della porta è a massa ( tensione di 0V), si ha un livello logico”0” all’ingresso della porta NOT (1/4 I.C 74HC 04). L’uscita sarà quindi a livello logico “1”; di conseguenza il LED rosso sarà nello stato Off e quello verde nello stato On. L’accensione del LED verde rivela quindi l’esistenza di un “0” logico all’ingresso della porta in esame. IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 9 Classe IIIAE "elettronico"
  • 10. Calculating the value of the resistance R • Case A: • Caso A: the equation of the l’equazione della electrical network is: maglia è: Vcc - I*R - VF =0 Vcc - I*R - VF =0 we get the value of the ricaviamo il valore della resistance thinking that resistenza considerando the supply is 5V and the che l’alimentazione è di forward voltage of the 5V e che la tensione del LED is about 2V LED in conduzione è di circa 2V IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 10 Classe IIIAE "elettronico"
  • 11. Calculating the value of the resistance R • Case B: • Caso B: the simple equation of l’equazione della the electrical network is: maglia è: VOH - I*R - VF = 0 VOH - I*R - VF = 0 We get the value of the ricaviamo il valore della resistance thinking that resistenza considerando the supply is 5V and that che l’alimentazione è di the forward voltage of the 5V e che la tensione i LED is about 2V conduzione del LED è di circa 2V IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 11 Classe IIIAE "elettronico"
  • 12. Keys • Key to symbols: • Legenda Vcc=tensione di Vcc = Voltage supply of alimentazione del the integrated circuit IC circuito integrato V OH = High level V OH = tensione di uscita Output voltage of the della porta logica a gate livello alto V F = Forward voltage of V F = tensione ai capi the diode del diodo IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 12 Classe IIIAE "elettronico"
  • 13. Coming to an end: Table State of the State of the Input Logic Level green LED red LED of the gate On Off “0” Switching on Off On “1” Switching on IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 13 Classe IIIAE "elettronico"
  • 14. Have you any question? Ask us please! Thank you for coming! Thank you for visiting our school and our electronic laboratories! IIS Gastaldi-Abba Cela-Melis-Vedelago 28/03/2012 14 Classe IIIAE "elettronico"