Tutorial.RobotDiscoBot History

Hide minor edits - Show changes to markup

May 18, 2013, at 07:59 AM by Scott Fitzgerald -
Changed lines 33-213 from:
to:
Changed lines 39-42 from:

The melodies are stored in the SD card. They are created with a tracker program, like in the good old 80's computer music.

Try to write your own music using a tracker software as explained at the Squawk library page for Arduino.

to:

The melodies are stored on the SD card. They are created with a tracker program.

To write your own music, use a tracker program as explained in the Squawk library reference.

May 17, 2013, at 06:22 PM by David Cuartielles -
Changed line 224 from:
to:
May 17, 2013, at 09:34 AM by Scott Fitzgerald -
Changed lines 5-8 from:

This sketch shows you the melody playing feature of the robot, and some really cool 8-bit music.

You get to choose between three melodies specially composed for the Arduino Robot using the D-pad. Once you get the music you like, put the robot on the floor and it will dance for you.

to:

This sketch demonstrates how to play a melody with the robot, by playing back some sound files.

You can choose between three melodies specially composed for the Arduino Robot using the buttons on the control board. Once you get the music you like, put the robot on the floor and it will dance for you.

Changed line 18 from:
  1. After the starting screen, the robot will be dancing with music playing and colours on the LCD
to:
  1. After the starting screen, the robot will be dancing with music playing and flashing colors on the screen
Changed lines 20-21 from:
  1. If you're not satisfied with the dancing moves, you can edit the scripts in the example to make it dance differently
    1. Locate the line char danceScript[]="S4L1R1S2F1B1S1\0";
to:
  1. If you're not satisfied with the dancing moves, change the example to make it dance differently :
    1. Locate the line char danceScript[]="S4L1R1S2F1B1S1\0"
Changed lines 23-24 from:
  1. The number after each command decides how long it lasts, equation is length=num*500ms
to:
  1. The number after each command decides how long it lasts. 1 = 500ms, 2=1000ms, 3=1500ms, and so forth.
May 15, 2013, at 01:02 PM by Scott Fitzgerald -
Changed lines 33-213 from:
to:
May 10, 2013, at 01:13 PM by Xun Yang -
Changed line 21 from:
  1. Locate the line char danceScript[]="S4L1R1S2F1B1S1\0";
to:
  1. Locate the line char danceScript[]="S4L1R1S2F1B1S1\0";
May 10, 2013, at 01:11 PM by Xun Yang -
Added lines 15-24:

Instruction

  1. Upload the example, unplug USB and turn on power.
  2. Place the robot on the ground
  3. After the starting screen, the robot will be dancing with music playing and colours on the LCD
  4. You can press left/right button to switch music
  5. If you're not satisfied with the dancing moves, you can edit the scripts in the example to make it dance differently
    1. Locate the line char danceScript[]="S4L1R1S2F1B1S1\0";
    2. S: stop, L: turn left, R: turn right, F: go forward, B: go backwards
    3. The number after each command decides how long it lasts, equation is length=num*500ms
May 03, 2013, at 11:34 AM by Xun Yang -
Changed lines 1-2 from:

Examples > Lottie Lemon?

to:

Examples > Robot

May 03, 2013, at 06:39 AM by David Cuartielles -
Added lines 1-41:

Share