Potentiometer

This circuit is based on ARDX 8 which uses a potentiometer to change the flash rate of an LED.  Start by gathering your parts together:

Step 1 – Build your circuit

ArduinoCircuit5.jpg - 11/2015

Step 2 – Write your code

ArduinoProject5.jpg - 11/2015

   Upload and run your code.

Step 3: Extensions

  • Use if statements to create upper and lower limits.
  • Swap the LED for a Servo.
  • Add multiple LEDs so it switches from one LED to another as your turn the potentiometer.
About CDB 362 Articles
Self-Employed Software Developer, Spark, Property Management, Hobby Forestry, Ex-Teacher, Engineering - Wood, Metal, Electrics & Computers. Outdoors - Walk, Cycle, Kitesurf,

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.