Y8KCY7pOgn

Colorful PP Coins (Colorful Badges 2.0)

 
Overview

Since the colorful badges produced in the previous version require an external driver and are not easy to carry, this portable colorful badge powered by a button battery is designed for daily play.
Compared with the previous version, it has the following advantages:
(1) With its own driver chip, the badge has good integrity
(2) Powered by a button battery, low power consumption in the off state
(3) Supports display mode and brightness adjustment, and supports mode switching
(4) Designed magnetic structure for easy assembly
(5) Drawing on the PP coin gameplay, it has playability and good operating feel
 
2022.12.14 version improvement instructions
① Replace the solution of contacting the conductive sticker with the PCB to produce a button effect with a two-way switch to make the top cover rotation effect more controllable;
② Modify the structure of the top cover and use 3D printing instead of the effect of the uniform light paper;
③ Reduce the size of the lamp beads and increase the number of lamp beads to make the display more delicate.
 
1. Effect display
B station video link: [DIY] Make a low-cost, beautiful and decompressed colorful PP coin~
 
2. Hardware
front
and back
 
2.1 Main control chip
The peripherals designed for this project are only WS2812B lamp beads and buttons, so there is no need for a powerful single-chip microcomputer. STC15W204S-35I-SOP8 is selected. The price of a single chip is only about one yuan, which is suitable for the low-cost development needs of this project. Four burning contacts are reserved on the PCB board for downloading programs. It should be noted that: the current test found that the boost circuit cannot be burned after welding, so it is recommended to burn the program first, and then weld the boost circuit.
2.2 Power supply
circuit The power supply can be 3.0V CR2032 disposable button battery or 3.6V LIR2032 rechargeable button battery
① CR2032 disposable button battery power supply The power
supply uses a 3.0V CR2032 button battery, which needs to be welded and boosted to 3.6V through the QX2304L36T chip to power the WS2812B lamp beads and STC15W204S microcontroller.
② LIR2032 rechargeable button battery
Since the voltage of LIR2032 is 3.6V, SB can be short-circuited and the battery can be used directly for power supply. I personally recommend using LIR2032 power supply, which can simplify the circuit and facilitate program downloading.
2.3 WS2812B lamp
beads use 2020 size WS2812B colored lights.
2.4 Bidirectional switch
[Taobao] https://m.tb.cn/h.URgMFqY?tk=BxoId3wLsT4 CZ3457 "Original Japanese ALPS Micro Bidirectional Detection Reset Switch SSCM120100 SMD Travel Limit" Click the link to open directly or search on Taobao to open directly
3. Software
3.1 The control program
is written in Keil C51. For specific programs, see the attachment~
3.2 Program download
Select the 51_WS5812B.hex file in the Objects folder under the program folder for burning. The burning configuration is shown in the figure below. Select the clock frequency of 20MHz. It can be downloaded through the burning contacts reserved on the PCB when the boost circuit is not soldered.
4. Installation instructions
4.1 Material preparation
① The badge panel
can print the required pattern through the Lichuang panel, set the place where light is required to be transparent, and make some panel patterns by myself. The panel files are placed together in the "Editor Open" project. I will use ordinary panel printing here. If you need a panel, you can try to use strong shading to reduce light leakage in the non-transparent part;
② Badge shell
The badge shell is printed using 3D and is divided into top cover, middle frame, and bottom cover. The three parts will be connected by magnetic suction.
③ Magnet
size
Quantity
Diameter 3mm, thickness 1mm
13
Diameter 3mm, thickness 2mm
2
Diameter 3mm, thickness 5mm
1
 
④ Welded light module
4.2 Installation process
Note: During the installation process, the front and back sides of the magnet installation should be determined to ensure that each part can be magnetically matched.
① Top cover installation
and the number of magnets on the top cover can be increased or decreased according to the feel.
② Middle frame installation
 
③ Bottom cover installation
④ Installation order
The installation order from top to bottom is: badge panel -> top cover -> middle frame -> light module -> bottom cover
 
The assembly is as follows. If the light module or panel is loose, it can be fixed with glue.
5. Instructions for use
5.1 Color switching and brightness adjustment
Rotate the top cover in the light adjustment mode to adjust the light color;
rotate the top cover in the brightness adjustment mode to adjust the light brightness.
5.2 Mode Switching:
Flip the bottom cover and short press the back button to switch between light adjustment mode and brightness adjustment mode.
5.3 Power On
/Off Status: Flip the bottom cover and long press the back button in the power-on state to shut down the badge. The microcontroller is in a low power state and the power supply of the lamp beads is disconnected through the MOS tube. In the power-off state, flip the bottom cover and press the back button to automatically enter the power-on light adjustment mode and retain the previous color display and brightness configuration.
The following is the power consumption measurement of the power supply voltage of 3.6V and the non-welding boost circuit:
 
 
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-20 10:59:18

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号