qoistoochee128

WS2812-RBG phantom pendant

 
Overview

The creativity of the work comes from the work of foreign netizen makeTVee, project address: https://hackaday.io/project/186402-ws2812b-neopixel-earring

The biggest difference in the reset here is that the original parts of the original project have been greatly simplified. The original author said that the ws2812b 2020 lamp beads cannot light up blue when the voltage is lower than 3.6v. I actually measured that the 2020 lamp beads I bought did not have this problem. The original work There is no need for the boost circuit. In the end, it is basically minimalist, with one MCU, one switch, one button, one battery, and 16 lamp beads. There are two capacitor positions left on the circuit, and there was no problem without soldering in the actual test.

In the end, minimalism has come to an end and can no longer be reduced.

The MCU uses the simplest and cheapest ATTiny13A-ssu. In order to reduce the difficulty of welding, the PCB is larger than the original one so that the MCU can be directly attached to the PCB. The 2032 battery holder is also used to reduce the difficulty of production.

The most troublesome part is welding a circle of lamp beads, so I used 3D printing to make a mold. The welding needs to be done quickly, otherwise the mold will be burned.

The code is developed using Arduino. You need to install the atting13A development board extension first. Add it to the Preferences-Accessories development board extension: https://mcudude.github.io/MicroCore/package_MCUdude_MicroCore_index.json

Then search for atting13 in the development board manager and install it.

You need to use the Arduino ISP tool to burn the program, and use UNO or nano to make the burner. The specific method can be found on Baidu, it is very simple.

For the SPI download port, I use a spring frame burning fixture with a pitch of 1.27mm and 6p. This is more convenient. Of course, you can also use a method, as long as the 6 lines used for SPI programming can be connected to the writer.

The flash of attiny13A only needs 1k, and every byte must be carefully calculated. The code is borrowed from a Russian brother, and it is very easy to use.

Please note that the 2032 battery holder is installed backwards and directly embedded into the opening in the middle of the PCB!

Select BOD:disable when burning

The project is very simple, but the finished product is fun and cool.

It's released just in time for the Chinese Valentine's Day. I saw how many Tiehanhan would give this thing to their girlfriends. Leave a message to sign up. If you are beaten, you must remember to come back and say it! Hahahahaha

 

ws2812b 2020 lamp bead address: https://item.taobao.com/item.htm?spm=a1z09.2.0.0.67002e8dp5kRko&id=635162819740&_u=22oqo1kf8782

attiny13A-ssu small size address: https://item.taobao.com/item.htm?spm=a1z09.2.0.0.67002e8dp5kRko&id=571335562536&_u=22oqo1kfdcae

MSK12C01 toggle switch: https://item.taobao.com/item.htm?spm=a1z09.2.0.0.67002e8dp5kRko&id=610672773158&_u=22oqo1kf66a7

2032 battery holder: https://detail.tmall.com/item.htm?id=14591684757&spm=a1z09.2.0.0.67002e8dp5kRko&_u=22oqo1kfa329

Tact switch 3*4*2.0MM: https://item.taobao.com/item.htm?spm=a1z09.2.0.0.ee112e8d51ME88&id=564930809858&_u=22oqo1kf26d2

 

Source code and 3D printed welding mold are in the attachment

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-08 15:12:00

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号