Skip to the content
PCBKitNew board
4 layers51.1 × 45.1 mmRave Controller, the printed circuit board in 3D

Rave Controller

D3stan/EV-Controller1

ESP32-based exhaust valve controller for 2 stroke motorcycle.

Size
51.1 × 45.1 mm
Copper layers
4
Thickness
1.6 mm
Parts
23
Nets
28
Pads
84
Tracks, vias
100, 2
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
16 Oct 2024
Updated
10 Nov 2025

Overview

Rave Controller is an open-source printed circuit board by D3stan, from the D3stan/EV-Controller repository on GitHub. It is a 4-layer board of 51.1 × 45.1 mm with 23 parts on 28 nets, routed with 100 tracks and 2 vias.

It is built around the LMC662AIN, TC4422ESM and IRLZ44N. Its parts include 7 resistors, 5 capacitors, 5 ICs, 2 diodes and 1 transistor. It belongs with the audio and music boards and the ESP8266 boards of this library.

Main components

3

README

README.md

EV-Controller

This project is an ESP8266/ESP32-based exhaust valve controller for motorcycles. It offers real-time monitoring and configuration through a web interface, utilizing WebSockets for live data communication. The core functionality is to control the motorcycle's exhaust valve based on configurable RPM thresholds.


Features

  • RPM-based exhaust valve control with configurable opening and closing thresholds.
  • Web interface for real-time RPM monitoring and settings adjustment.
  • WiFi Access Point (AP) mode for initial setup and configuration.
  • WiFi Station (STA) mode to connect to an existing wireless network.
  • Secure Over-the-Air (OTA) updates for both firmware and filesystem.
  • Manual override for valve control directly from the web interface.

Hardware Construction

To build the hardware, you will need to manufacture the PCB and source the electronic components.

1. PCB Manufacturing

The Gerber files required for PCB production are located in the pcb/production/gerber.zip archive. You can upload this file to any PCB manufacturer of your choice.

2. Component Sourcing

The list of all necessary components (Bill of Materials) is available in the pcb/production/bom.csv file. This file can be used to order parts from electronic component distributors.

3. Assembly

Solder the components onto the manufactured PCB. For component placement and orientation, please refer to the following files:

  • Schematic: pcb/schema.pdf
  • KiCad Project: pcb/Rave-Controller.kicad_pro (can be opened with KiCad)

For automated pick-and-place assembly, the pcb/production/positions.csv file is also provided.

Firmware Installation

The firmware is built using PlatformIO.

Prerequisites

Build and Upload

  1. Clone this repository to your local machine.
  2. Open the cloned repository folder in Visual Studio Code.
  3. PlatformIO will automatically detect the platformio.ini file and prompt you to install the required project dependencies.
  4. Once dependencies are installed, select the correct environment for your board (e.g., d1_mini).
  5. Use the PlatformIO "Upload" task to build and flash the firmware to your device. Alternatively, you can run the following command from the integrated terminal:
    bash
    pio run -e d1_mini --target upload

Initial Setup

  1. On the first boot, the device will create a Wi-Fi Access Point. The default SSID and password can be found in the source code (data/config.json).
  2. Connect your computer or smartphone to this Wi-Fi network.
  3. Open a web browser and navigate to the device's default IP address, which is 42.42.42.42.
  4. From the web interface, you can configure your home Wi-Fi credentials (SSID and password) and set the desired RPM thresholds for the exhaust valve operation.
  5. After saving the new settings, the device will restart, connect to your specified Wi-Fi network, and begin normal operation.

Parts

23
QtyValueFootprintReferences
2100nFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC1, C5
230kPCM_Resistor_THT_AKL:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR4, R7
2D_SchottkyDiode_THT:D_DO-34_SOD68_P7.62mm_HorizontalD1, D3
11000uF_50VCapacitor_THT:CP_Radial_D10.0mm_P7.50mmC4
1100kPCM_Resistor_THT_AKL:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR1
110kPCM_Resistor_THT_AKL:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR6
11kPCM_Resistor_THT_AKL:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR2
12.2uFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC3
1330nFCapacitor_THT:C_Disc_D4.3mm_W1.9mm_P5.00mmC2
13kPCM_Resistor_THT_AKL:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR3
14.7kPCM_Resistor_THT_AKL:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_HorizontalR5
1Conn_01x10Connector_Molex:Molex_Mini-Fit_Jr_5569-10A2_2x05_P4.20mm_HorizontalJ1
1D1MiniModule:D1_mini_boardU1
1IRLZ44NPackage_TO_SOT_THT:TO-220-3_VerticalQ1
1LM7805_TO220Package_TO_SOT_THT:TO-220-3_VerticalU2
1LMC662AINPCM_Package_DIP_AKL:DIP-8_W7.62mm_LongPadsU3
1PC817Package_DIP:DIP-4_W7.62mmU4
1TC4422Package_DIP:DIP-8_W7.62mmU5

The 21 most common of 23 parts.

Questions

How big is the Rave Controller PCB?

It measures 51.1 × 45.1 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Rave Controller use?

23 parts, built around the LMC662AIN, TC4422ESM and IRLZ44N. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Rave Controller KiCad files?

From the D3stan/EV-Controller repository on GitHub, at the commit this page was made from: the board is pcb/Rave-Controller.kicad_pcb and its schematic pcb/Rave-Controller.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rave Controller design in my own project?

Its repository states no licence, so its author keeps all rights: ask D3stan before reusing the design.

Similar boards

  • 2 layers76 × 53 mmSepic, the printed circuit board in 3D

    Sepic

    aguscsc/Model-Predictive-Control-Strategies-for-Fourth-Order-Power-Converters

    This repository contains the design an implementation of a SEPIC (Single-Ended Primary-Inductor Converter) to test and compare the application of model predictive control on fourth-order power converters.

    27 parts
  • 2 layers112 × 87.5 mmHardware assignment, the printed circuit board in 3D

    Hardware assignment

    Aryan6688/PCB-Designs

    Here are files that contains my pcb designs

    29 parts
  • 2 layers70 × 80 mmBoost V2, the printed circuit board in 3D

    Boost V2

    JavierVarasDominguez/TFG-Boost-Fotovoltaico-JavierVaras

    Archivos de simulación, diseño y control utilizados en la realización del trabajo fin de grado.

    24 parts
  • 4 layers210 × 210 mmSmartSwitch, the printed circuit board in 3D

    SmartSwitch

    Joe-Purvis/UFE

    This repository consolidates multiple projects into a single monorepo for the Ultrasound Smart Switch system.

    187 parts
  • 4 layers80.3 × 86.4 mmKlxecu, the printed circuit board in 3D

    Klxecu

    JourneyMan61/klxecu

    Speeduino based ECM for the fuel injected KLX 250 and 300

    79 parts
  • 2 layers48.8 × 63.5 mmMOSFET PPMOD, the printed circuit board in 3D

    MOSFET PPMOD

    madcat101010/MOSFET_PPMOD

    Specs are probably off and I need to add the tuned values that filters out switching ringing.

    11 parts
  • 2 layers180 × 80 mmProyecto0.1V, the printed circuit board in 3D

    Proyecto0.1V

    UTN-FRBA-2026-PF-EE-GP10/mpp_sdk

    ☀️ MPP simulation and validation framework

    168 partsMIT
  • 2 layersSstc v2, the printed circuit board in 3D

    Sstc v2

    hnaderi/sstc

    Musical solid state tesla coil circuit and part design

    67 parts3CC0-1.0