JBR-001: An Open Source 3D Printable Desktop Robot
What the JBR-001 parts list and sketch actually give you, where the timing logic helps or hurts, and what is missing before you print it.

JBR-001 is listed on Arduino Project Hub as an open-source desktop companion robot built on the Arduino UNO Q. The page shows a CC0 license, a short parts list, a requirement for a desktop 3D printer, and a sketch. For someone deciding whether to print it, the question is what that package lets you build and change, and what it leaves you to work out.
The page is more useful as a code-reading exercise than as a build guide.
What follows is a close read of the sketch: how it is structured, where its timing choices bite, and what you would need to add to get from a waving, beeping desk toy to the computer vision and edge AI the project description mentions.
What the project page actually gives you
The page describes JBR-001 as a desktop companion robot meant to make robotics, computer vision, edge AI and physical AI fun to explore. It is tagged Embedded, Robots and Internet of Things, and the listing shows 8 respects. The license is CC0, which places the work in the public domain. For an open source hardware project that matters: you can fork, modify and sell derivatives without attribution or share-alike obligations.
The code is linked as a GitHub repository, and the page also embeds a single C++ sketch covering head and arm movement, the buzzer, the distance sensor and the on-board display. Check the repository, not the page, for the full and current version of the sketch.
The bill of materials
The parts list is short:
- Arduino UNO Q 2GB
- Modulino Distance
- Modulino Motors
- Modulino Buzzer
- Arduino USB-C Hub (8 in 1)
- A desktop 3D printer, for the body
- Arduino App Lab as the software tool
The sketch does not instantiate a Modulino Motors object. Its three moving parts are standard Servo objects on pins 9, 10 and 11. The page doesn't say what the Motors module is for. It may serve a feature elsewhere in the code, or it may be a part the author owns but the shown sketch doesn't use. If you buy parts from the list, confirm against the repository before ordering the Motors module.
Pin map and servo conventions
The head servo is on pin 9, the left arm on 10 and the right arm on 11. All three have a named centre of 90, and setup() attaches each one and writes it to centre before doing anything else. Keeping the pins and centre positions as named constants is a good habit in a build you intend to print and reassemble, because horn alignment will rarely be exactly right on the first try.
The motion routine in makeMovement() swings the head to 70, then 110, then back to centre. That is 20 degrees either side. The arms move in opposition: the left goes to 70 while the right goes to 110, then they swap. Mirrored angles are what you would expect from servos mounted facing opposite directions. Because the tuning lives in a handful of constants, adjusting for your own print is straightforward.
Distance trigger with hysteresis
The sketch greets whoever approaches. It defines two thresholds: DETECTION_DISTANCE = 200.0 and RESET_DISTANCE = 250.0. Check the Modulino Distance documentation for the sensor's units before relying on the numbers. The pattern is what matters:
if (distance < DETECTION_DISTANCE && !objectDetected) {
objectDetected = true;
playHello();
}
if (distance > RESET_DISTANCE) {
objectDetected = false;
}The gap between 200 and 250 is a hysteresis band. Without it, a hand hovering at the threshold, or a noisy reading flickering across it, would retrigger the greeting repeatedly. With it, the robot greets once per approach and re-arms only after the object has clearly left. It is five lines and avoids a failure mode that makes desk robots annoying within minutes.
The heartbeat as a non-blocking state machine
The most carefully written part is the heart animation on the LED matrix. Two 8x13 bitmaps, heartSmall and heartLarge, are alternated by a five-state switch driven by millis(). It renders large, waits 120 ms, small, waits 100 ms, large, waits 160 ms, small, then holds 700 ms before restarting. The sketch's comments note that the bitmaps are flipped to match the display orientation, which is worth knowing if you reuse them on a differently mounted matrix.
One full cycle is 1,080 ms, roughly 55 beats per minute with the characteristic double pulse. Because heartbeat() never calls delay(), it returns immediately and runs on every pass of loop() alongside the sensor polling. This is the right way to animate while doing other work on a single-threaded microcontroller sketch.
Where blocking delays undercut it
The rest of the sketch does not follow the same discipline. playHello() calls delay() between notes: 150, 150, 210 and 270 ms, about 780 ms in total. During that time loop() is not running, so the heartbeat freezes on whatever frame was last drawn and the distance sensor is not read.
The startup path is worse. setup() waits 400 ms after each of three servo attaches, then 500 ms, then plays the greeting (780 ms), then runs makeMovement(), which blocks for three 400 ms head moves and three 500 ms arm moves, 2,700 ms in total. That is just over five seconds before loop() starts. Staggered attaches may be there to avoid all three servos drawing current at once, but the page doesn't say, so treat that as a guess. For a toy this is fine. If you add sensing or responsiveness, you will want to convert the gestures into the same millis() state-machine style as the heartbeat.
The greeting melody
The hello sound is four calls to buzzer.tone() at 523, 659, 784 and 1047 Hz, with durations of 120, 120, 180 and 250 ms. Those frequencies correspond to C5, E5, G5 and C6, so the greeting is a rising C major arpeggio ending an octave above where it began. Each note's delay is slightly longer than its tone duration, leaving a short gap between notes.
Because the melody is only data in a function, swapping it is trivial. The coupling is the problem: the sound, the delays and the trigger are in the same blocking routine, so a longer or more expressive audio cue directly lengthens the time the robot ignores the world.
From toy to computer vision and edge AI
The project description mentions computer vision, edge AI and physical AI. The sketch on the page contains none of that. It is a reactive loop: one distance sensor, one threshold, one canned response. No camera, model or inference appears in the code shown, and the parts list has no camera either. If those capabilities exist, they are in the repository or a later revision, or they are intended as extensions.
That is a reasonable way to read the project: a physical platform with a head, two arms, a display, a speaker and a presence sensor, with the sketch as a baseline to build on. Any vision work would need to be added, and the blocking structure above is the first thing it would run into.
Where this does not fit
Don't treat the Project Hub page as a complete build package. Pull the repository, check which Modulino modules and library versions the current code expects, and print a test part before committing filament to the whole body.
It also isn't a starting point for responsive behaviour as written. Five seconds of startup blocking and sub-second stalls during greetings are acceptable for a desk ornament and wrong for anything that must react while it moves. If you need concurrent motion, sound and sensing, plan to restructure the gestures first. Finally, CC0 covers the project's own files, not the Arduino libraries or hardware it depends on, so check those terms separately if you intend to ship a product.
- #3D printable robot
- #Arduino UNO Q
- #JBR-001
- #Modulino
- #Open Source
- #desktop robot



Comments