Sean ni's profile

PRESS&PLAY PROJECT

PRESS&PLAY PROJECT
In this design, I plan to study the electronic design. We will use circuit board, cable, bulb and switch to assemble and try different possibilities. We will first use test codes to test each component, and after that, I will try to write my own code to achieve different effects
-Circuit board
-3 LEDs(green yellow red)
-3 resistor
-Arduino Uno
-Push button
-7 wires

first we have installed Arduino Uno, and we have build up the physical board and getting ready to plug it on to the computer.
And I have chosen red, yellow and green LEDs. Put three holes between the positive end (long end) of each LED and insert the negative end into the ground bus. There is a resistor from the positive end of each LED wire through the central voltage divider.
The lights are ready !!!
We inserted all the parts into the board one by one. According to the example given by the teacher, we quickly inserted each part into its corresponding position and were ready to write the code to light the lamp.
we have pluged it on to the computer but it wasn't working the port wasn't showing on the computer, so we have called the lab stuff to help, and found out That we forgot to download the driver and we tried after it worked pretty.
This was my first attempt. After modifying the code for several times and typesetting, I succeeded in lighting the three light bulbs one by one. The process was smooth, the teacher also helped us to change some marks to use, we also tried to switch the Settings between the button switch and the breathing light
At first, I aligned the socket of the button to the wrong position, which caused me to think that the code was wrong in the process of writing the code. After I corrected it, the light turned on smoothly. After adjusting the breathing lamp, it was easy to make it. Unfortunately, our team was so excited that we forgot to take pictures until we got home.
I also used the online version on the Internet to write my own code to try some different effects. However, when I was making the online version, my code could not make the circuit light up. After I inquired many people, they said that it might be the website problem, but I did not have time to go to the lab to try again.
This is the code I made.
My original idea was to make a neon effect, and I set the deslay to 200 milliseconds, because I really liked that effect, so I turned the lights up one by one, like a neon effect.
The whole process was quite interesting. Although I participated in the lab workshop twice before I succeeded, I also learned a lot of different knowledge. In my opinion, electronics is not as boring as I imagined. When the LED lights up all the difficulty was forgotten.
The only regret is that I did not see his success lights up.

PRESS&PLAY PROJECT
Published:

PRESS&PLAY PROJECT

Published:

Creative Fields