tinyBotBigWave

tinyBotBigWave

tinyBotBigWave move both channel 2 and channel 3.  This example shows how using more than one of tinyBot's servos can create a different result. Also useful for when Wayne and Garth meet Alice Cooper.

Commands used:

robotMove(<channel>,<position>)

What We Learn:

This program uses only one command, robotMove. The difference between this and earlier experiments is the use of more than one servo to create the motion. Like tinyBotQueenWave, the <channel> parameter causes a different motion? After you've seen the program work, can you re-create it by changing tinyBotWave in mimicBlock or Arduino?

Instructions:

Download the program images HERE or click the images below. The file includes both the mimicBlock and Arduino versions of the tinyBotWave program. Copy the program using your computer, then upload it onto tinyBot. Does your robot move like the robot in the GIF at the top of the page?

tinyBotBigWave (drag and drop)

Click to View Full Size

 

tinyBotBigWave (Arduino)

Download Files:

Don't feel like copying the files? Download the complete program here.

Download tinyBotBigWave.ino for Arduino

Download tinyBotBigWave.abp for mimicBlock

Cut and paste code:

#include <robot.h>

void setup() {
  // put your setup code here, to run once:
robotActivate();

}

void loop() {
  // put your main code here, to run repeatedly:
 
robotMove(2,150);
robotMove(2,50);
robotMove(3,100);
robotMove(3,200);
}