top of page

Week 10

Updated: Jan 3, 2022

Activity1

AnalogRead() - light sensor

Observation : Opened Serial Monitor and observed the numbers there as you cover or expose the LDR.


Activity 2


Serial plotter: Serial Plotter was runned and observed the chart on computer screen as we cover or expose the LDR.


Activity 3

Breathing_LED


Servo Motor



Exercise

Q1) Explain the analog to digital converter (ADC) ?
Ans : Analogue-to-digital converter are systems that as ability to convert any analog signals like sound picked by microphone or light reflected upon a camera , into a digital signal.

Q2) Which ports in Arduino can be used for ADC?
Ans : Arduino UNO has 6 built-in ADC ports from pin A0-A5.

Q3) How to write to Serial Port in Arduino ?
ANS: Serial.write();

Q4) How a potentiometer works?
Ans: A potentiometer helps control a variable resistance, through which we can read into Arduino board analog value.

Q5) How the LED dimmer works in Arduino when it can only give 0 or
5V output?
Ans: The only goal of this Arduino Yun (of about 3) is to control the output of LEDs. Each LED has a 0-10V dimming wire, where, if 5 volts is applied, the LEDs output at 50%, 7.5 volts = 75% etc.











21 views0 comments

Recent Posts

See All

Comments


bottom of page