Examples | Shop
 
Wireless Sted-E-Man
 
This example application demonstrates how the Sted-E-Man can be controlled remotely using a Wireless Control Module (WCM) connected to the Sted-E-Man and a Wireless Handheld Controller (WHC) issuing directional commands to manipulate the Sted-E-Mans course and direction.
The WCM is connected to the OOPic-C or OOPic-R microcontroller via the I2C/Programming Header.
On power up, the Sted-E-Man will run through its start-up process and then wait in its start position until commands are received from the WHC.
To connect to the OOPic-C you will need to solder header pins to the 5 pin Prg connector.
Connections are as follows:
WCM OOPic-C & RCBV2 OOPic-R
I2C Input Prg Connector Prg Connector
Pin 1 (SDA) Pin 1 (SDA) Pin 1 (SDA)
Pin 2 (GND) Pin 2 (GND) Pin 2 (SCL)
Pin 3 (SCL) Pin 3 (SCL) Pin 3 (SCL)
Pin 4 (+5V) Pin 4 (+5V) Pin 4 (+5V)
Servo connections on the Sted-E-Man are as stated in the Sted-E-Man documentation.
In order to control the Sted-E-Man, you need to set up the WHC to look for the correct remote node. This will match the WCM onboard the Sted-E-Man’s local node set-up (in this example it is 2). The WHC’s local node is always 253. The reason for setting up these nodes is similar to putting send and return addresses on a parcel you are sending to somebody. Without them, the parcel will never be delivered and you will get no confirmation of delivery.
When both units are set-up, you are ready to control Sted-E-Man wirelessly. The WHC should be set to button presses on the Red status led. This means values of 5 (forwards), 7 (Left), 8 (Right) and 9 (Stop) are sent when the corresponding arrow buttons are pressed.
You can also use a second WCM connected to a PC in place of the WHC to control the Sted-E-Man wirelessly from your desk!
Download the code here.

Examples | Shop