This repository contains a hardware design and software for a rev limiter for Ditech / Purejet Scooter.
principal author: Kevin Sucker
I am working on a rev limiter project utilizing the ATmega328P-AU microcontroller, similar to the Arduino Uno board. The purpose of this rev limiter is to simulate a lower value of the actual throttle valve, effectively restricting the engine's speed. It is designed to be inserted between the throttle and the ECU (Engine Control Unit).
To maximize the PWM (Pulse Width Modulation) output speed of the ATmega328P, I have opted for a 20 MHz quartz crystal, surpassing the standard 16 MHz crystal used in the Arduino Uno board.
In order to adjust the RPM limit, I have incorporated a teach button, allowing for easy customization of the rev limiter's speed threshold.
I have implemented a bypass feature that can disable the RPM limit when necessary. This can be achieved by using a cheap 433MHz remote control, such as the one available on AliExpress (http://aliexpress.com/item/1005003558907008.html), or by integrating a switch into the system.
Thanks to Tobias Link on Youtube for his excellent Tutorial!
Checkout Build_PCB.md
- Add the MiniCore to your Arduino IDE
- Tools -> Bootloader -> No Bootloader -> Clock -> external 20Mhz
- Choose your ISP Programmer
- Download the RCSwitch-library from the arduino library manager
- Connect to the ISP Pins on the Board
- Burn Bootloader to set the Fuse-Bits
- Upload Sketch Using Programmer
- Press any key of your 433MHz remote
- You can read the value of yor 433MHz signal on the TX Uart pin (Baud 115200), I copiet the Signal from a cheep 433MHz wireless socket remote
- Change the value of the "const int valRcSig", in my case to 21777
- Repload Sketch Using Programmer
Look at YouTube:







