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.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
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.