A smart dice with a XIAO nRF52840 Sense, Web Bluetooth and three.js
This is a dice that knows which face is up.
15 posts with this tag. All tags
This is a dice that knows which face is up.
My calibration repo started in December 2023 as a laptop webcam script. In June 2025 it gained a Raspberry Pi version with autofocus switched on.
Files: linear-actuator-with-mg90 on GitHub (STEP and Fusion archive) · Watch: 3D-printed linear actuator · Belt-driven linear rail with servo Z axis
In the post on joint space and Cartesian space, I wrote inverse kinematics by hand for two joints. For six joints, that stops being a weekend exercise.
My calibration scripts started out on a laptop with cv2. VideoCapture(0).
On a 3D printer, G1 X100 Y50 moves the nozzle in a straight line to that point.
Marlin's defaults are good defaults for a 3D printer. A few of them are quietly wrong for a robot arm, and you only find out when the arm does something odd.
Getting six motors to answer to six letters was the easy part.
A robot arm with six joints needs six stepper motors, moving together, from one stream of commands.
Gazebo Classic reached end of life at the end of January 2025. It still runs, but there are no more fixes, and newer ROS 2 releases don't support it.
A line follower sounds like a beginner project, and the basic version is.
Testing a line follower on a real floor is slow. Charge the battery, put the rover down, watch it wander off the line, pick it up, change a number, repeat.
ROS 2 has a reputation for being hard to get into. The docs talk about nodes, topics, DDS, QoS and colcon, and it all sounds like a new world.
When I added a Raspberry Pi 4, a camera and a lidar to my little rover, the obvious plan was to let the Pi do everything.
My first rover was a small 3D-printed car with Ackermann steering, two N20 motors, an MG90S servo for the steering and an Arduino Nano listening to a 2. 4 GHz radio.