Parts List

  • Arduino microcontroller
  • MakerShield kit
  • S1: tilt control switch
  • R1: 1KΩ resistor (brown, black, red stripes)
  • R2: 330Ω resistor (orange, orange, brown stripes)
  • R3: 330Ω resistor (orange, orange, brown stripes)
  • LED1: green LED
  • LED2: red LED

Figure 8-1. The Up-Down Sensor block diagram

TECH NOTE

A tilt control switch is sometimes called a tilt sensor.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *