Design of LED Lantern Controller Based on ATMEGA8

RF cable can be customized for other specifications
If you want to change the LED pin, please modify the hardware.h file. If you want to modify the brightness of the LED, modify the Timings section definition in globals.h. This design has two external buttons, one is to select the working mode, and the other is the power switch. When you press the mode button for more than 1.5 seconds, enter the automatic mode and all the preset modes will be automatically demonstrated.

Eight LEDs are connected directly to Vcc and do not require a current limiting resistor. This production uses a synchronization timer and uses sleep to save power.

Physical map:

基于ATMEGA8的LED彩灯控制器设计0

Circuit diagram:

基于ATMEGA8的LED彩灯控制器设计1

PCB diagram: 基于ATMEGA8的LED彩灯控制器设计2

P2.2X3 Automotive Right Angle Male Connector

P2.2X3 Automotive Right Angle Male Connector.Automobile connector is a kind of component that electronic engineers and technicians often contact. Its function is very simple: build a communication bridge between blocked or isolated circuits in the circuit, so as to make the current flow and realize the predetermined function of the circuit. The form and structure of automobile connector are ever-changing. It is mainly composed of four basic structural components: contact, shell (depending on the variety), insulator and accessories.

P2.2X3 Automotive Right Angle Male Connector

ShenZhen Antenk Electronics Co,Ltd , https://www.antenkcon.com