Skip to the content
2 layers82 × 124 mmControl, the printed circuit board in 3D

Firmware and pcb's for custom built electric kart

Size
82 × 124 mm
Copper layers
2
Thickness
1.6 mm
Parts
64
Nets
46
Pads
190
Tracks, vias
445, 24
Pours
1
Routed
Yes
KiCad
KiCad 3
Created
4 Aug 2024
Updated
15 Mar 2025

Overview

Control is an open-source printed circuit board by Jonny999999, from the Jonny999999/electric-kart repository on GitHub. It is a 2-layer board of 82 × 124 mm with 64 parts on 46 nets, routed with 445 tracks and 24 vias.

It is built around the ATMEGA8A-PU, SFH620A-3 and IRFZ24N. Its parts include 20 resistors, 13 diodes, 11 connectors, 8 capacitors and 6 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.

Main components

3

README

README.md

Firmware for Atmega-8 Microcontroller and kicad PCB-Files for a custom built electric kart.
Note: The firmware and PCB files Version V1 were originally created in 2015, those have been added to this repository for archival purposes.


Hardware Overview (vehicle)

  • 2.9 kW Series wound motor (forklift)
  • Custom pcb with Atmega-8 creating 124 Hz PWM
  • Custom pcb with mosfet driver
  • Custom pcb with relay on IGBT for emergency stop
  • Audi gas pedal used as voltage divider
  • 600A IGBT (FUJI 1MBI600PX-140-01)
  • Schottky diode

Wiring plan

doc/wiring-plan.drawio.pdf

Photos


Firmware

Requirements

  • avr-gcc
  • avrdude
  • make

Compile

bash
cd firmware/V1_fw-control-board
make

Flash

Connect laptop to the board using an USB ISB-Programmer and run the commands:

bash
make &&
sudo make upload

Note: make upload flashes the last compiled .elf file only
-> also run make first for compiling and flashing the latest version.

Current version

The current actually used project is located in firmware/V2.1/.
All other folders in firmware/ are for old board versions thus no longer used and archive only.


Hardware (PCB Versions)

V2.1

Rework of version V2.0 with more effort put into EMC to fix controller resets:

  • 2 layer board
  • 5V/GND for controller completely isolated from main batteries
    • isolated 5V DC-DC converter IC
    • more optocouplers: for driver, mosfet, relay and batt-voltage-threshold
  • Strictly separate 5V and 24V components (separate GND planes, isolation gap)
  • Front side is GND layer, Back side also has GND zones

Date: 2024.08.20
Folder: hardware/V2.1_board-ecar_isolated
Schematic: hardware/V2.1_board-ecar_isolated/export/schematic.pdf

V2.0

V1.1 worked well for almost 9 years, the idea was to replace the corroded pcb and get rid of the separate supply batteries for the control board.
Single board with controller, driver and newly added:

  • supply filter
  • buck converter
  • relay

Date: 2024.08.06
Folder: hardware/V2.0_board-ecar
Schematic: hardware/V2.0_board-ecar/export/schematic.pdf

Fail:
Same problems as previous versions: When main batteries are used as supply for control pcb, the controller crashes at certain duty cycle.
When Using an isolated supply (separate battery or lab supply) there is no issue. => peaks in supply voltage were not the issue and the filter did not really help, except preventing the voltage-regulators from burning out.

Issues:

  • bad GND track (driver current shifts GND level for controller)
  • bad routing overall (EMC)
  • UART connector missing
  • GND testpin missing

V1.1

separate driver board
Same control board from V1.0 but additional separate pcb with mosfet driver.
Date: 2015.05.24
Folder: hardware/V1.1_driver-board-separate
Schematic: hardware/V1.1_driver-board-separate/export/schematic.pdf

V1.0

control board
Date: 2015.05.14
Folder: hardware/V1.x_control-board
Schematic: hardware/V1.x_control-board/export/schematic.pdf

Issues:

  • separate battery for control supply is necessary, when using main battery controller crashes when motor starts

driver board on IGBT
pcb on IGBT with mosfet driver and relay (only the relay on this board is still used in V2.1)
Folder: hardware/V1.0_driver-board-on-igbt
Schematic: hardware/V1.0_driver-board-on-igbt/export/schematic.pdf

Parts

64
QtyValueFootprintReferences
12RR10_bigR1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R16
8300R10_bigR12, R13, R14, R15, R17, R18, R19, R20
6DIODED10_bigD1, D2, D3, D4, D5, D6
5100nFC_eckigC3, C4, C5, C6, C7
5Z5.1VD10_bigD10, D11, D12, D13, D14
4VAL**m3_scheibem3_scheibe, m3_scheibe, m3_scheibe, m3_scheibe
3SFH620ADIP-4__300_bigU3, U4, U5
2330nFC_rundC1, C2
2IRFZ24nl7805cvK1, K2
2LEDC_rundD8, D9
110uFC_rundC8
124VMFKDSP-2P7
17805l7805cvU2
17812l7805cvU1
1ATMEGA8A-PDIP-28__300_ELL_bigIC1
1GNDMFKDSP-2P8
1I2Cwannenstecker_2x3_rm254P4
1ISPwannenstecker_2x5_rm254P3
1OUTMFKDSP-2P6
1POWERMFKDSP-2P1
1PWMMFKDSP-2P9
1SPEEDMFKDSP-2P10
1SWITCHESMFKDSP-2P11
1USARTStiftleiste_4x1P2
1analogMFKDSP-2P5

More from Jonny999999/electric-kart

4
  • 4 layers160 × 100 mmV2.1 board ecar isolated, the printed circuit board in 3D

    V2.1 board ecar isolated

    Jonny999999/electric-kart

    Firmware and pcb's for custom built electric kart

    116 parts
  • 2 layers160 × 100 mmV2 board ecar, the printed circuit board in 3D

    V2 board ecar

    Jonny999999/electric-kart

    Firmware and pcb's for custom built electric kart

    99 parts
  • 2 layers42.5 × 52.1 mmTreiber, the printed circuit board in 3D

    Treiber

    Jonny999999/electric-kart

    Firmware and pcb's for custom built electric kart

    19 parts
  • 2 layers35 × 64 mmTreiber, the printed circuit board in 3D

    Treiber

    Jonny999999/electric-kart

    Firmware and pcb's for custom built electric kart

    19 parts

Similar boards

  • 2 layers207 × 146 mmGroup4 CheckpointA KiCad 4-20-26, the printed circuit board in 3D

    Group4 CheckpointA KiCad 4-20-26

    dustpot/electronic-test-bench

    A Raspberry Pi 4 bench instrument featuring a function generator, ohmmeter, voltmeter, DC voltage reference, and frequency meter, all controlled with a rotary encoder and a 20×4 LCD.

    103 parts
  • 4 layers75 × 50 mmValveToggler, the printed circuit board in 3D

    ValveToggler

    Jonny999999/valveToggler

    Small analog controller PCB that drives a **5/3 pneumatic valve (2 coils)** to shake dust filters of a wood-chip extraction system.

    52 parts
  • 2 layers168 × 150 mmAZTEC motherboard, the printed circuit board in 3D

    AZTEC motherboard

    awarsewa/aztec

    Bringing a 1976 pinball machine back to life

    310 parts3GPL-3.0
  • 4 layers70 × 143 mmIoBoard, the printed circuit board in 3D

    IoBoard

    Loic74650/ioBoard

    A relay (and more!) board with Ethernet connectivity and MQTT support

    206 parts3GPL-3.0
  • 2 layers95 × 60 mmPulseFlow - PCB, the printed circuit board in 3D

    PulseFlow - PCB

    HuibSmeets/PulseFlow

    Control a fan speed by heart rate

    28 parts1GPL-3.0
  • 2 layers100 × 75 mmSousvide, the printed circuit board in 3D

    Sousvide

    gregorv/sousvide

    Hardware and software for an ATmega8 based Sous-Vide temperature controller

    66 partsGPL-3.0
  • 2 layers30.5 × 19 mmTeleinfo bridge, the printed circuit board in 3D

    Teleinfo bridge

    tiramiseb/domotego_pcbs

    Helpful PCBs for DIY home automation

    8 parts1

Questions

How big is the Control PCB?

It measures 82 × 124 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Control use?

64 parts, built around the ATMEGA8A-PU, SFH620A-3 and IRFZ24N. 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 Control KiCad files?

From the Jonny999999/electric-kart repository on GitHub, at the commit this page was made from: the board is hardware/V1.x_control-board/control.kicad_pcb and its schematic hardware/V1.0_driver-board-on-igbt/treiber.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Control design in my own project?

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