Chapter 3. Tilt Sensing Servo Motor Controller
Sensors allow people to operate consumer and industrial products using physical stimuli such as touch, sound, and motion. In Chapter 2, you controlled two LEDs with the wave of your hand; the light-activated switch used a photocell to detect the presence of your hand over the sensor.
In this chapter, we’ll build a gadget to easily detect object orientation using a tilt control switch to control a servo motor. This is an awesome device to build and show your Maker smarts to family and friends. By rotating the tilt control switch in an upright position, you’ll be able to operate a servo motor. Figure 3-1 shows the Tilt Sensing Servo Motor Controller.
- Arduino microcontroller
- SW1: tilt control ...