inspiration
Recognize color name, what it looks like, and how to count.
3 colors
3 numbers
3 color names
3 angles
Using Arduino
With 1 input and 2 output.
When the kid pushes the button of the required number he will see its color name and what it looks like.
The servo motor will point its finger at
the color name.
RGB Led will show the color.
Software :
Tinkercad portal
to build and simulate the circuit online
The main components in the circuit
1- 1 Servo motor
2- 1 RGB
3- Arduino bluecontro
4- breadboard
5- jumpers
6- data cable
7- Arduino Uno
8- 220 resistor
220 resistor
servo motor
foam
wood steaks
Tinkercad
Arduino bluecontrol
preadpoard
data cable
Jumpers
switch
Design circuits using this component :
1- 1 Servo motor
2- 1 LED
3- Switch
4- breadboard
5- jumpers
6- data cable
7- push button
8- 220 resistor
Input: Push button/switch
Code discription
Manuel mood
Variables (for incoming data-for RGB led colors- for servo name)
- servo library
- servo attached on ben 5
setup
- RGB OUTPUT
- in the, beginning keep RGB low
loop
- just while available
Circuit design
Arduino code
Arduino code
(If button 1)
The outputs: Servo motor
(20 degrees)
RGB(RED)
(If button 2)
The outputs: Servo motor
(90 degrees)
RGB(green)
(If button 3)
The outputs: Servo motor
(150 degrees)
RGB(blue)
There was a problem while uploading the code
solution
I discover that I have to remove TX and RX pins while uploading the code and then wiring them again to the Arduino.
This assignment helps a lot in the design, the understanding of the mechanism, and how I can make it works so I can show my product functions.
Activities, teamwork, organization, and documentation. All of this was great, and I want to thank the Instructors a lot.