R2d2
melsamad·r2d2·wiring diagram/R2D2-second try.kicad_sch
About the R2d2 PCB
R2d2 is an open source ESP32 PCB design by melsamad, published on GitHub. It is a board, with 22 components from 14 distinct parts.
Its main chip is the ESP32-WROOM-32, from the ESP32 family. Other key parts include the MPU-9250, HT7833, LM386 and Pololu_Breakout_A4988. By type, the board carries 9 capacitors, 4 ICs, 4 modules, 3 resistors, 1 battery holder and 1 speaker.
It belongs with the robotics & motion, audio and sensors designs in this gallery.
From the project
Bringing my childhood dream of being besties with R2D2 to life with this self-balancing robot
Did I binge watch the entire Star Wars Saga not too long ago? Absolutely. Do I love R2D2? Oh yes. This self-balancing robot is my first shot at electronics beyond Arduino. I was not only motivated to get into this project for my love for star wars, but truly because I want to dive deeper into hardware projects as an aspiring aerospace engineer. And let me tell you, this was one amazing ride. Within a week, I learned A LOT about 3d modeling on OnShape and schematics through KiCad, and was mind blown by how little I know about the tech world.
Main components on the R2d2
R2d2 bill of materials (BOM)
22 components, 14 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ESP32-WROOM-32 | ESP32-WROOM-32 | U1 |
| 1 | MPU-9250 | InvenSense_QFN-24_3x3mm_P0.4mm | U3 |
| 1 | HT7833 | TO-92_Inline | U4 |
| 1 | LM386 | U5 | |
| 2 | Pololu_Breakout_A4988 | Pololu_Breakout-16_15.2x20.3mm | A1, A2 |
| 2 | Stepper_Motor_bipolar | M1, M2 | |
| 1 | 3 Cell Li-ion Pack | BT1 | |
| 1 | Speaker | LS1 | |
| 2 | 100uF | C1, C2 | |
| 4 | 10uF | C3, C4, C6, C9 | |
| 2 | 0.1uF | C5, C7 | |
| 1 | 220uF | C8 | |
| 1 | 10k | R1 | |
| 2 | 4.7k | R2, R3 |
R2d2 design files
The KiCad project lives in the melsamad/r2d2 repository on GitHub; these links point at the commit this page was built from.
R2d2: common questions
What microcontroller does the R2d2 use?
The R2d2 is built around the ESP32-WROOM-32, from the ESP32 family.
How many components are on the R2d2?
22 components, from 14 distinct parts. The full bill of materials is listed on this page.
Where can I download the R2d2 design files?
From the melsamad/r2d2 repository on GitHub, which has the schematic; the links under Design files point to each one.
Can I use the R2d2 design in my own project?
The repository has no license, so all rights stay with melsamad. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the R2d2 without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.
Similar boards
ESP32
OSO-BOOK-B1
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Powertrain
byrantech
64 × 45.4 mm171 parts4LMIT4.3kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8k