文本描述
摘要本系统包括电源部分和单片机部分,由升压模块、稳流模块、单片机操作模块及驱动模块组成。该系统采用把3/3.6V电压升压至12V(采用LM2596电压可调芯片),再由12V控制恒流输出,以此来驱动LED灯。本系统采用STC12C5A60S2单片机作为核心元件,通过高低电平控制绝缘栅场效应管的打开和关断,接通会选择不同的采样电阻从而获得不同的电流值,把测得的电阻值显示在显示屏上。这种通过单片机给定不同的电平来实现操作的方法简单又方便。关键词:LM2596芯片 STC12C5A60S2芯片 绝缘栅场效应管AbstractThis system includes a power supply part and the MCU part, by boosting module, constant current module, MCU operation and display modules. The system uses the 3/3.6V voltage boost to 12V (using LM2596 voltage adjustable chip), and then by the 12V control constant current output, in order to drive LED lights. The system uses STC12C5A60S2 microcontroller as the core component, through the high and low level control of the insulation gate field effect tube open and close, on the choice of different sampling resistor to obtain different current value, the measured resistance values displayed on the display screen. This method is simple and convenient to achi