Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

Rpibot: A Low‑Cost, Expandable Mobile Robot for Embedded Systems Learning

This simple, low‑cost mobile robot platform was created to give developers a practical, hands‑on way to learn embedded systems.

As an embedded software engineer at a German automotive company, I started this project as a learning platform. Although the original project was canceled early, my enthusiasm carried it forward as a hobby, resulting in the Rpibot.

I had a clear set of requirements:

The platform serves multiple purposes—education, surveillance, and robotics competitions—but it’s not a beginner tutorial. Basic knowledge of Python programming, electronics, and PID control is expected.

Challenges were inevitable, but a curious and persistent mindset helps overcome them. The source code is intentionally concise, with critical sections commented for guidance.

Full source code and hardware schematics are available on GitHub: https://github.com/makerobotics/RPIbot

Supplies:

Mechanics

Electronics

Step 1: Build the Chassis

The chassis is intentionally simple, lightweight, and fast to assemble and disassemble.

Plywood is ideal—easy to cut with a fretsaw and drill. Glue small wooden pieces to create mounting points for sensors and motors. Critical parts should be secured with screws so they can be replaced or debugged without disassembling the entire frame. While a hot‑glue gun is convenient, it may not hold up during long‑term use. 3D printing is an alternative but can be costly and time‑consuming.

The free wheel is lightweight and friction‑free, enabling smoother motion. A simple wooden spacer levels the rear wheel after the main wheels are mounted.

Wheel properties (for software calculations)

Circumference: 21.5 cm
Encoder pulses: 20 pulses/rev.
Resolution: ≈1 cm per pulse (simplifies distance calculations)

Step 2: Electronics and Wiring

The following modules are interconnected as shown in the diagram.

Raspberry Pi Zero – the central controller. It reads sensors and drives motors via PWM. It connects to a remote PC over Wi‑Fi.

DRV8833 – a dual H‑bridge motor driver that supplies sufficient current to the motors (the Pi’s GPIO pins cannot).

Optical encoders – deliver a square wave every time the wheel’s light path is interrupted. Hardware interrupts on the Pi capture each transition.

PCA 9685 – an I²C servo controller providing PWM signals and 5 V power for pan‑tilt servos.

MPU9250 – a 3‑axis accelerometer, gyroscope, and magnetometer, primarily used for heading information.

All components are wired with jumper cables. A breadboard serves as a distribution hub, providing 5 V, 3.3 V, and ground rails. The connection table (see attachment) details every link. Never connect 5 V directly to a 3.3 V pin; double‑check wiring before powering. Measure the main supply voltages with a multimeter after setting up the breadboard.

Modules are secured to the chassis with nylon screws, making them both stable and removable for maintenance.

Soldering was limited to the motor terminals, breadboard, and header pins. Jumper wires are convenient but can become loose; software diagnostics can help identify intermittent connections.

Source: Rpibot – About Learning Robotics

Manufacturing process

  1. The Hourglass: History, Craftsmanship, and Modern Appeal
  2. The Evolution of Timekeeping: From Sundials to Precision Quartz Watches
  3. Wrench Time: A Practical Guide to Measuring and Improving Maintenance Efficiency
  4. Debunking the Biggest Myths About Advanced Manufacturing Robotics
  5. Build a Berlin Clock with Arduino UNO – DIY LED Matrix Clock
  6. Mastering PID Control: Bridging Theory and Practice
  7. 9 Essential Machine Learning Applications You Must Know
  8. Industry Titans Reveal Their Shift Toward Automation
  9. Understanding EDM Die Sinking: The Essentials of Cavity EDM for Precision Manufacturing
  10. Atlas Copco's Never Stop Learning Festival: Boosting Skills, From Air Compressors to Personal Development