This paper introduces the working principle of bicycle lamp scheme development; It is a lamp installed on a bicycle for cyclists to drive at night. Many riders only use flashlights and holding clips as warning tools for night travel at night. Although it is economical, because the light source is too narrow and not eye-catching at night, the risk factor is still very high. Therefore, the scheme development of bicycle lamp can effectively avoid the occurrence of danger.
As the main brain of the whole circuit, Jiuqi brand main control chip MCU controls the built-in battery to supply power to the circuit, and then controls the LED bulb to emit light.
Single chip microcomputer selection
The program is developed using Jiuqi MCU ny8a050d model, and the package model is 8-pin SOP.
LED light source lamp bead chip, single chip microcomputer main control chip, driving circuit, light sensor, battery and other components.
The following functions are realized through MCU program development
1. It can automatically sense light, automatically open at night, automatically close during the day, and automatically open when entering the tunnel or low brightness space;
2. Like the automobile turn signal lamp, the turn signal lamp will turn off automatically after going straight;
3. With speed sensor, it can accurately sense the acceleration, deceleration and normal driving state of the current vehicle, and quickly convey your speed to the rear;
4. With remote control, you can operate without getting off the bus.