Spinning your life and brightening your ideas!
![luiz marco soldando _edited.jpg](https://static.wixstatic.com/media/a9ba53_7c23467a7e184f668319f98442fe5f8b~mv2.jpg/v1/fill/w_450,h_450,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/a9ba53_7c23467a7e184f668319f98442fe5f8b~mv2.jpg)
ELECTRONIC PROCESS
![Image by Umberto](https://static.wixstatic.com/media/nsplsh_9bd691f7bfa44a878e8ccf07b1163dfa~mv2.jpg/v1/fill/w_490,h_327,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/nsplsh_9bd691f7bfa44a878e8ccf07b1163dfa~mv2.jpg)
FIRST STEPS
How we did it
For the first steps of this project it was essential to choose the right components. The choice was based on the needs required by the pototype. We focused on over-the-counter components that were easy to purchase.
COMPONENTS
Choice of components
The first thing we did was look at other similar projects to get inspired and not be so lost when choosing. We were clear that we wanted a wide range of colors in the device and we opted for 5mm RGB LEDs. Next we had to choose the components that were more obvious, such as: motor, X material base, cables, resistors, PCB board, Protoboard (to test the components), power supply, structure where everything will go, Arduino and switches.
ARDUINO NANO
We chose an Arduino as the brain of our project because it is a very easy-to-use microcontroller and we are also familiar with its software and functionalities. The chosen model was the Nano for two simple reasons, speed and size. The Arduino Nano was fast enough to perform the function that was required of it. In addition to its speed, there was the size, being a project of reduced dimensions, we needed an Arduino just as small, and the Nano, as its name indicates, is the smallest on the market.
![73b102980_Arduino-Nano-R3_x.png](https://static.wixstatic.com/media/a9ba53_065f51e12e224fe4a3df275645b9e215~mv2.png/v1/fill/w_460,h_371,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/73b102980_Arduino-Nano-R3_x.png)
![circuito-de-ejemplo-74hc595_edited.jpg](https://static.wixstatic.com/media/a9ba53_0964adcf1b9d466fb0de595f38f00302~mv2.jpg/v1/fill/w_460,h_344,al_c,lg_1,q_80,enc_avif,quality_auto/circuito-de-ejemplo-74hc595_edited.jpg)
SHIFT REGISTER
SN74HC595N
74HC595 IC is a 16-pin shift register IC which consists of a D-type latch along with an on-chip shift register. It receives serial input data and then sends this data out through parallel pins. In addition to parallel outputs, it also provides a serial output. It has separate clock inputs for the shift register and the D latch. This feature together with pin 13 OE (negated) that corresponds to the output activation, we can turn on the LEDs simultaneously without having to deal with the delay of the arduino. So we can see the LEDs in vertical line. With all these factors clarified, we use a shift register for each color of the LED, that is, 3 shifters for 3 different colors, to use the basic ones simultaneously and to be able to create more colors.
MOTOR DC (UVIC)
For the motor we chose one that was provided to us by the university. We do not know the exact specifications of this but we know what to demand of it. To create the optical effect we need 30 revolutions per second (rps) therefore we multiply this value by 60 and it gives us a value of 1800 rpm for our motor.
![WhatsApp Image 2022-06-01 at 18.15.10.jpeg](https://static.wixstatic.com/media/a9ba53_0ea48971819a4409a97abe889f30e3a7~mv2.jpeg/v1/fill/w_460,h_345,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/WhatsApp%20Image%202022-06-01%20at%2018_15_10.jpeg)
![WhatsApp Image 2022-06-01 at 18.21.24.jpeg](https://static.wixstatic.com/media/a9ba53_2657764becdb445aabbb16b0de099130~mv2.jpeg/v1/fill/w_375,h_500,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/WhatsApp%20Image%202022-06-01%20at%2018_21_24.jpeg)
POWER SUPPLY
Power source and 9V battery
When it came to powering the system, we realized that the rotating part (Arduino and LEDs) could not be connected to the current, so it occurred to us to power this part independently with a 9V battery. The static part, which is basically the motor, is connected to the current with an adjustable 3V-12V plug.
RESISTORS
Due to the specifications of the RGB LEDs which consists of three colors (red, green, blue) each color needs a specific amperage to give the adequate luminosity for our purpose. Now, we did some calculations to determine what value we needed in the resistance of each color. The data is extracted from the component's datasheet. (See in the image)
![WhatsApp Image 2022-05-19 at 16_edited_edited_edited.jpg](https://static.wixstatic.com/media/a9ba53_14e6f61c81cc4ee4bd2f456c242d4bcb~mv2.jpg/v1/fill/w_460,h_460,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/WhatsApp%20Image%202022-05-19%20at%2016_edited_edited_edited.jpg)
![Sin tÃtulo_page-0001_edited_edited.png](https://static.wixstatic.com/media/a9ba53_47b7990d49fa4fe28bc60ec079229267~mv2.png/v1/fill/w_460,h_345,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/Sin%20t%C3%ADtulo_page-0001_edited_edited.png)
ELECTRONIC SCHEMATIC
To have everything ready, we made an electronic scheme with the program recommended by Professor KiCad. There we were able to put all the joint components to later put it into practice using a guideline. (See the scheme in the image)