Skip to content
Parallax Learn

Parallax Learn

  • Welcome
  • Tutorials
        • Tutorial Series head tag

          Tutorial Series
        • Tutorial Series

          The special, classroom-ready series pages are organized collections of tutorials for our most popular hardware and/or languages. The tutorials for each topic are conveniently accessible from a single page, shown in the order it is recommended that they be completed.
        • Robotics Series Head tag

          Robotics Series
        • Robotics Series

          • Artificial Intelligence
          • Cybersecurity: Radio Data tutorialCybersecurity
          • cyber:bot + Python
          • cyber:bot + MakeCode
          • Boe-Bot Tutorial SeriesBoe-Bot
          • Arduino Shield-Bot
          • ActivityBot with C TutorialsActivityBot + C
          • ActivityBot with BlocklyProp Tutorial SeriesActivityBot + BlocklyProp
          • Scribbler 3 Tutorial SeriesScribbler 3
        • Electronics & Programming Series Head tag

          Electronics & Programming Series
          • BS2 Board of Education Tutorial SeriesBS2 Board of Education
          • Propeller C-Language BasicsPropeller C Basics
          • FLiP Try-It Kit C Tutorial SeriesFLiP Try-It Kit + C
          • FLiP Try-It Kit BlocklyProp TutorialsFLiP Try-It Kit + BlocklyProp
          • Badge WX Tutorial SeriesBadge WX
          • Propeller BlocklyProp Basics and ProjectsPropeller BlocklyProp Basics
          • View All Tutorial Series »
        • Browse Tutorials
        • Browse Tutorials

          Individual tutorials sorted by robot or kit, and language.
        • By Robot or Kit
          • ActivityBot
          • SumoBot WX
          • Boe-Bot
          • Shield-Bot
          • cyber:bot
          • Badge WX
          • ELEV-8
          • ARLO
        • By Language
        • By Language

          • Propeller C
          • Arduino
          • BlocklyProp
          • PBASIC
          • Python
          • MakeCode
          • View All Tutorials »
  • Educators
  • Reference
  • Downloads
  • Home
  • All Courses

Remote Control Rock, Talk, and Roll ActivityBot

Curriculum

  • 1 Section
  • 4 Lessons
  • Lifetime
Expand all sectionsCollapse all sections
  • Remote Control Rock, Talk, and Roll ActivityBot
    4
    • 1.0
      Putting the Pieces Together
    • 1.1
      Taking a Test Drive
    • 1.2
      How Does it All Work Together?
    • 1.3
      Do More With This Project

Do More With This Project

 

Did You Know?

You can use your own WAV files for this project.  Give your ActivityBot a vocabulary all its own, add different music tracks, or even sound effects.  Our Sound Library features easy how-to’s for using the free Audacity software:

  • Sound Library

 

Try This – Driving Test!

Gather some friends, and see who is the best ActivityBot driver!

  • Increase the length of the last pause function call to 2500. 
  • Set up a maze of boxes with walls about 30 cm apart, with several turns of different angles. 
  • Use a stopwatch and take turns driving through the box maze to see who can drive through it fastest. But be careful – hitting a wall causes a 3-second penalty!

 

Try a Different Sensor

Remember this little piece of code, the inner while(… loop? ?

    while((input(7) + input(8)) == 2)    // Inner loop while whiskers not pressed

If you want to use a different sensor for object detection, this is the line to change.  For example, instead of whiskers, let’s say you have a PING))) Ultrasonic Distance Sensor connected to P8. Provided you add #include “ping.h” to the top of your code, just replace that line with the following:

   while(ping_cm(8) > 10)               // Inner loop while no object within 10 cm

This will keep the inner loop looping as long as the measured distance returned by the PING))) sensor is greater than 10 cm.

 

Teacher Tips

Here are some helpful hints for using this activity in a classroom:

  • Overhead fluorescent light fixtures can emit infrared light and interfere with IR signals.  It might be wise to have your students try the Your Turn section of the IR Receiver and Remote Tutorial and then scope out the classroom lighting for sources of infrared interference.
  • If several students are trying this project in the same room, be aware that every remote can control every robot.  Have students move to different corners of the room, or take turns. 
  • Or, take advantage of the single-controller, many-robot feature. It can be fun to have the robots line up or face each other in a square and have one remote controller make them speak and dance in unison!
  • If you have several robots in the same place, try modifying the program for each one separately to respond to only a few of the number buttons.  That way you can give each robot a smaller but unique set of audio responses from the same remote.

Printer-friendly version
How Does it All Work Together?
Prev

DISCUSSION FORUMS | PARALLAX INC. STORE

About | Terms of Use | Feedback: learn@parallax.com | Copyright©Parallax Inc. 2024

© 2026 Parallax Learn • Built with GeneratePress