Pcb robotito is an open-source printed circuit board by grupo-avispa, from the grupo-avispa/minibot repository on GitHub. It is a 2-layer board of 80 × 95 mm with 29 parts on 62 nets, routed with 238 tracks and 16 vias.
It is built around the ESP32-S3-DEVKITC-1-N8 and PN2222A. Its parts include 5 resistors, 3 diodes, 2 connectors, 1 IC and 1 transistor. It belongs with the ESP32 boards of this library.
An open, low-cost differential-drive autonomous robot built around the ESP32 and micro-ROS, designed as a teaching platform for ROS 2. The firmware streams LiDAR scans, IMU data, and wheel odometry to a ROS 2 host over WiFi and drives the robot from cmd_vel commands, so students can experiment with the full SLAM → localization → navigation stack (SLAM Toolbox + Nav2) on real hardware.
Developed by the AVISPA research group, Department of Electronic Technology, University of Málaga.
Features
micro-ROS over WiFi — the ESP32 registers as ROS 2 nodes through a micro-ROS Agent, no USB tether required.
Differential drive with two JGA25-371 DC gearmotors, Hall encoders, and a dual PID velocity loop for accurate odometry.
Sensor fusion — wheel odometry plus a BMI160 IMU (/imu/data_raw) for robust pose estimation.
2D LiDAR — a 3irobotix Delta-2A parsed on-device and published as sensor_msgs/LaserScan, with the mirror-inversion and zero-angle defects fixed in the driver.
Human-robot interaction — animated OLED eyes, an RGB status LED, and DFPlayer voice feedback, driven from a /robot_emotion topic.
FreeRTOS multitasking — separate tasks for LiDAR reading, scan publishing, and the micro-ROS executor, pinned across both ESP32 cores.
3D-printable chassis — Fusion 360 source, STEP, and ready-to-print STL files, plus a custom KiCad PCB.
Review the hardware pins (see pinout above) and, if needed, the robot dimensions and PID gains in jga_motors.hpp.
The firmware ships a custom.meta that raises the micro-XRCE-DDS transport MTU and entity limits — keep it in sync if you add publishers/subscriptions.
Build, flash and monitor
source/ is a PlatformIO project. From that directory:
bash
cd source
pio run # compile
pio run -t upload # flash over USB
pio device monitor -b 115200# open the serial monitor
Running with ROS 2
Start the micro-ROS Agent on your ROS 2 host (matching the IP/port configured in firmware):
bash
ros2 run micro_ros_agent micro_ros_agent udp4 --port 8888
Power on the ESP32. It connects to WiFi, registers its nodes with the Agent, and synchronizes its clock with the host. If the Agent becomes unreachable it stops the motors and recreates its ROS entities automatically.
Inspect the graph:
bash
ros2 topic list
ros2 topic echo /scan
Topics and frames
Nodes: minibot_lidar and minibot_jga.
Direction
Topic
Type
Publish
/scan
sensor_msgs/LaserScan
Publish
/odom
nav_msgs/Odometry
Publish
/imu/data_raw
sensor_msgs/Imu
Publish
/tf
tf2_msgs/TFMessage
Subscribe
/cmd_vel
geometry_msgs/Twist
Subscribe
/robot_emotion
std_msgs/Int32
Frames: odom → base_link, plus base_laser_link for the scan.
Drive the robot with, for example:
bash
ros2 run teleop_twist_keyboard teleop_twist_keyboard
STEP/Robotito v3.step — neutral CAD exchange format
STLs/ — printable parts (main body, wheels and tires, caster wheel + support, motor clamps, LiDAR support, PCB support and spacers, front face)
The control PCB (KiCad project, gerbers, and a 3D STEP export) is in schematics/.
Implementation notes
The firmware runs dedicated FreeRTOS tasks for LiDAR serial parsing, LaserScan assembly/publishing, and the micro-ROS executor, pinned across both cores.
Motor speed is closed-loop: encoder ticks feed a per-wheel PID with a state machine for smooth start/stop and braking.
Odometry is integrated from encoder counts and published with the odom → base_link TF; the BMI160 adds orientation data on /imu/data_raw.
The Delta-2A driver corrects the original mirror inversion and uses a start-angle zero-crossing detector for consistent scan framing.
A periodic sync timer aligns the ESP32 clock with the micro-ROS Agent so message timestamps are valid on the host.
License
This project — firmware, mechanical designs, schematics, and documentation — is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).
You are free to share and adapt the material for non-commercial purposes, provided you give appropriate credit and license your derivatives under the same terms. Commercial use requires prior written permission from the author.
Firmware and PCB files for an ESP32-S3 sim-racing button box with five rotary encoders, capacitive touch on encoder/buttons, two ST7789 displays, MCP23017 button/LED expansion, MPR121 touch sensing, WS2812 status LEDs…
Laboratorio personal de proyectos, ejemplos y diagramas realizados con mi ESP32 cuya base principal es Rust orientado a su versión STD. Abarcando desde lo más simple hasta proyectos ligeros de IoT.
Open source firmware and PCB for a differential mobile robot (PAMI) based on ESP32-S3 - Coupe de France de Robotique
25 parts6
Questions
How big is the Pcb robotito PCB?
It measures 80 × 95 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Pcb robotito use?
29 parts, built around the ESP32-S3-DEVKITC-1-N8 and PN2222A. 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 Pcb robotito KiCad files?
From the grupo-avispa/minibot repository on GitHub, at the commit this page was made from: the board is schematics/pcb_robotito.kicad_pcb and its schematic schematics/pcb_robotito.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Pcb robotito design in my own project?
Its repository states no licence, so its author keeps all rights: ask grupo-avispa before reusing the design.