Welcome to RobotGeek 101 : Analog Input Reference. This reference expands upon the concepts covered in the Analog Input Introduction, and introduces more advanced concepts that will give you a more comprehensive knowledge of the workings of Analog Input.
Parts used in this lesson:
- RobotGeek Geekduino
- Micro USB Cable
- RobotGeek Rotation Knob
- RobotGeek Slider
- RobotGeek Light Sensor
- RobotGeek Voltage Divider with .5 Inch FSR
- RobotGeek Joystick
- RobotGeek LED Driver
These parts and everything you need to complete chapters 1-7 in RobotGeek 101 are available in the RobotGeek Basic Experimenter's Kit.
Let's use the Arduino IDE to read an analog input and print out the data to the serial port. Open the following sketch in your Arduino IDE
File > Sketchbook > RobotGeek sketches > RG101 > 03 - analogInput > D-multipleAnalog
Let's use the Arduino IDE to blink an LED on and off at a rate determined by an analog input such as a knob. Using non-blocking code, this sketch is more responsive than code that uses delay(). Open the following sketch in your Arduino IDE
File > Sketchbook > RobotGeek sketches > RG101 > 03 - analogInput > E-averagingAnalog