Introduction: [Arduino] Arbike - a Interactive Bike Lighting System

Picture of [Arduino] Arbike - a Interactive Bike Lighting System

Arbike v5.1
This code is based on Arduino, is about an interactive bike's lighting system.


Main Feature :
Speedometer — Current speed / Trip distance
Thermometer — Current temperature
hygrometer — Current humidity
Front — Strong LED headlights
Back — Emotional "Useless Box" combine with tail lights (base on LED matrix)
Automation on/off — Detect brightness / people
Switching modes — switch system to auto or off


Source code is on Github !
— the features are continuously update and open to change by anyone.


Inspire by :
1. Pimpmybike:
2. Useless machine(Kairoshi):

Step 1: Video Demo

Simple demo video:

Step 2: Hardware Required

Picture of Hardware Required

1. Arduino nano *1
2. LED matrix(16*24) with HT1632C *1
3. LCD with I2C *1
4. HC-SR04 *1
5. SG90 servo motor *2
6. Photoresist *1
7. DHT11 *1
8. Breadboard *1
9. Reed switch
10. Button *4
11. Resistance 10k *2
12. Cables / Wires / *n
13. LED *3
14. Power bank *1 (for power supply)
15. USB Type A to USB Mini-B wire *1

Step 3: Hardware Connections

Picture of Hardware Connections

Follow the photos and wire up your system !

Step 4: Software Library Required:

Picture of Software Library Required:

1. Download the libraries below:
(git clone or enter the link, and click clone or download, download zip)

"Timer.h" ->
"LiquidCrystal_I2C.h" ->
"DHT.h" ->
"Adafruit_GFX.h" ->
"Adafruit_HT1632.h" ->

modified by myself to fit my LED matrix:
(please use this two version below, instead of the original version.)
"Adafruit_GFX.h" ->
"Adafruit_HT1632.h" ->

2. Decompressed the files you downloaded.

3. Move them to Arduino library.
For MacOS, move all folders to


remember change shannon to your user name.

Step 5: Code

Picture of Code

Go to my Github get the latest code.
Click branch to change the branch to new-master or the latest tag version.
Click clone or download to download.
Decompressed the file you downloaded.


Enter the Arbike_main folder,
Open the Arbike_main.ino,
Compile and upload to your Arduino nano by Arduino IDE !

Step 6: (NOT NECESSARY) Change Arbike Face by Yourself !

Picture of (NOT NECESSARY) Change Arbike Face by Yourself !

Through the excel in package you can change Arbike face whatever you want !


copy the column in excel to the code.

const uint16_t slow[] PROGMEM = {<br>  B00000000, B00000000, B00000000,
  B00000000, B00000000, B00000000,
  B00010000, B00000000, B00001000,
  B00100000, B00000000, B00000100,
  B01000000, B00000000, B00000010,
  B10000000, B00000000, B00000001,
  B00111100, B00000000, B00111100,
  B00111100, B00000000, B00111100,
  B00000000, B00000000, B00000000,
  B00000000, B01000100, B00000000,
  B00000000, B10010010, B00000000,
  B01111000, B10010010, B00011110,
  B00000000, B01101100, B00000000,
  B01111000, B00000000, B00011110,
  B00000000, B00000000, B00000000,
  B00000000, B00000000, B00000000,

Step 7: It's Work!

This is a really fun project, I had a lot of fun creating it. If you also think so, please give me a favorite or visit my site.



trung2104 (author)2017-05-21

Really cool and usefull, you have my vote :))))))) btw, i agree about *the face :)))))

Shannon112 (author)trung21042017-05-24

thank you > <

DIY Hacks and How Tos (author)2017-05-16

That looks really cool. I wish that I had one of these for my bike.

I'm glad that you like it :D

About This Instructable




Bio: Hello, I'm Shannon112. I was born in 1996. I am a Student, Engineer, Maker, Biker, Backpacker. I am studying in National Taiwan University, Department ... More »
More by Shannon112:[Arduino] Arbike - a Interactive Bike Lighting System
Add instructable to: