Multi-colored Tree Tidy Remake

by kiki54321 in Circuits > Arduino

136 Views, 1 Favorites, 0 Comments

Multi-colored Tree Tidy Remake

arduino LED tree remake demonstration

I went on to the instructable platform and found a project named Tree Tidy - a Functional Desktop Decoration (Prototype Build)https://www.instructables.com/Tree-Tidy-a-Functional-Desktop-Decoration-Prototyp/ I thought it is quite interesting and decided to remake it. I deleted two-color cycles in the original project and change the number and color of the led lights, from 9 green led lights to 6 red and 5 yellow led lights. This gives the project more autumn vibes. I also change the number of RGB lights from 3 to 1.

Supplies

  • Arduino leonardo(similar boards are also fine)x1
  • Solderless breadboard x1
  • Solderless breadboard wires (M-M x3), (M-F x39)
  • Resistors (100Ω , 1/4W) x5 IR receiver module x1
  • IR remote x1
  • RGB LEDs x1
  • red LEDs x5
  • Yellow LEDs x5
  • An empty tissue box x1z

Interior First (the Electronics and the Circuits)

arduino project online (2).jpg
IMG_20210413_223029 (1).jpg
IMG_20210413_223029 (2).jpg

Link the circuits same as above. It does not matter if you don’t use Arduino Uno as above, as I also use Arduino Leonardo; as long as the effects are the same, it does not matter. I use the picture from the original site https://www.instructables.com/Tree-Tidy-a-Functio... and edited it. If the diagram is not clear enough, you can check it on the original site, but make sure to only link one RGB LED and add 5 yellow LEDs to the board. The launching button is also unnecessary.

I also change the structure of the circuit. I did not link the restrictors to the Arduino Leonardo directly as shown in the diagram and as planned in the original project because the restrictors fall out easily if directly linked. As a result, I link a line to the board first and later connect the resistors to the circuit. This prevents the LEDs from falling out as easily during the process of transportation. It does not change the function of the circuit. Two ways of connecting are both fine.

Software

IMG_20210413_080734 (1).jpg
IMG_20210413_232927.jpg

I changed the code so the yellow LEDs, linking to digital 7, shine in certain circumstances.

The corresponding action is done by each button The color named under-represents the RGB LED’s color Upper arrow(1): In the original project, the 1 corresponds to the number 1 button, but I change it to the upper button because when I enter the Hex code for my infrared remote, it somehow to recognize it as a duplicate case value, so I change it into the top button. It represents white. The red normal LEDs will not shine, only the yellow LEDs. (My change to the project)

Ok(2): In the original project, the 2 corresponds to the number 2 button, but I change it to the Ok because when I enter the Hex code for my infrared remote, somehow to recognize it as a duplicate case value, so I change it into the top button. It represents green The red normal LEDs will not shine, only the yellow LEDs.(My change to the project)

3(3) green (RGB LED) Both the red normal LEDs and the yellow LEDs will shine. (My change to the project) 4(4)Yellow The red normal LEDs will not shine, only the yellow LEDs.(My change to the project)

5(5) red The red normal LEDs will not shine, only the yellow LEDs.(My change to the project)

6(6) violet Only the red normal LEDs will shine

7(7) Blue Both red and yellow LEDs will shine

8(8) light blue Both red and yellow LEDs will shine

9(9) light blue Please ignore the color comment at the side of the actual code since it is only a note to myself.

*(10) Pink (a bit violet) Both red and yellow LEDs will shine

Code link:https://create.arduino.cc/editor/itzkiki1234567890/2ccd2d9b-8c42-4a55-be9c-055b18cabbfc/preview