Electric Longboard

From ESE205 Wiki
Revision as of 22:03, 7 April 2016 by Jacobfrank (talk | contribs)
Jump to navigation Jump to search

Project Overview

In this electric longboard project we want to enhance the longboard riding experience by adding automatic headlights, a way to measure the speed of the rider, and the distance rode. Riding at night can often be dangerous, these headlights will help to improve safety for the rider (along with their helmet). Typically a rider has no sense of how far or how fast they have traveled, we hope these capabilities will lend a quantitative aspect to daily usage.

Team Members

  • Max Cetta
  • Jacob Frank
  • Alden Welsch (TA)


These three aspects will be the focus of our project:

  1. Distance By adding a GPS chip to the board we can collect coordinate data at 1 Hz, which we can then filter and use to calculate distance travelled on a raspberry pi board.
  2. Speed Using a custom printed encoder on two wheels of the longboard we want to collect data on how fast the wheels are spinning, which we can then convert to speed travelled based on the circumference of the wheels.
  3. (Potential Addition) Headlights We want to create automatic headlights that will come on when it becomes dark outside. By having a light sensor attached to our raspberry pi we can tell when it becomes dark and turn on the LED's. By interpreting the data from our encoder circuit we also hope to be able to tell which way the board is rolling so the front of the board has headlights on, as to not blind cars or riders behind. In the process we want to add blinking safety lights in the back of the board, whichever way it may be facing.


  1. Building Encoders Building and programming the encoders so it can reliably tell us how fast the board is traveling, especially at high speeds when the wheel may spin many times a second. Also figuring out how to distinguish which direction the longboard wheel is spinning.
  2. GPS Chip We aren not currently familiar with how to interpret GPS chip data. We will need to familiarize ourselves with GPS chip programming, and calculating distance using coordinates. Also, making a reinforced program that will filter out erroneous data due to environmental factors.
  3. Mounting Taking all of our components and putting them in a compact container which can be secured to the longboard. We need to maintain as light a design as possible considering the board is being manually powered, while still keeping all the components safe and dry.
  4. Automation Ideally this circuit would be able start and stop on its own based on whether it is being ridden. Because we are using a Raspberry Pi we will be able to extract the data we want later eliminating the need for real time remote display or control. The difficulty will be figuring out how to kick start the circuit.
  5. LED Control In order to maximize the brightness of the headlights we need to directly hook the LED's up to whatever battery we have. Using an LED driver we hope to be able to keep constant voltage across all LED's while maintaining control of each individually.


Item Quantity Price Vendor Link
GPS Receiver - GP-20U7 (56 Channel) 1 $15.95 Sparkfun https://www.sparkfun.com/products/13740
Mini Photocell 1 $1.50 Sparkfun https://www.sparkfun.com/products/9088
Voltage Regulator - 5V 1 $0.95 Sparkfun https://www.sparkfun.com/products/107
Raspberry Pi 2 - Model B (8GB Bundle) 1 $49.95 Sparkfun https://www.sparkfun.com/products/13724
Resistor Kit - 1/4W (500 total) 1 $7.95 Sparkfun https://www.sparkfun.com/products/10969
Solder-able Breadboard - Mini 1 $2.95 Sparkfun https://www.sparkfun.com/products/12702
Polymer Lithium Ion Battery - 6Ah 1 $32.95 Sparkfun https://www.sparkfun.com/products/8484
Miniature Solar Cell - BPW34 1 $1.50 Sparkfun https://www.sparkfun.com/products/9541
LilyPad LED White (5pcs) 1 $3.95 Sparkfun https://www.sparkfun.com/products/10081
Total $117.65

Potential Additions

Item Quantity Price Vendor Link
12-Channel 16-bit PWM LED Driver 2 $7.50 Adafruit https://www.adafruit.com/products/1455
Super Bright LED - White 10mm 20 $1.50 Karlsson Robotics http://www.kr4.us/super-bright-led-white-10mm.html
Super Bright LED - Red 10mm 10 $1.50 Karlsson Robotics http://www.kr4.us/super-bright-led-red-10mm.html
Total $60.00
Gantt Chart