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
  • Infrared Light Navigation for the cyber:bot

Infrared Light Navigation for the cyber:bot

Drop-off Detector

Up to this point in the tutorial, your cyber:bot been been programmed to look slightly upwards and take evasive maneuvers when an object is detected.  The component position and code can also be modified to look downward and take evasive maneuvers when an object is not detected, such as the surface it is driving on. 

This capability would allow your cyber:bot to roam on a table without driving over the edge. However, driving off a table accidentally while experimenting could certainly be harmful to your cyber:bot.  So, we will take advantage of a property of infrared light.  Infrared light is absorbed by most black surfaces, and reflects off of most light-colored surfaces.  By making a wide black border around a white surface, we can simulate a drop-off without putting the cyber:bot in any danger of falling.

Recommended Materials for a Simulated Drop-off
(1) Roll of black vinyl electrical tape,  ¾″ (19 mm) wide, or black tempera paint and brush.
(1) Sheet of white poster board,  22 x 28 in (56 x 71 cm).

Re-orient the Object Detectors

Ther are no new components or circuit changes needed for this application, just an adjustment to the position of the existing parts.

  • Set the cyber:bot board’s PWR switch to position 0.
  • Point your IR object detectors downward and outward as shown below.

 


    Printer-friendly version
    Faster IR Navigation
    Prev
    Simulate a Drop-off with Poster Board
    Next

    DISCUSSION FORUMS | PARALLAX INC. STORE

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

    © 2025 Parallax Learn • Built with GeneratePress