Take your Arduino projects to the next level. Learn how to connect analog devices—sensors and circuits, LEDs, joysticks, and stepper motors—to your Arduino board.
Overview
Syllabus
Introduction
- Integrating analog devices with Arduino
- What you should know before watching
- What are analog devices?
- Understanding analog-to-digital converters
- Exploring our temperature sensor (TMP37)
- Understanding how to interpret the sensor values
- Interpreting the sensor values
- Wiring up the temperature sensor
- Coding to read the temperature sensor
- LDR (light-dependent resistor) sensor
- Using a voltage divider with our LDR
- Wiring up our LDR circuit
- Coding to read the LDR circuit
- Joystick module
- Wiring up our joystick
- Coding the joystick circuit
- How Arduino generates analog output
- Understanding pulse-width modulation (PWM)
- Understanding the analogWrite function with PWM
- Wire up an LED
- Write code to use PWM with the LED
- Understanding the map() function
- Wiring a potentiometer to control LED
- Coding to control the LED with a potentiometer
- Stepper motor introduction
- Unipolar stepper motors
- Stepper motor driver board ULN2003
- Wiring a stepper motor to Arduino
- Coding to control the motor directly
- Exploring the Stepper Library
- Coding for the stepper motor
- Coding using the Stepper() function
- Using the joystick to control LEDs
- Wiring up the joystick and LEDs
- Coding for the joystick and LEDs
- Using an LDR sensor to control a motor
- Wiring
- Coding the LDR and sensor
- Using a joystick to control a motor
- Wiring up the joystick and motor
- Coding the joystick and motor
- Next steps
Taught by
Zahraa Khalil