Skip to content

8. Input and Output

Week 8 at the Fablab was focused on understanding input and output systems, where we explored various sensors and actuators, learning how to interface them with microcontrollers. For my personal project, I decided to use different color LED lights to create various shades of pink.

Here are the steps I followed:

  1. Selecting Components: I chose a microcontroller, I used Arduino, and gathered RGB LEDs, resistors, and necessary connecting wires.

  2. Designing the Circuit: I designed a circuit to connect the RGB LEDs to the microcontroller, ensuring that each LED had the correct resistors and connections to the appropriate pins.

  3. Writing the Code: I wrote a program to control the RGB LEDs, mixing different intensities of red and blue to create various shades of pink. The code allowed for adjusting the brightness and color mix through PWM (Pulse Width Modulation).

  4. Uploading the Code: I uploaded the code to the microcontroller and tested the LEDs, ensuring each one displayed the intended shades of pink.

  5. Adjusting the Shades: I fine-tuned the code, adjusting the PWM values to achieve the exact shades of pink I wanted. This involved experimenting with different combinations of red and blue intensities.

  6. Final Assembly: Once the shades were perfect, I organized the LEDs in a visually pleasing arrangement and secured the components to create a cohesive display.


Last update: July 13, 2024