The Color Wheel by Rayan Bhorania (rrb228)
by rrb228 in Circuits > Arduino
229 Views, 1 Favorites, 0 Comments
The Color Wheel by Rayan Bhorania (rrb228)
My project consists of using a color sensor, button, a 180-degree servo motor, and a
LED. Firstly, to turn on the system, the slide switch needs to be switched on. This results in a red LED lighting up signaling to us that the color sensor and system are ready to sense inputs. A unit can then be placed next to the color sensor which will detect the light intensity and record red, green, blue pulse-width modulations. This value will help us determine how much the servo motor shaft will rotate. The input shaft (motor shaft) is connected to a 2:1 gear ratio which results in a full 360-degree rotation of the output shaft since the input shaft can only rotate 180 degrees due to the servo being used. This will allow the 180-degree servo motor to have 360 access. The arrow which is glued on to the acrylic laser cut sheet and fixed is the measurement point where each color section will rotate to on the color wheel if it senses that color. Each color section has a color written on it symbolizing that color section.
Assembly Intructions
Assembly Instructions:
• Firstly, access the .dxf laser cutting file, which is shown in Appendix C, figure 3. Send it in to get laser cut
• Attach the ¼-20 screws and nuts in the 4 corner holes as shown in Appendix C, figure 4
• Attach the 180-degree positional servo to the acrylic sheet using 2x M2 screws as shown in Appendix C, figure 5
• Attach output axle to the acrylic sheet using 2 shaft collars to hold the axle in place as shown in Appendix C, figure 4 and 5
• Of the gears that are bought off amazon, attach the larger gear (40mm diameter) to the servo horns using hot glue.
• Create a 5inch circular cardboard piece using scissors and using a sharpie create sections for the 8 different colors as shown in Appendix C, figure 6
• Slide the cardboard wheel down the output axle until it hits the shaft collar and meshes with the larger gear which is glued onto the servo horns
• Attach pointer cardboard piece to the acrylic such that it is pointing between the green and purples sections as shown in Appendix C, figure 7
• The color sensor will be located on the breadboard as shown in Appendix B, figure 2
Operation Instructions:
To operate The Color Wheel, connect the Arduino to your laptop and upload the code from Arduino IDE. Then switch on the slide switch which will result in the red LED being lit up. This will tell you that the color sensor has started to sense RGB pulse width modulations. You are then ready to start sensing different colors!
Arduino Circuit Diagram
CAD Files to Laser Cut+ CardBoard Circle Cutout Instructions
Carboard Color Wheel should be 5 inches in diameter and contain the colors depicted in the photo.