Earring for Her❤️
Sometimes decoration is not about expensive materials or big designs — it’s about adding a personal touch to something simple.
This project started with a small idea: to create a custom earring that is not only wearable but also decorative and unique.
I designed a tiny RGB LED earring using a custom PCB and addressable LEDs. Instead of buying a ready-made accessory, I wanted to create something handmade that mixes fashion, creativity, and a bit of electronics. The result is a glowing earring that adds a splash of color and personality to everyday wear.
This project fits perfectly into the idea of decorating what we wear. Turning a simple earring into something expressive 😊
To make this ATtiny85 LED earring, there are only a few simple steps. The project is built using a small ATtiny85 microcontroller and a group of WS2812B RGB LEDs. The process is straightforward and can be completed by following the steps below.
Supplies
- ATtiny85 (SMD, SOIC-8 / ATtiny85-20S)
- WS2812B RGB LEDs (2020 package / NeoPixel compatible) × 12
- Tactile Push Button (SMD, 5.2 × 5.2 mm)
- Slide Switch – SK-02 (SMD)
- 1254 Lithium Battery (12 mm diameter)
- DC-DC Boost Converter IC – TPS613222A (ADBVR package)
- Inductor – 2.2 µH (SMD)
- Schottky Diode – MBRO520LT1G (SMD)
- Capacitor – 22 µF (SMD, 0603)
- Capacitor – 120 pF (SMD, 0603)
- Resistor – 50 Ω (SMD, 0603)
- The PCB
Designing the PCB
For designing the schematic and PCB layout, KiCad version 9 was used. The design is simple and beginner-friendly. It uses an ATtiny85 8-bit microcontroller, which can run independently after programming. A step-up booster circuit was also added to the schematic to convert the 3 V supply to 5 V, since both the ATtiny85 and WS2812B LEDs operate at 5 V.
Above, you can see the schematic and PCB layout images taken directly from KiCad. The editable design files are available in the GitHub repository linked below. This project is open source, so anyone can customize the design for example, by adding a loved one’s name to the PCB earring.
Soldering the PCB
I designed the PCB in a creative way instead of placing all components on a single surface. Rather than using standard flat placement, I used a different approach that improves both aesthetics and compactness. The footprints were designed across both PCB layers, allowing components to be mounted along the edge of the board instead of on just one side.
This edge-mounted placement reduces the overall size of the circuit and also enhances the visual appeal. When the LEDs are soldered this way, they look more interesting and are visible from both sides of the PCB, which works especially well for a wearable earring design.
Selecting PCB Thickness
PCB thickness is very important for this project. I went through two iterations because of this mistake, and I don’t want others to repeat it. The final PCB uses standard 1.6 mm FR4, which works well for edge-mounted components.
In the first iteration (the black PCB), I ordered a 2.0 mm FR4 board because the WS2812B 2020 LEDs are about 2.0 mm thick. However, after the PCB arrived, I realized that soldering the LEDs on the edge of a 2.0 mm thick board was very difficult and impractical. Reducing the PCB thickness to 1.6 mm solved this issue and made edge soldering much easier.
Checking LED Array
After soldering the LEDs, it is very important to check that all the LED pins are soldered properly. This is the most time-consuming part of the project, but it is also the most important. On the PCB, I labeled the pins of one LED as GND, DOUT, DIN, and VCC. All other LEDs follow the same orientation based on this reference.
To verify the soldering, I used an Arduino Nano and ran a simple FastLED animation. This helped confirm that every LED was correctly connected and working before moving on to soldering the remaining components.
Solding Other Components
After soldering the WS2812B LEDs, the next step is to solder the remaining components. This includes the ATtiny85 microcontroller, the required decoupling capacitors, the mode selection switch, and the main power switch.
Flashing the Code to At-tiny85
Note this video is from youtube DIY TECH BRO
I have used arduino nano to program the at tiny 85, you can use any but consider the circuit diagram as shown in video
This is the link to be used in the preferences menu:
"https://drazzy.com/package_drazzy.com_index.json"
One thing to which is keep in mind while Programming the IC, Use 16 Mhz (PLL) Clock instead of 8Mhz, As the FastLED uses several math-heavy functions like sin, cos, pow, sqrt, color blending, and HSV calculations, which require more processing speed. At 8 MHz, the ATtiny85 often cannot perform these calculations also maintaining the strict timing required for WS2812/Neopixel LEDs, causing failure at Displaying Animation
Switch Function
There are two switches used in this project:
- Mode SwitchA small tactile switch is used to change the LED animation modes.The ATtiny85 can technically support around 4–5 modes with its 8 KB flash, but I am using only two because the animations I chose take more space in memory.(If someone wants more modes, they can use lighter animation effects that take less flash—check the firmware section below.)
- Power SwitchA tiny slide switch is used to turn the whole circuit on and off.It can handle around 80 mA, which is more than enough for this setup and fits well in the very limited space of the PCB.
Code for At-tiny85
Result
To make this PCB an earring, attach a French hook or Ear wire to the PCB.
Light Up
Mesmerizing 🙂↔️
Youtube VIDEO
Bye-Bye, Have a Nice day