Discrete component simulation circuit high-fidelity power amplifier, the first version of all direct plug components, the measured sound quality is perfect, but one transistor is reversed in the wrong direction (vt6)
A small desktop speaker using M18 Bluetooth module and pam8403 Class D amplifier. The circuit is simple and the sound quality is good.

Pay attention to some details. A large-capacity capacitor is connected in parallel to the power supply. The bass is better. Two 10u treble speakers are connected in parallel.
DF0B3FD7522905E32B41E3E984B1A5C8.mp4
VID_20220828_175426.mp4
QQ picture 20220828175304.jpg
IMG_20220828_174637.jpg
PAM8403 chip manual.pdf
BOM download
PCB_PCB_Desktop Speaker_2022-09-24.pdf
PCB_PCB_Desktop Speaker_2022-09-24.json
PCB_Desktop Speaker_2022-09-24.pcbdoc
Gerber_PCB_Desktop Speaker.zip
Schematic_Desktop Bluetooth Speaker_2022-09-24.pdf
SCH_Desktop Bluetooth Small Speaker_2022-09-24.json
Sheet_1_2022-09-24.schdoc
61423
Highly sensitive light intensity sensor
Introduction: Light intensity sensor based on BH1750
一、模块描述
1. 通过BH1750数字光强度检测芯片可以检测环境光强度
2. BH1750芯片内部自带16bit高精度AD转换器,避免了外接ADC,使输出简单化
3. 输出数字量,范围为0-65535,高精度,大范围
4. 该芯片具有接近于视觉灵敏度的分光特性,可用于屏幕自动调亮度等
5. 板子面积小,元件需求较少且精度满足大部分场合的需求。
二、实物展示
(排针焊在反面仅为个人需要,可以选择焊在正面,注意端口别接错)
三、接口说明
VCC: 接5V电压
GND: 接地
SCL: IIC时钟线,时钟输入引脚,由MCU输出时钟
SDA: IIC数据线,双向IO口,用来传输数据
ADDR: IIC地址线,(此模块该端口接地),接GND时器件地址为0100011 (另外一提,接VCC时器件地址为1011100)
四、使用说明 通过SCL接单片机的时钟输出。由SDA端口向外部输出亮度数字量。将ADDR接地,设置元件地址为0100011,则单片机地址为1011100,实现串口通信。
高灵敏度的光强传感器_85deab6a858544c891b68a11311ac7bf.zip
BOM下载
PCB_PCB_高灵敏度的光强传感器_2022-09-24.pdf
PCB_PCB_高灵敏度的光强传感器_2022-09-24.json
PCB_高灵敏度的光强传感器_2022-09-24.pcbdoc
Gerber_PCB_高灵敏度的光强传感器_2022-09-24.zip
Schematic_高灵敏度的光强传感器_2022-09-24.pdf
SCH_高灵敏度的光强传感器_2022-09-24.json
Sheet_1_2022-09-24.schdoc
61424
TPS5450降压模块
简介:TPS5450电源降压模块
TPS5450是德州仪器的一款具有宽电压输入(5.5V-36V),宽电压输出,大电流5A输出,峰值电流可高大6A,纹波低,具有过压,过热,过流保护,开关频率500KHZ,效率高达90%等特点的降压型开关电源芯片。TPS5450电源模块设置有12V 9V 5V 3.3V输出。元器件采用精密电阻。可以使得输出比较稳定。
此时是12V输入5V输出空载时的纹波,此时的纹波为5mv以内。可以通过改变输入电容,输出电容,续流二极管,前馈和后馈电容的值就可以改变输出纹波,在最开始测试的时候,输出纹波过大,于是把100pf的前馈和后馈电容更改为了1.5NF,纹波从最开始的100MV减小值20MV,此时的纹波还是很高,还夹杂着许许多多的毛刺,思来想去可能是因为续流二极管原因导致的,于是把最开始的B540C续流二极管更改为了MCC SK1045续流二极管,毛刺就小了很多如下图。续流二极管的主要作用是为了提高电源的转换效率。

这是3.3V输出时的纹波。纹波也不超过5mv,次模块的压差超过0.5V就可以正常工作。

加上5A负载时输出纹波也不超过15mv,满足一半场合,可以通过ENA引脚可以控制输出的关断悬空时电路正常工作,实用于单片机控制慢启动。由于没有负载仪,其他项就没有测试。TPS5450性能远超于mps2236。
注意事项:输入电源电压,采用高质量、低 ESR 陶瓷电容器在本模块中少一个电容都不行,别问为什么不行,因为本人亲自测量过,少一个也会导致输出的纹波有许许多多的尖峰毛刺,是正常纹波的好几倍,不信的话你也可以尝试。D1型号为MCC SK1045,不可以随意更换,如果更换请选择一个反向电压为 40V、正向电流为 5A 且正向压降为 0.5V 的二极管。
模块总价大约为在15元左右。
PCB_PCB1_2022-11-05.pdf
BOM_Board1_PCB1_2022-11-05.xlsx
Altium_TPS5450降压模块_2022-11-05.zip
PDF_TPS5450降压模块_2022-11-05.zip
BOM_Board1_Schematic1_2022-11-05.xlsx
61426
基于555定时器的七音电子琴设计
简介:基于555定时器的七音电子琴
原理(工程文件见附件): 根据外接电阻阻值的不同,555定时器的3号管脚(OUT)可以输出不同频率的方波。而无源蜂鸣器发出的声音与输入的频率有关。基于这个原理,可以用多电阻串联的方式,加上开关。按下不同的开关,555定时器会输出相应音符的声音频率,通过蜂鸣器实现七个基本音符的发声,实现555定时器简易电子琴的制作。
步骤: 确定555定时器的接法,用5v电源驱动芯片。为了稳定电路,5管脚(COUT)接0.01uf的去耦电容。由于555定时器的输出频率和外部电阻和电容决定,设定电容为100nf,7号放电管脚(DISCH)的上拉电阻设为1k欧,所以,仅需考虑2,6管脚与7脚之间的电阻阻值。
蜂鸣器模块:
采用现有模块(声音频率可调模块) 其中io口接555定时器的OUT脚
阻值计算: 七个音符,多瑞密法索啦西,频率逐渐增大,周期减小,根据计算公式T=0.7*(R1+2*R2)*C1,由于R1为固定值1k,C1为100nf,所以只需考虑R2的阻值。在高音范围内,七个音符的对应频率分别为1046.5Hz,1174.66Hz,1318.51Hz,1396.92Hz,1567.98Hz,1760Hz,1975.52Hz。计算得每个音符对应的R2总值,由于电阻是串联的,所以需要计算出各相邻音符的总阻值插值作为各音符的阻值。根据以上公式和设定的频率,计算得多瑞密法索啦西对应的阻值依次为3100欧,430欧,470欧,470欧,410欧,530欧,750欧.

原理图:

仿真演示:
哆音符:

rui音符:
咪音符:
发音符:
suo音符:
啦音符:
xi音符:
电子琴.rar
BOM下载
PCB_PCB_基于555定时器的七音电子琴设计_2022-09-24.pdf
PCB_PCB_Seven-note electronic keyboard design based on 555 timer_2022-09-24.json
PCB_Seven-note electronic keyboard design based on 555 timer_2022-09-24.pcbdoc
Gerber_PCB_Seven-note electronic keyboard design based on 555 timer.zip
Schematic_Seven-note electronic keyboard design based on 555 timer_2022-09-24.pdf
SCH_Seven-note electronic keyboard design based on 555 timer_2022-09-24.json
Design of seven-tone electronic keyboard based on 555 timer_2022-09-24.zip
61427
Modular temperature sensor based on LM393
Introduction: Temperature sensor based on LM393, which can output analog and digital quantities
1. Module description
1. The ambient temperature can be detected through the thermistor
2. The sensitivity can be changed by adjusting the potentiometer
3. Analog and digital quantities can be output for easy collection
4. Using the voltage comparator output inside the LM393, the resulting waveform Relatively clean
5. Small board, less component requirements.
2.
See Appendix
3 for the physical display demonstration video. Interface description
VCC: Connect to 3.3V-5V voltage
GND: Ground
DO: Digital output port
AO: Analog output port
4. Instructions for use (1) 1 The thermistor module is sensitive to the ambient temperature The most sensitive, generally used to detect the temperature of the surrounding environment. 2. When the ambient temperature of the module does not reach the set threshold, the DO port outputs a high level. When the external ambient temperature exceeds the set threshold, the module DO outputs a low level; 3. The small digital output D0 can be directly connected to the microcontroller. Use the microcontroller to detect the high and low levels, thereby detecting the temperature changes of the environment;
5. Instructions for use (2)
Connect VCC and GND, the module power indicator will light up. Place the module on the desktop, adjust the blue potentiometer on the board until The switch indicator light on the board lights up, then adjust it slightly to make the switch indicator light go out, and then find a way to increase the temperature of the thermistor. At this time, the module switch indicator light will light up. If the temperature of the thermistor is lowered further, the switch indicator light will return to the off state. This phenomenon shows that the ambient temperature can trigger the module, causing the switch indicator light to light up.
Temperature sensing module_330edf51023243b6ad109fd818ce5a49.zip
QQ video 20220726194933.mp4
BOM download
PCB_PCB_Analog and digital temperature sensor based on lm393_2022-09-24.pdf
PCB_PCB_Analog temperature sensor based on lm393_2022-09-24.json
PCB_Analog temperature sensor based on lm393_2022-09-24.pcbdoc
Gerber_PCB_Analog temperature sensor based on lm393_2022-09-24.zip
Schematic_Analog temperature sensor based on lm393_2022-09-24.pdf
SCH_Analog temperature sensor based on lm393_2022-09-24.json
Sheet_1_2022-09-24.schdoc
61428
electronic