Train TJBot to Wave in Node-RED
Today we’ll train TJBot to wave its arm. Before we begin, let’s talk a little bit about the hardware that makes it happen. The cardboard arm is attached to a servo that rotates, and it makes TJBot appear to come alive.
The Node-RED node labeled wave provides several positions for the arm to move to: arm back, raised, and lowered. This offers a number of things you can do with just the arm. Another mode, wave, moves the arm to three positions: raised, lowered, raised.
But before you can use the wave node, first enable the servo hardware in the TJBot configuration.
Here’s a video of how to control the TJBot arm with the wave node.
That’s it for today’s skill. You can find the source for this project in my GitHub repo. What can you train TJBot to do now that it can move an arm?
Come back tomorrow and we’ll talk about the LED.
This post is part of a series of skills you can train TJBot to perform.