For the 1.5V wireless keyboard and mouse on hand, the batteries will need to be replaced after a while, because they are planned to be modified to a charging solution that can be plugged into TYPE-C for charging. In fact, you can directly purchase the finished module and modify it, but you need to disassemble the keyboard and mouse to disassemble and modify the interior, which may cause damage to the internal space.

This project is to make the chipset look like a battery, which can be directly inserted into the battery slot and used with a micro battery, or with a large battery in the available space of the device.
The charging management chip is TP4056A, so it only supports 5V1A. Further modifications can be made by adding a wireless charging module, so that in the future you can simply place the mouse on the wireless charging mat when not in use.
Because I am handicapped, I use 1206 patches to widen the patch spacing for easier welding.
Actual use: After pasting the components on the board, according to whether you need AA or AA batteries, cut them according to the instructions in the PCB diagram, and then directly weld the back of the cut piece to the space left on the back of the board to form a Just the battery frame. It should be noted that after cutting, you need to scrape off about 1mm of the exposed 5V+ pole on the back of the board to avoid short circuit. The external board of the Type-C interface serves as the 1.5V negative electrode, and the actual standby loss has not been measured (no tools are available).
Attached is an example of an AA battery I made (the lithium battery is a small battery I picked up on the roadside before, with only 280mah. This is just a demonstration)



BOM download
PCB_5, No. 7 1.5V rechargeable battery module_2022-09-24.pdf
PCB_5, No. 7 1.5V rechargeable battery module_2022-09-24.json
5. No. 7 1.5V rechargeable battery module_2022-09-24.pcbdoc
Gerber_5、7号1.5V充电电池模块_2022-09-24.zip
61547
基于RDA5807FP+PAM8403DR 的收音机
简介:基于RDA5807FP的收音机 V2.0 更改了功放部分电路,使用了PAM8403DR芯片外放,更改耳机接口
只需要一块RDA5807FP收音芯片和其他简单电路就可以接收到广播信号了,制作简单,板子一片收音芯片和自带PAM8403DR功放芯片,可以接喇叭,或者使用耳机来收听广播,平时不接耳机的话通过板上的功放芯片放大后通过喇叭收听,插上耳机后电路自动断开功放电路,通过耳机播放,板子按键功能:POWER (开机/关机)、 FERQ+(频率加)、FERQ-(频率-)、VOL+(音量加)、VOL-(音量减)
板子原理图:
pcb布局图:


3D板子图:
InShot_20220413_221707113.mp4
BOM下载
PCB_RDA5807FP V2.0_2022-09-24.pdf
PCB_RDA5807FP V2.0_2022-09-24.json
RDA5807FP V2.0_2022-09-24.pcbdoc
Gerber_RDA5807FP V2.0.zip
Schematic_基于RDA5807FP+PAM8403DR 的收音机_2022-09-24.pdf
SCH_基于RDA5807FP+PAM8403DR 的收音机_2022-09-24.json
RDA5807FP V2.0_2022-09-24.schdoc
61548
旋转LED电子钟-V2.0
简介:旋转LED电子钟V2.0版本,采用STC8H8K64U单片机和DS1302时钟芯片,60个LED可以变换出各种图案。STC8H8K64U可以通过USB接口在线仿真和下载程序,可以当作一个开发板使用。
1. Project Introduction
Electronic process internship program, select direct plug-in devices. The rotating LED electronic clock uses STC8H8K64U microcontroller and DS1302 clock chip. 60 LEDs can transform into various patterns. STC8H8K64U microcontroller is the latest microcontroller launched by STC Company. The most significant feature is that it can directly simulate and download programs through the USB interface. Therefore, the rotating LED electronic clock can not only be used as an electronic technology internship program in colleges and universities, but also can be used as a learning tool for STC Microcontroller development board.
The V1.0 version of the project has been released for more than 2 years and has been welcomed by many friends. Project link: Rotating LED Electronic Clock - Jialichuang EDA open source hardware platform (oshwhub.com).
In response to the suggestions and questions raised by netizens, after careful consideration, the second version was carefully designed and the following changes were made:
1. The MCU was replaced. The microcontroller STC15W408AS used in version 1.0 of the project is often out of stock at Lichuang. After thorough research, the STC company's microcontroller STC8H8K64U-45I-PDIP40 was selected. The main reason for choosing the direct plug-in package is to facilitate students' soldering. Another benefit of the STC8H8K64U microcontroller is that you can directly simulate and download the program through the USB port. It is so convenient. You can use this project as a development board for learning microcontrollers and conduct secondary development yourself.
2. The temperature sensor has an NTC temperature measuring resistor and is replaced with DS18B20. The reason is that DS18B20 has higher accuracy and can be debugged on a single bus through simulation.
2. Download and Simulation
(1) Download
STC's ISP software through the USB interface, and support the direct downloading of sample programs in the software to the microcontroller. The direct download button is as shown in the figure below.
Before downloading, you still need to perform the following steps: First, use a USB cable to correctly connect the circuit board to the computer, and then open STC's ISP download software. In the above interface, the following points need to be noted: 1. The microcontroller model must be selected as "STC8H8K64U". 2. The circuit board uses the hardware USB interface to download. To enter USB download mode, first press and hold the SW4 button (P3.2/INT0) on the circuit board to ground, then press the SW5 power button to turn off the power, then release the SW5 power button, and finally release the SW4 button (P3.2/ INT0). Under normal circumstances, the "STC USB WriterHID1" device can be recognized, and then the HEX file can be downloaded through USB.
(2) To simulate through the USB interface, first open STC's ISP, download the software, and then click the "Add model and header file to Keil" button in the "Keil Simulation Settings" page in the right functional area of the software, and press
the button
The following screen will appear.
Locate the directory to the installation directory of the Keil software. After confirming that the installation is successful, the following prompt box will pop up.
You can see the following files in the relevant directories of Keil, which means that the driver is installed correctly.
Because in the default state , the main control chip is not a simulation chip and does not have simulation function, so if you need to use the simulation function, you also need to set the main control chip as a simulation chip. The steps for making a simulation chip are as follows:
First, use a USB cable to connect the circuit board to the computer and enter the USB download mode: first press and hold the SW4 button (P3.2/INT0) on the circuit board to ground, then press the SW5 power button to power off, and then Release the SW5 power button, and finally release the SW4 button (P3.2/INT0).
Under normal circumstances, the "STC USB WriterHID1" device can be identified. Select "STC8H8K64U" as the microcontroller model. Use USB port for simulation. Select the IRC frequency for the user program to run. When making the simulation chip, the frequency selected is consistent with the frequency set by the simulated user program to achieve the real operating effect. Then click the "Set the selected target microcontroller as simulation chip" button in the "Keil Simulation Settings" page in the right functional area of the software.
If the setting is successful, the following screen will appear
. At this point, the simulation chip has been successfully created. Next, we open a project for simulation
and then perform the following project settings:
press the shortcut key "Alt+F7" or select Option for Target Target1 in the menu "Project" and set the project in the "Option for Target Target1 ''" dialog box Configuration Step 1. Enter the project settings page and select the "Debug" setting page. Step 2. Select the hardware emulation "Use" on the right. Step 3. Select the "STC Monitor 51 Driver" item in the simulation driver drop-down list. Step 4. Click the "Settings" button to enter the interface settings screen. Step 5. Select U SB interface emulation.
Confirm that the simulation settings are completed. The detailed steps are as shown in the figure below.
After completing all the above work, you can press "Ctrl+F5" in the Keil software to start simulation debugging. If the hardware connection is correct, you will enter a debugging interface similar to the one below, and the current simulation driver version number and the current simulation monitoring code firmware version number will be displayed in the command output window. As shown in the figure below,
during the simulation debugging process, you can execute Reset, run at full speed, single step, set breakpoints and other operations.
As shown in the figure above, multiple breakpoints can be set in the program. The maximum number of breakpoint settings currently allowed is 20 (in theory, any number can be set, but setting too many breakpoints will affect the speed of debugging).
3. Next step plan
1. Change the USB interface to a direct plug-in TYPE-C interface;
2. Use the DS1307 clock chip and directly use the hardware IIC of the microcontroller to read;
3. Reserve an external TTL serial port terminal to facilitate serial communication programming;
4. To be determined ------
Rotating LED electronic clock V2.hex
Rotating LED electronic clock-V2.mp4
BOM_PCB_Rotating LED electronic clock-V2.0 (including replacement components).csv
BOM download
PCB_PCB_Rotating LED electronic clock-V2.0_2022-09-24.pdf
PCB_PCB_Rotating LED electronic clock-V2.0_2022-09-24.json
Schematic_Rotating LED electronic clock-V2.0_2022-09-24.pdf
SCH_Rotating LED Electronic Clock-V2.0_2022-09-24.json
Rotating LED electronic clock-V2.0_2022-09-24.schdoc
PCB_Rotating LED electronic clock-V2.0_2022-09-24.pcbdoc
Gerber_PCB_Rotating LED electronic clock-V2.0.zip
61549
electronic