[Arduino] Arbike - a Interactive Bike Lighting System




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

About: 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 of Mechanical Engineering. 「Github:https://github.com/shan…

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:http://jdeboi.com/portfolio/pimpmybike/
2. Useless machine(Kairoshi):https://www.youtube.com/watch?v=bOD2-mRphTI

Step 1: Video Demo

Simple demo video:

Step 2: Hardware Required

1. Arduino nano *1
2. LED matrix(16*24) with HT1632C *1 https://goo.gl/fACroy
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

Follow the photos and wire up your system !

Step 4: Software Library Required:

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

"Timer.h" -> https://github.com/JChristensen/Timer
"LiquidCrystal_I2C.h" -> https://bitbucket.org/fmalpartida/new-liquidcrysta...
"DHT.h" -> https://github.com/adafruit/DHT-sensor-library
"Adafruit_GFX.h" -> https://github.com/adafruit/Adafruit-GFX-Library
"Adafruit_HT1632.h" -> https://github.com/adafruit/HT1632

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

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

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 !

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.


Lights Contest 2017

Participated in the
Lights Contest 2017

Untouchable Challenge

Participated in the
Untouchable Challenge

Be the First to Share


    • Make It Bridge

      Make It Bridge
    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • Big and Small Contest

      Big and Small Contest



    5 years ago

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


    Reply 5 years ago

    thank you > <

    DIY Hacks and How Tos

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


    Reply 5 years ago

    I'm glad that you like it :D