Smart eBike Kit


Objecting Detection System

Part of our innovation for the project was to create an object detection system that can help the eBike rider avoid crashes. We researched and went over three methods of doing so.

  1. Camera ✖ - Being the cheapest option, we considered this first. Although a camera has a high FOV, the problem arises where the rasberry Pi only being able to process 4-5 frames at a MAX every second. This will cause the Pi to get hot, reduce its capabilities and waste power. Also adequate lighting is needed, which makes it useless for night time. There are ways to increase the frame rate, but its expensive.
  2. Ultrasound ✖- The second option was also cheap, and it had very low power consumption. Similar to the camera, it has a high FOV but very short inaccurate range (up to 3m). On a bike, 3m between a car and bicycle is so limited, and a car going 30 MPH will close that distance in less than a second, so it would not be safe.
  3. LiDAR ✔- The final option was LiDAR. It is very expensive ($170) but the benefits outweight the cost. LiDAR means Light Detection and Ranging. It is a remote sensing method that uses light in the form of a pulsed laser to measure ranges to an object. Our LiDAR that we chose has a range up to 40m, and a low power consumption 675mW and operates with a 5V source, perfect for our DC/DC converter. It will be used via the I2C interface since the motor uses the PWM pins.

How it is used and placement
We went over many scenarios and did research on bicycle accidents. We decided as a starting point, the LiDAR should act as rear eyes, since the rider has eyes infront of him, and is limited to knowing what's behind them, compared to a car using mirrors. We decided to place ontop of the battery compartment, at a 30-45 degree angle towards the left towards vehicles, assuming you're on the right side of the road. Then on our smartphone app, we will have a bar that shows how close an object is coming to you. This is a basic use of the LiDAR and we wanted to explore more advance ways of using it (ways to ignore certain objects, the LiDAR being able to rotate), but due to COVID-19, we didn't get that far.
Smartphone App Display
Below in the video is a demonstration of the LiDAR data being sent to the app. Keep in mind this is a very early look at the app GUI, so there are things missing and not final (You will see a final version on another page). Our final design kept the LiDAR bar down towards the bottom, and it will have the bar change colors depending how close you are to an object.
Back to Projects