assignment idea
servo motor and a RGB LED react to moving infront of then by using PIR sensor
i care to the idea because it will help me in the final project to move the parametric unit
VIDEO
software using tinkercadto simulate the cuircit & programming the arduino by code block and simulate the code
materials
brain(arduino uno)
input(IR sensor)
output(servo motor - RGB led )
risitance 330 ohm - jumpers - breadboard
exersizes
THE CODE
using tinkercad
connecting all component together in tinkercad using breadboard
opening the coding in tinkercad to write the code using codeblock
simulate the component together to see the result
then
i connected the component together in the reality
by plugin the arduino in the laptop loading the text code to the arduino
using the breadboard to connect all component to gether with common ground in the breadboard
i couldn't find the IR sensor in the tinker cad and my peer tell me that in the Video they use other IR sensor and they are the same
my IR senor wasn't working then i search and notice that the variable resistance at the top having differance value from the IR in the video so i search in google and find the siutable value and change it
skills
how to coding by code blocks
how to connect and use (input & output ) in arduino
simulate arduino using tinkercad
using thisknowledge and skills to make the movable part in the project by servo motor depend in the IR sensor and poteinmeter
how to change the speed of the servo motor
and changing the distance of the IR senor from the variable resistance