Week 6

RGB Colour Mixer

Ideation

Tell us about your assignment's idea for this week. Why do you care about this idea? What inspired you? (Please include images or links to sources of inspiration)

This week’s assignment was to build and program a smart circuit using an Arduino UNO which reads a signal from an input component to control an action component using code blocks

I love playing with colors & blending them to produce new colors, so I simulate this online RGB color mixer ^^

https://www.csfieldguide.org.nz/en/interactives/rgb-mixer/


Tool Chain 

Which software/machines/materials did you use in the assignment? Why? 

Software:

Electric Components:

Design/Preparation Process

Explain the design and/or preparation process of your assignment. How did you use the tool or software to design and/or prepare your assignment before fabrication/implementation?

Designing & simulation of the virtual circuit on Tinkercad

-The value of the analog pin A1 (2nd potentiometer) controls the green color intensity by setting the value of pin 5 (green leg of the RGB LED) to range from 0 to 255

-The value of the analog pin A2 (3rd potentiometer) controls the blue color intensity by setting the value of pin 6 (blue leg of the RGB LED) to range from 0 to 255

-The value of the analog pin A0 (1st potentiometer) controls the red color intensity by setting the value of pin 3 (red leg of the RGB LED) to range from 0 to 255

You can try it by using the following embedded simulation:)

Input components: potentiometers

Output component: RGB LED 

Code File: Color_Mixer.ino

Development/Implementation Process

Explain the development/implementation process of your assignment. How did you use the machine/tool to manufacture or implement the design of your assignment?

Uploading text code on Arduino

Building the physical circuit

WhatsApp Video 2023-02-20 at 4.05.47 PM.mp4

Overcoming Challenges

What kinds of challenges or problems did you face while doing the assignment, tutorials, or exercises?  How did you solve them? Did you ask for help from an instructor or peer? Please provide a link to the tutorial or article that you used to solve your problem (if any)

I had challenges related to circuits' wiring, which I solved by visually tracking the circuit to ensure the right wiring.

Also, I wasn't able to use the motor driver correctly, but our amazing instructor, Esraa, explained it in a simple way, and also this tutorial helped me a lot (https://lastminuteengineers.com/l298n-dc-stepper-driver-arduino-tutorial/)

Regarding this assignment, when mixing the three colors in reality, RGB LED doesn't display the exact desired color as it was in the virtual simulation on Tinkercad. For example, here in this picture, LED displays red, green, and blue colors at the same time, not the color resulting from mixing these colors in specific proportions (note: a white sheet of paper was placed behind the lamp to clarify the resulting color). I searched Google, then I found that the RGB LED actually consists of three separate LEDs (red, green & blue) packed together in a single case. maybe this is the reason! (https://arduinogetstarted.com/tutorials/arduino-rgb-led)

Final Project

How can you use the skills and knowledge that you've acquired this week in your final project?

Learning how to make smart actions is really cool ^^

WOW!

WhatsApp Video 2023-02-20 at 1.58.58 PM.mp4

Our waving hand was awesome ^^