Pcom Digital input/output

In this weeks class and labs we started using the Arduino with a few of the components. Trying to understand better electricity rules and schemas, what is Ohms law and how does a multimeter works.

Performing Lab exercise DIGITAL INPUT and OUTPUT with  pushbutton:

Push button

DIGITAL INPUT AND OUTPUT WITH AN ARDUINO

  • Analog input: 2 Photosensor/photocell resistor
  • Digital output: green LED, blue LED

The more light detected into one sensor, more light being emitted from assigned LED, and vice versa as for the second photosensor and assigned LED. In the serial monitor you can see changes of light coming in the photocell-sensor.

Digital Analog

Input output analog digital from Oryan Inbar on Vimeo.

 

Leave a Comment

Required fields are marked *.