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

Simulate a Drop-off with Poster Board

Simulate a Drop-Off with Poster Board

A sheet of white poster board with a border made of electrical tape or black tempera paint makes for a handy way to simulate the drop-off presented by a table edge, with much less risk to your cyber:bot.

  • Put the cyber:bot board’s power switch in position 1.
  • Run the project IR_interference_sniffer to make sure that nearby fluorescent lighting or other devices will not interfere with your cyber:bot’s IR object detectors.
  • Make a small test patch of your paint or electrical tape on a piece of paper, and make sure that the infrared object detectors cannot see a reflection from it using test_both_IR_indicators, below.
  • Build a course similar to the one shown above. For electrical tape, use at least three strips, edge to edge on the poster board with no paper visible between the strips, and make diagonals over the corners. For paint, make a stripe at least 3 inches wide.
  • Use the project test_both_IR_indicators again to make sure that the cyber:bot detects the poster board but does not detect the electrical tape or paint.

If the cyber:bot still “sees” the electrical tape too clearly, here are a few remedies:

  • Try adjusting the IR detectors and LEDs downward at shallower angles.
  • Try a different brand of vinyl electrical tape.
  • Try replacing the 2 kΩ resistors with 4.7 kΩ (yellow-violet-red) resistors to make the cyber:bot more nearsighted.
  • Adjust the ir detect block with different frequency arguments. These will make the cyber:bot more nearsighted: 39000, 40000, 41000.

If you are using older IR LEDs, the cyber:bot might actually be having problems with being too nearsighted. Here are some remedies that will make it more far sighted:

  • Try replacing the 2 kΩ (red-black-red) resistors with 1 kΩ (red-black-brown) or even 470 Ω (yellow-violet-brown) resistors in series with the IR LEDs instead of 2 kΩ.
  • Try pointing the IR LEDs and detectors downward at a steeper angle so that the cyber:bot is looking at the surface right in front of it.

Printer-friendly version
Drop-off Detector
Prev
Avoid Drop-offs
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

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

© 2025 Parallax Learn • Built with GeneratePress