Summary of Bicycle Backlight With Arduino
This article details a DIY bicycle accessory: a pattern-based LED backlight for a rear bag, designed to signal safe overtaking to faster riders. The project uses an Arduino Uno and an 8x8 LED matrix powered by a 18650 battery to display moving arrows, addressing safety concerns after multiple falls and slow riding speeds.
Parts used in the Bicycle Backlight:
- Arduino Uno (Compatible board made by Chinese manufacturer)
- 5V voltage boost break-out board (Step-up voltage from 3.7V to 5V)
- 18650 type 2000mAh battery (3.7V) with holder
- 8x8 LED matrix display with MAX7219 controller
- Pin header, wires, DuPont jumper wire, and SPST switch
- Acrylic boards (WxH: 8cm x 7cm), metal PCB supporter x 3, nuts (3.5mm)
- Universal PCB
This is the first bicycle accessory gadget I made with Arduino.
It’s a pattern-based backlight attached to the back-bag mounted on the bicycle luggage compartment.
I’m riding an electric bicycle which can speed up around 24km/h at maximum.

But I had fallen already three times and one of the incidents makes me go to the hospital for checking possible fractures.
After the unpleasant experience, I’m riding the bicycle at a safer speed around 10km/h.
But this time, usually I’m hearing honking from the backside by other bicycle riders as my speed is a little slow.
Therefore, I made this moving arrow pattern of the backlight which tells other bicycle riders to overtake me if they want to go faster.
Step 1: Shape and Operation Concept

This is the exterior appearance of the backlight circuit including everything.
For using this one day and night, a relatively bright 8×8 LED matrix display is used.
When the brightness is set at its maximum, you can see a moving arrow even under daylight.
Arduino Uno is used for showing moving arrow patterns on the LED matrix.
To support portability, a 2000mAh of 18650 type of battery is included along with a 5V voltage booster regulator circuit.
You can see the video of the backlight circuit operation in the attached file below.
Let’s look at more details of the backlight circuit sub-components.
Step 2: Parts

As functionality is very simple, a few sub-components are used for making the backlight circuit.
The following are used parts for making the backlight.
– Arduino Uno (Compatible board made by Chinese manufacturer)
– 5V voltage boost break-out board (Step-up voltage from 3.7V to 5V)
– 18650 type 2000mAh battery (3.7V) with holder
– 8×8 LED matrix display with MAX7219 controller
– Pin header, wires, DuPont jumper wire, and SPST switch
– Acrylic boards (WxH: 8cm x 7cm), metal PCB supporter x 3, nuts (3.5mm)
I had soldered the male side of DuPont jumper wire to universal PCB and pin-header for plugging terminal end firmly to the female socket of Arduino.
When you are using the default male pinhead socket of DuPont wire, a relatively weak connection can’t stand shocks and vibrations caused by bicycle riding.
Step 3: Schematics

As just one break-out board needs to be integrated with Arduino Uno, I enclosed everything into single acrylic boards of transparent chassis.
Overall wiring is very simple as Uno is connected with just two external boards as follows.
– 3.7V output from 18650 battery firstly fed to voltage booster regulator circuit
– 5V output from booster regulator is connected to Vin and GND pins of Arduino Uno for powering up the micro-processor
– For controlling 8×8 LED matrix, only three pins are required to be interconnected between Uno and LED matrix such as DIN to PIN 12, CS to PIN 11, and CLK to PIN 10.
– Power of 8×8 matrix can be connected to Vcc (5V) and GND pins of Uno
Step 4: Sketch Program

Luckily I found this sketch program on the Internet.
I can’t remember the web page or any information about the author of this program.
But I guess the original author of this program is very expert in making such kind of code.
When you look at the code as attached in the file below, arrow pattern moving is supported with a few of C++ codes.
As program logic is so compactly made with high efficiency, depicting the arrow pattern sequentially at each stage will be more comprehensive than the flowchart.
Step 5: Conclusion

Arduino and battery containing chassis is stored inside the pocket of the back-bag.
As a result of using this backlight, I’m hearing less honking sound from other riders even I’m riding this bicycle at a turtle moving speed such as less than 10km/h.
November is the late fall season in Korea and you can see lovely roads covered with fallen leaves.
I hope you also enjoy bicycle riding before snow falls and become too much cold to ride a bicycle.
And if you preparing such kind of accessory gadget, you will have less hustle while riding a bicycle as your style and tastes.
Thank you for reading this story.
Source: Bicycle Backlight With Arduino
-
What is the main purpose of this Arduino bicycle accessory?
The device displays a moving arrow pattern to tell other bicycle riders they can overtake safely if they want to go faster. -
How does the creator power the circuit for day and night use?
A relatively bright 8x8 LED matrix display is used which shows a moving arrow even under daylight when brightness is set to maximum. -
Can the 18650 battery support the 5V requirement of the Arduino?
Yes, a 5V voltage booster regulator circuit steps up the 3.7V output from the 18650 battery to 5V for powering the microprocessor. -
Why did the author solder male DuPont wires to a universal PCB instead of using default sockets?
Default male pinhead sockets provide weak connections that cannot stand shocks and vibrations caused by bicycle riding. -
Which pins on the Arduino Uno connect to the LED matrix controller?
DIN connects to PIN 12, CS connects to PIN 11, and CLK connects to PIN 10. -
Where is the Arduino and battery chassis stored on the bicycle?
The chassis containing the Arduino and battery is stored inside the pocket of the back-bag mounted on the luggage compartment. -
Did the project improve the rider's experience regarding honking sounds?
Yes, the author reports hearing less honking sound from other riders even while riding at a very slow speed of less than 10km/h.
