Anna the Multibot turns typed commands into motion, vision tasks and storytelling

robotics, vision, Wi-Fi

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

robot, camera, motor control —

robot, camera, motor control —
robot, camera, motor control —

Source: Anna The Multibot! on Hackaday.io · Dennis

robot control, computer vision

A Wi-Fi camera, a homemade motor controller and an external PC give Anna a shared platform for several robot tasks. Dennis’s 2016 build connects simple keyword commands to spoken replies, OpenCV routines and a read-along storytelling application—without putting all the computing onboard.

🎉 1

A personal robot with several abilities needs more than a collection of demos: it needs a way for someone to ask for each one. Dennis’s Anna the Multibot project on Hackaday.io tackles that problem with typed commands and spoken responses, connecting movement, vision functions and storytelling through one interface. The supplied logs, spanning June 30 to August 4, 2016, show how a Wi-Fi-controlled experimental robot acquired those additional jobs.

The PC does the heavy lifting

Anna’s hardware keeps the onboard work relatively simple. Dennis describes a robot built mostly from things found in the basement, with a Tenvis JPT3815W Wi-Fi camera and a homemade motor-controller board. The board uses a PIC16F874A microcontroller, a Wi-Fi module and two H-bridge motor drivers. The camera provides its own pan and tilt, one reason Dennis chose it alongside its low cost.

A desktop or laptop runs the main program over the Wi-Fi network. Written in Visual Basic using Visual Studio Community, it gives Dennis a place to test control logic and process camera images without moving that computing onto the robot. EMGU supplies the connection to OpenCV.

The June 30 hardware overview describes remote control of both drive motors and the camera’s pan and tilt, with a video feed returning to the laptop. That is the foundation for the later automated functions. A port for an eventual arm is part of the design, but object manipulation remained a future aim rather than a demonstrated ability.

Plain text selects a routine—not a conversation

The interesting interface choice is deliberately modest. Anna does not need to understand unrestricted language to make its functions accessible. In the July 22 command-interface log, Dennis separates command handling and speech into two classes. A text box passes its contents to the decoder as characters are entered; keyword combinations select the operation.

Words such as “look” or “head” route toward camera movement, while “move,” “turn” and “back up” route toward driving commands. A separate thread handles the spoken response so it can run alongside the requested operation. The input is typed text; the voice is feedback, not evidence of speech recognition.

By July 29, the same pattern also controls vision routines. Commands containing “show,” “canny” and “frame” enable the edge-image view; another combination enables face detection. Boolean flags record which routines are active, and corresponding cancel commands clear them. The project overview also lists face tracking among its accomplishments.

This is a small but useful form of extensibility: a new capability gets an entry point in the command decoder and a spoken acknowledgement, rather than requiring a completely separate control interface.

Edges become steering cues

Anna’s obstacle-avoidance work starts with a Canny edge image: black for the background, white for detected edges. The July 9 proximity log describes scanning upward from the bottom of that image until an edge appears, then storing its pixel position. Dennis samples every tenth line to reduce processing time and also records average hue and brightness from the corresponding colour image for possible later use.

Additional scans move outward from the image centre toward the left and right sides. Those measurements supply a simple steering decision. In the July 19 kitchen test report, Dennis describes the rule directly: a threat on the right triggers a left turn, and a threat on the left triggers a right turn.

The distinction matters: these are image-based cues, not demonstrated measurements of distance in physical units. The reported kitchen trial shows a reactive avoidance experiment, not a general navigation system. What makes it useful to study is the visible chain from camera image to edge locations to a motor routine.

Storytelling reuses the same control path

The August 4 storytelling addition gives Anna a task that is neither driving nor inspecting an image. A command containing “tell” and “story” loads a text file and starts reading it aloud. A separate form displays one sentence at a time, with pause, resume and cancel buttons.

The excerpted code splits the story at periods, a straightforward approach suited to a controlled text rather than a sophisticated sentence parser. Dennis also describes automated head motion to hold attention. Putting the display on the robot was still a future step; the proposed benefit for teaching children to read was a motivation, not a measured educational result.

Anna’s most transferable idea is the shared path into these different tasks: select a function, acknowledge it, run it and provide a way to stop it. One detail deserves attention in a follow-on build: the decoder checks keywords while the user is still typing. An explicit submit action would make the boundary between composing a request and executing it clearer—especially when the next routine can move a robot rather than simply display a story.

Source: Anna The Multibot!

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.