O'Reilly logo

Learn Arduino Prototyping in 10 days by Kallol Bosu Roy Choudhuri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using a basic sensor - photodiode

Let us start our journey of learning basic sensor devices using a photodiode LED. A photodiode LED is usually black in color and looks slightly larger than a normal LED. A photodiode LED generates small amounts of voltage when light is incident upon it. The amount of voltage generated is proportional to the amount of light incident upon the photodiode. You will learn how to do an Arduino sketch to measure the voltage generated on the analog pin that is connected to the photodiode.

For easy reference, the parts required for this project are listed as follows:

  • Arduino Uno
  • USB cable
  • Photodiode
  • Ohms resistor
  • Breadboard
  • Some male-to-male jumper wires

Once all the preceding parts are assembled, build the circuit ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required