In this lesson we show how to detect light levels with a Raspberry Pi and a photoresistor. The photoresistor is connected in a voltage divider to the ADC0834 AD converter, which then connects to the Raspberry Pi. The schematic of the circuit is below:
Tag Archives: Photoresistor
Arduino Tutorial 31: Using Servo in a Simple Project
In this lesson we demonstrate a simple project that reads the brightness in a room, and then displays the brightness on a device consisting of a servo with an arrow pointing at vaiouse visual indications of brightness. This project demonstrates how to use Algebra and the equation of a line to take the data read from the light sensor, and calculate the desired angle value to send to the servo.
If you want to follow along at home, you can order the Arduino Kit we are using HERE.
Typically, the servos in electronics kits are not the best ones, but are suitable to learn with. If you want a more stable and better quality servo, this is the one I user in more of my projects: HiTEC
Arduino Tutorial 30: Understanding and Using Servos in Projects
In this lesson we explain step-by-step how to incorporate a servo into your Arduino project. This allows you to put motion into your prototypes. Servos act like little motors to create motion, but unlike motors, they do not spin all the way around. A typical servo can move between 0 and 180 degrees. They are relatively easy to program, and this video shows you the ins and outs of using a servo.
If you want to follow along at home, you can order the Arduino Kit we are using HERE.
Typically, the servos in electronics kits are not the best ones, but are suitable to learn with. If you want a more stable and better quality servo, this is the one I user in more of my projects: HiTEC