Fidget spinner built from scratch that makes use of the concept of "Persistence of Vision" to produce Cool patterns using LEDs
- Basic knowledge in Arduino
- Arduino board
- Soldering Iron and experience using it
- Breadboard ,jumper wires
Links given are the ones I used to purchase
From local Vendors:
- Resistors (preferably 330 ohms)
- LEDs(3mm)
- Switch
- Pushbutton
- Capacitor (0.1uF)
- CR2032 Battery
Buy Online:
- Attiny84 (Tanotis)
- Bearing (Flipkart)
- Through hole CR2032 Battery holder(Very rare so I had to tie a hard wire around to hold the battery in place) (Tanotis-SMD battery holder)
- Custom PCB board (Order from PCB Manufacturer)
Manually:
- Plastic cap(To attach to the bearing to act as holder - This needs creativity)
Optional: (If interested in implementing TEXTS,SHAPES)
I was not able to implement TEXTS,SHAPES and can't debug due to time constraints (Refer this for code and implementation:Instructables)
- Solder all the components except ATTINY84 to the PCB as marked in the board itself
- If you aren't making use of Hall effect sensors and magnets,short these two pins right away
-
Bootloading and uploading the code to the Microcontroller:
- Install support for ATTINY: https://github.com/SpenceKonde/ATTinyCore
- Upload the "Arduino as ISP sketch" to the Arduino board of yours :[File] -> [Examples] -> [Arduino as ISP]
- Connect the ATTINY with your arduino board based on the wiring below
- In the arduino IDE:
- Select the correct chip:
- Attiny Core: "Attiny 24/44/84"
- Chip "Attiny 84"
- 8 Mhz (Internal)
- Pin Mapping "Counter Clockwise"
- Upload the code
-
Now Attiny can be placed on the spinner and debugged accordingly
Before soldering | After soldering |
---|---|
Mode 1 | Mode 2 | Mode 3 | Mode 4 | Mode 5 | Mode 6 | Mode 7 |
---|---|---|---|---|---|---|
Video link: https://drive.google.com/file/d/1ZZAy-tW8ZSH9PZ8rhj1HC3PhIRssyyVU/view?usp=sharing