This document outlines two exercises for an Arduino simulation environment module. The first exercise has students interface a potentiometer to an analog input pin, write code to read the pin value, and log it to serial output while adjusting the potentiometer knob. The second exercise has students create a new circuit with an Arduino Uno, interface an RGB LED, and write code to cycle the LED through different colors.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100%(1)100% found this document useful (1 vote)
82 views1 page
Arduino Simulation Environment - Exercise-1
This document outlines two exercises for an Arduino simulation environment module. The first exercise has students interface a potentiometer to an analog input pin, write code to read the pin value, and log it to serial output while adjusting the potentiometer knob. The second exercise has students create a new circuit with an Arduino Uno, interface an RGB LED, and write code to cycle the LED through different colors.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
IOT Module 1: Arduino Simulation Environment
Arduino Simulation Environment - Exercise
Exercise 1 Interface a potentiometer to one of the Analog input pins of Arduino. Write a simple code to read the value from Analog input pin and log it to serial output. Turn the knob of potentiometer and observe the values logged in Serial Monitor. Exercise 2 Create a new circuit using Arduino Uno. Interface an RGB LED to it. Simulate a simple code to cycle the RGB LED through different colors.