RoboBarista pairs a vintage five-axis arm with PSoC motor control

robotics, PSoC, motor control

This is the read-only HTML version. For the full Visual Space experience, open the app.

robot arm, coffee, electronics

robot arm, coffee, electronics

Source: RoboBarista: A Coffee Brewing Robot on Hackaday.io · Jim Shealy

robot arms, embedded control

A coffee-making gift grew into Jim Shealy’s ambition for affordable, documented robot arms. His 2014 RoboBarista logs offer a grounded lesson in getting there: independent hardware counters are useful, but floating control pins can make the arm move when it shouldn’t.

❤️ 1

Making morning coffee was the starting point, not the whole ambition. Jim Shealy’s RoboBarista project on Hackaday.io began as a refurbishment of an old Microbot Alpha robot arm, intended as a gift for his girlfriend. It grew into a broader goal: affordable, documented, open-source arms that beginners could use to do something useful in their surroundings.

The project was created on April 29, 2014, and the available development logs here run through May 19 that year. They offer a closer look at the controller and its debugging than at a completed coffee-making routine—and that is where this build has its most transferable lessons.

A vintage arm serves as the development platform

Shealy describes the Microbot as a late-1970s machine. The listed hardware combines that five-axis arm with a FreeSoC development board built around a PSoC 5LP, five A4988 stepper drivers, an ATX power supply and a Wii Nunchuck for joystick control.

There’s an obvious tension between using an expensive robot arm and aiming for an inexpensive one. Shealy’s answer was to use the existing mechanism to develop the controls, then expand the work to a lower-cost arm. That second machine remained an ambition in the supplied overview, not a documented finished design.

The project page also links a progress video, while noting that the written documentation was months behind the work. That makes the logs useful as development notes, but not a complete account of the robot’s capabilities.

PSoC separates timing hardware from the main program

In his May 1 introduction to PSoC, Shealy explains what drew him away from the Arduino workflows he knew: configurable digital, analog and communication components that operate alongside the CPU.

His concrete example is a hardware counter. Rather than continually managing timing in the main program or building increasingly tangled interrupt code, he could configure a counter, connect a clock and let it run independently. For a motor-control project, that separation is appealing: timing work needn’t become another task the application constantly tends.

This was a platform choice based on Shealy’s experience, not evidence that an Arduino couldn’t control the arm. The interesting point is how the architecture changed the work—from managing everything in software toward configuring hardware blocks and coordinating them with code.

Floating pins made the arm move unexpectedly

The May 4 debugging log is the most immediately useful part of the story. Shealy reports erratic stepper behavior when reset, sleep or enable signals were left floating. At one point, bringing a hand near the wires could make the arm move.

Some of the trouble came from wiring signals to microcontroller pins that hadn’t actually been defined in the PSoC configuration. A physical connection wasn’t enough: the intended signal also had to reach the correct, configured pin. Auto-assigned pins and the FreeSoC board’s port-based labels added another opportunity for a mismatch.

He also spent more than eight hours chasing a serial connection before discovering that he was using the programming/debug USB port rather than the communications port. And the configurable hardware components had their own startup requirement: placing them in the design did not mean they were already running.

These are small details with large consequences in robotics. Before debugging a motion algorithm, it’s worth establishing that the driver inputs have defined states, the pin assignments match the wiring and the required hardware blocks have actually started. Here, unexpected movement was a controller problem before it was a positioning problem.

Steppers were a choice, not proof of accuracy

In his May 19 motor-choice log, Shealy makes the case for steppers over inexpensive hobby servos. His concerns include servo jitter, load-dependent positioning errors and the way joint errors can accumulate through an arm. He also acknowledges a limitation of stepper control: dividing motion into finer microsteps does not necessarily deliver equally fine positional accuracy.

Those notes explain the design direction; they don’t establish measured accuracy for RoboBarista. Likewise, the coffee-making goal doesn’t by itself demonstrate reliable unattended brewing or safe handling of hot water.

The useful next milestone would be repeatable tool position under the intended load, followed by a documented coffee-handling sequence. RoboBarista’s early notes show why that work starts below the level of recipes and robot choreography: first, every control signal has to mean exactly what the builder thinks it means.

Source: RoboBarista: A Coffee Brewing Robot

Robotics

3 Followers

Bring mechanisms, electronics and software together. Share robots and prototypes, compare sensing and control approaches, document experiments, and work through the practical challenges of building machines that act in the world.

Visual Space is built for projects like this—where creators collaborate, organize goals, and grow communities around real work.