Electronics needed
For this project, we will need the following components as shown in Figure 3.1. Up on the right, you will find the FLORA board used in previous chapters. The round sensor at the bottom in Figure 3.1 may seem familiar. This is the same accelerometer/compass/gyro we used in the previous chapter. We will be using this sensor to track some basic gestures, so we know when to turn on the light and if we want to make a turn or stop. To the left and right of the accelerometer/compass/gyro you will find a set of white and red LEDs. These are surface mounted LEDs specially made for working with wearables. For this project, you can use any amount of LEDs and any color you want, but the idea is to have white LEDs for indicating direction and red ones for indicating stopping. When choosing the color of your LEDs, first make sure that they follow the biking laws in your country. Some countries have special rules for the color of the light in relation to their position on the bike...