Skip to content

kenberland/lime-scooter

Repository files navigation

lime-scooter

Lime Gen3 Scooter Hack

Shorts of the finished scooter

I used a Wemos D1 Mini clone for the microcontroller and wrote some Arduino code that drives the display with a spedometer, odometer, and battery display. I also used this display because it shipped faster.

The microcontroller needs a 5V power supply. I expoxied the voltage adjusting screw. I'd like to try it without one, with a voltage divider instead. The MCU and screen draw about 25mV when sleeping and 125 when on. See https://youtube.com/shorts/8VgVIRs36Q8

I used lead-free solder at 450 degrees. In the end, 525 worked better. My iron. I thought I would burn out the MCU soldering the pins on, but never did.

Below is the schematic that connects the microcontroller to the replacement speed controller that I got on Amazon. I just threw away the one that came with the scooter. I spent some time digging it out of the cast iron casing it came in, thinking I'd mount my replacement there. It doesn't line up, so I just tossed it.

I used EasyEDA and made a cool schematic and thought about getting the board manufactured. In the end I used Fritzing. (I don't think I ended up using the 10k resitor, just the one resistor for the voltage divider on A0).

drawing

Here are photos of the proto board that make the circuit

drawing

drawing

I made a replacement screen housing, a microcontroller standoff, and a housing for the power supply in Fusion. Having calipers helped. drawing drawing drawing

I reversed-engineered the protocol between the motor controller and the display. These are the C programs I used to figure it out. The display is the so-called S866. It's a standard uart. Here are some picture of the cable I made to do it. The cable is an extension between the 5-pin LCD on the motor controller and the LCD, with tap-in leads that you can use to peek on the voltage on any of the five lines, TX, RX, GND, 5V, or 36V. The trouble I had is that the MCU is 3.3V and the controller is 5V. So the controller's signal at 5V was overdriving the MCU and I had to take it down to 3.3V. I did it with a single pull-up transistor. I used this uart on my PC. A scope, however cheap, was helpful.

drawing

drawing

drawing

This post I found after having done all the work.

Here's a tear down manual.

Here's a bunch of other stuff I used. A lot of the project was just making cables.

I can't remember if the 3.5 or 4mm ones fit. One of them did.

Some other pictures:

About

A reverse-engineered lime gen3 scooter controller for an ESP8266.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages