Introduction: BICYCLE LIGHTING INDICATOR: LUX
LUX is an unique designed product for the bicycle. It is a gadget that can be hanged in the back position of the seat. It indicates if the cyclist is slowing down, turning left or turning right by using a matrix of LEDs (output). It is simple and intuitive for the other driver to understand the user’s intention and also for the cyclist due to the whole system is automatic. The user don’t have to press any button because it detects the inclination and the acceleration by an gyroscope and accelerometer integrated chip (input). This device is controlled by the arduino code that we will define it and is powered by the battery.
Step 1: COMPONENTS
For realizing this project, it requires the components organized in the list.
Step 2: WIRING
In this section, it shows the wiring between the ports of the three components which are the Arduino Uno, the 8x8 LED matrix with MAX7219 and the Module MPU-6050. The graphic scheme is made thanks to the programme called fritzing.
Step 3: FLOWCHART
The flowchart is a type of diagram that represents an algorithm, workflow or process, showing the steps as boxes of various kinds, and their order by connecting them with arrows. This diagrammatic representation illustrates a solution model to a given problem.
In our project, the aim is to define the three sequences when the LED matrix will shows the lighting indication. Those three sequences are:
1. Breaking or slowing down
2. Turning left
3. Turning right
Step 4: SUPPLEMENTARY CODE
There are three files needed to run the project, located in the attached zip file, as well as three libraries needed to run the LED matrix and the gyroscope chip.
Step 5: CODE
In this chapter, it contains the archive of Arduino code with the correspondent commentary writen after each paragraph of programming's methods.
Step 6: PROTOTYPING
Once have done all the previous process, it will proceed to make a wooden box which will be the formal part of the project. There is an .dwg archive attached that defines the measures of each pieces which will be cut by laser.
Step 7: VIDEO
Here is a functional video of how LUX works.
4 Comments
Question 3 years ago on Step 7
Hi the tutorial is very nice! .and I am interested to make it. But I want to us wemos D1 ini instead of nano. Which parts of code that I should change ?
3 years ago
How to add speedometer with the project?
5 years ago
Neat idea ... does it work on a real bike? I am guessing you'll have trouble with the turn indicators if it's mounted firmly to the frame. On a bike when you turn, there's no effective lateral force: you must lean so the net force is straight down the frame into the tires.
5 years ago
It would be nice to have an indicator like that on my bike :) Not everyone recognizes the hand signals. ^.^;