DavidBertet / PowerJeep

A Ryobi Battery Conversion for Ride on Cars
MIT License
63 stars 7 forks source link

PowerJeep. A Ryobi Battery Conversion for Ride on Cars

License

Upgrade your electric ride on car with a 18v Ryobi battery and ESP32-powered electronics.

screenshot of the web interface

Table of Contents

Introduction

Welcome to the Ryobi Battery Conversion project for ride on cars!

This project aims to replace the old lead battery in your electric ride on car with a modern 18v Ryobi battery, providing improved performance!

By utilizing an ESP32 microcontroller, we enable enhanced control and monitoring capabilities for a safe and more enjoyable driving experience for every rider.

Features

⚠️ This project can send up to 18V to your motor, when they are usually taking 12V! It ramps up power to avoids gearbox damage, but be aware it can potentially fry your motor. Make sure it has the proper airflow to keep it cool

Requirements

To replicate this project, you'll need the following things:

Electronic components

Optional

Assembly

Hardware

Here is the diagram with the different components. 3.3v doesn't need to be sent to the pedal for simple switch pedals.

screenshot of the web interface

Software

Pre requisites

First installation

  1. Begin by cloning this repository to your local machine
  2. Open the project in VSCode 2.1 If you replaced the pedal with a hall sensor one, enable WITH_ADC_THROTTLE in power_wheel.c. Mine is outputing 1v to 2.6v with 3.3v input, make sure yours is similar or update get_throttle_position accordingly.
  3. Connect your ESP32 to your computer
  4. Open PlatformIO extension on the left bar
  5. Click on "esp32dotit -> General -> Upload" to build & upload the project
  6. Click on "esp32dotit -> Platform -> Upload Filesystem" to build & upload the filesystem (webpage)

Update

  1. Open the project in VSCode
  2. Open PlatformIO extension on the left bar & build
  3. Turn on the ride on car & connect to the access point wifi emitted by the car
  4. Open the project folder
  5. Drag and drop firmware.bin from .pio/build/esp32doit-devkit-v1 folder onto the upload icon of the webpage

You can also drag & drop any static files, like index.html. In that case it doesn't need to be built

Usage

Contributing

Contributions are welcome!

If you have any ideas, improvements, or bug fixes, please submit a pull request. For major changes, please open an issue first to discuss potential updates.

License

This project is licensed under the MIT License.