Skip to the content
2 layers99.1 × 92.1 mmRapiduino, the printed circuit board in 3D

A line follower robot

Size
99.1 × 92.1 mm
Copper layers
2
Thickness
1.6 mm
Parts
64
Nets
45
Pads
142
Tracks, vias
173, 33
Pours
2
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
16 Aug 2026
Updated
5 Nov 2026

Overview

Rapiduino is an open-source printed circuit board by KBZoNiX, from the KBZoNiX/zopapa repository on GitHub, published under the MIT licence. It is a 2-layer board of 99.1 × 92.1 mm with 64 parts on 45 nets, routed with 173 tracks and 33 vias.

It is built around the IRLR2905. Its parts include 10 connectors, 6 resistors, 4 diodes, 3 capacitors and 3 switches. It belongs with the robots and motor control boards and the AVR (ATmega, ATtiny) boards of this library.

Main components

1

README

README.md

Zopapa

A two-wheel differential-drive line-following robot: Arduino Nano firmware, an 8-channel reflectance sensor array, and two custom KiCad PCBs.

Full functional specification: docs/FSD.html · User manual (Spanish): docs/MANUAL.html

Features

  • PD line-following control loop (proportional + derivative, ~500 Hz)
  • Relay-feedback (Åström–Hägglund) autotune — computes and installs new gains from an induced oscillation
  • EEPROM persistence of tuned speed/gains and sensor calibration — no need to re-sweep the line sensor on every power-cycle
  • Serial/Bluetooth command interface for live tuning and telemetry (shared UART, 9600 baud)
  • Optional turbine/vacuum subsystem for extra downforce, ramped proportionally to steering correction
  • On-board HMI: pushbutton (short press starts/stops; long press saves gains to EEPROM or recalibrates the sensor, depending on DIP 4 — see FSD §7.1), 4-position DIP bank, status LED, buzzer

Repo layout

text
src/zopapa/       Arduino sketch (zopapa.ino is the entry point)
src/libraries/    Vendored first-party libraries: DRV8833 (motor driver), ATRSensors (line sensor)
hardware/         KiCad PCB projects — main_pcb (Rapiduino) and line_sensor_pcb (ATR-8A)
docs/FSD.html     Functional Specification Document
docs/MANUAL.html  User manual (Spanish) — physical controls and BT/Serial commands

Build

Requires arduino-cli with the arduino:avr core installed.

sh
arduino-cli compile --fqbn arduino:avr:nano --libraries src/libraries src/zopapa

Arduino IDE: open src/zopapa/zopapa.ino directly, and copy or symlink src/libraries/* into your sketchbook's libraries/ folder first.

Flash

Most Nano (and clone) boards need the old-bootloader CPU variant:

sh
arduino-cli compile --fqbn arduino:avr:nano:cpu=atmega328old --libraries src/libraries -u -p /dev/ttyUSB0 src/zopapa

If uploads fail with repeated not in sync errors, that's this — try the atmega328old variant. Requires your account to be in the dialout group (Linux).

Command interface

Sent over Serial or Bluetooth (same UART, 9600 baud):

CommandFunctionExample
SStartS
PStopP
TRun autotuneT
VxxxSet speedV180
KxxxSet KPK22.5
DxxxSet KDD15.3
RRead current parametersR
LLoad parameters from EEPROML
WSave parameters to EEPROMW
QLive sensor bar testQ
CForce a fresh sensor calibration sweep, then save itC
HHelpH

See docs/FSD.html for the full electrical interconnect, BOM, control-loop math, and known quirks.

Notes

  • Firmware comments and Serial output are in Spanish.
  • No test suite.

License

MIT, except src/libraries/ATRSensors, which retains the CC BY-SA 3.0 notice of the Pololu QTRSensors code it's derived from (see the file header).

Parts

64
QtyValueFootprintReferences
3470Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1, R3, R4
3LEDLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD3, D5, D12
2G***kibuzzard-6850F7E0kibuzzard-6850F7E0, kibuzzard-6850F7E0
2G***kibuzzard-6850F811kibuzzard-6850F811, kibuzzard-6850F811
1100Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
1100uFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC2
110uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC3
11KResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5
11N4007Diode_THT:D_DO-41_SOD81_P7.62mm_HorizontalD1
1220uFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC1
12K2Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR6
1Arduino_Nano_v2.xModule:Arduino_NanoA1
1BATTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ1
1BluetoothConnector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_VerticalJ5
1BuzzerBuzzer_Beeper:Buzzer_12x9.5RM7.6BZ1
1Conn_sensoresConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ6
1G***kibuzzard-685246CFkibuzzard-685246CF
1G***kibuzzard-685108F3kibuzzard-685108F3
1G***kibuzzard-685101AFkibuzzard-685101AF
1G***kibuzzard-6850FB4Bkibuzzard-6850FB4B
1G***kibuzzard-685245CFkibuzzard-685245CF
1G***kibuzzard-68523F1Bkibuzzard-68523F1B
1G***kibuzzard-6850F8CBkibuzzard-6850F8CB
1G***kibuzzard-685232D8kibuzzard-685232D8
1G***kibuzzard-685108A6kibuzzard-685108A6
1G***kibuzzard-685241D4kibuzzard-685241D4
1G***kibuzzard-6852314Dkibuzzard-6852314D
1G***kibuzzard-6850FB1Bkibuzzard-6850FB1B
1IRLR2905Package_TO_SOT_SMD:TO-252-2Q1
1Jumper_alimentación_ArduinoConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ10
1LOGOGraphics:club-robotica-logo_32x32mmG***
1LOGOGraphics:club-robotica-icon_14x14mmG***
1LOGOGraphics:USB-connector-drawing-8mmG***
1LOGOGraphics:Bluetooth-logo-10x5mmG***
1Motor AConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ8
1Motor BConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ9
1SW_DIP_x04Button_Switch_THT:SW_DIP_SPSTx04_Slide_9.78x12.34mm_W7.62mm_P2.54mmSW3
1SW_PowerCustom_Packages:SW_Push_2P2T_Toggle_7x7mmSW1
1SW_PushButton_Switch_THT:SW_PUSH_6mmSW2
1StartConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ7
1TB6612FNG Driver ModuleCustom_Packages:TB6612FNG Driver ModuleA2
1Vboost_inConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3
1Vboost_outConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1turbinaConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2

The 50 most common of 64 parts.

More from KBZoNiX/zopapa

1
  • 2 layers75.6 × 15.2 mmATR-8A, the printed circuit board in 3D

    ATR-8A

    KBZoNiX/zopapa

    A line follower robot

    26 partsMIT

Similar boards

  • 2 layers42 × 45.1 mmESP8266 LED controller, the printed circuit board in 3D

    ESP8266 LED controller

    daumemo/DIY-ESP-12E-LED-Strip-Controller-4-Channel

    DIY LEd Strip Controller with ESP-12E

    31 parts5GPL-3.0
  • 2 layers44.5 × 37.9 mmPetPull v3, the printed circuit board in 3D

    PetPull v3

    Fremen72/MiniPetPull

    Recycler PET plastic bottles into filament for 3D printer

    14 partsGPL-3.0
  • 2 layers78.3 × 50 mmDoz 030, the printed circuit board in 3D

    Doz 030

    pavlig43/Doz_stm32f103CBTx

    Рабочий проект — doz030.kicadpro в этой папке. Открывайте его в KiCad 10. Схема, плата и настройки проекта хранятся в одном Git-репозитории с прошивкой.

    35 parts
  • 4 layers240 × 180 mmAgrinode mc, the printed circuit board in 3D

    Agrinode mc

    rthcloudcom-art/PCB

    319 parts
  • 2 layers210 × 145 mmPh verzion-01, the printed circuit board in 3D

    Ph verzion-01

    tomas-fly/davkovanie-ph-PCB

    104 parts
  • 2 layers36 × 20 mmWipy, the printed circuit board in 3D

    Wipy

    ayoy/kicad-projects

    8 parts2
  • 2 layers99.1 × 92.7 mmController, the printed circuit board in 3D

    Controller

    dario0603/Hotplate

    Hotplate is a DIY electronics project focused on the design and development of a hotplate and its associated control electronics.

    100 parts
  • 2 layers42 × 32 mmSpectre, the printed circuit board in 3D

    Spectre

    mkrmx/spectre

    Sensor de iluminación por medio de Hall + LDR

    38 partsMIT

Questions

How big is the Rapiduino PCB?

It measures 99.1 × 92.1 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Rapiduino use?

64 parts, built around the IRLR2905. 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 Rapiduino KiCad files?

From the KBZoNiX/zopapa repository on GitHub, at the commit this page was made from: the board is hardware/main_pcb/Rapiduino.kicad_pcb and its schematic hardware/line_sensor_pcb/ATR-8A.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Rapiduino design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).