Ex3-Interfacing Analog Input and Output - SO
Ex3-Interfacing Analog Input and Output - SO
Experiment 03:
INTERFACING ANALOG INPUTS
• Inhog, Jaylord
• Llantos, John Tristan
• Perez, John Abraham
• Sabado, Christopher Dave
❖ SCENARIOS
SCENARIO 1
SCENARIO 2
Additional Components:
• 2 pcs. Light Emitting Diode (LED 0 - 1)
• 1 pc. Light Dependent Resistor (LDR)
SCENARIO 3
Additional Components:
• 1 pc. toggle switch
• 1 pc. 10kΩ potentiometer
Initial Configuration:
➢ the display value start at 0.
➢ LED 0 state is ON.
➢ switch state is OFF.
I/O Components
• LED Array 1 0.5 watts L0 – L7 8 LEDs in an Array
• Seven Segment Display 1 0.5 watts SSD1 Common Anode
• 10kΩ Potentiometer 1 10kΩ P1 ----
• Momentary Switch 1 --- S1 Push to ON – Normally Open
Others
• Breadboard 1 Full --- ---
• USB Data Cable 1 1m --- Type A Male to B Male
• Connecting Wires 30 10cm --- Male to Male
❖ HARDWARE CONNECTION
SCENARIO 1
Refer to the link below for the output experiment that can be simulated:
https://www.tinkercad.com/things/3FvikPuUrsg-e3-interfacing-analog-inputs-fernandez-
❖ SOURCE CODES
SCENARIO 1
SCENARIO 1
SCENARIO 2
Additional Components:
• 2 pcs. Light Emitting Diode (LED 0 - 1)
• 1 pc. Light Dependent Resistor (LDR)
SCENARIO 2
SCENARIO 2
Refer to the link below for the output experiment that can be simulated:
https://www.tinkercad.com/things/3cwOih59DTU-e3-interfacing-analog-inputs-fernandez-
❖ SOURCE CODES
SCENARIO 2
SCENARIO 2
SCENARIO 3
Additional Components:
• 1 pc. toggle switch
• 1 pc. 10kΩ potentiometer
Initial Configuration:
➢ the display value start at 0.
➢ LED 0 state is ON.
➢ switch state is OFF.
SCENARIO 3
SCENARIO 3
Refer to the link below for the output experiment that can be simulated:
https://www.tinkercad.com/things/bbTQeDCgSfH-e3-scenario-3-fernandez
❖ SOURCE CODES
SCENARIO 3
SCENARIO 3