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
  • Robotics with the Board of Education Shield for Arduino

Robotics with the Board of Education Shield for Arduino

Chapter 4 Summary

This chapter was all about robot navigation, experimenting with many different programming approaches and employing some robotics and engineering skills: 

Programming 

  • Simplifying navigation by creating custom functions for frequently-used maneuver code, and how to call those functions
  • How to use counted for loops with step increments in maneuver code
  • What parameters are, and how to write functions and function calls that use them
  • How a local variable can be created as a parameter in a function declaration
  • How to declare, initialize, and use the Arduino language’s int and char arrays, taking advantage of the Arduino library’s sizeof function
  • How to manage program flow control, using do-while and switch/case
  • How to use the post increment operator (++)  in conditional loops
  • How to use the not-equal comparison operator (!=) as a condition in a loop
  • Writing sketches to play a sequence of notes on the piezospeaker
  • Writing sketches using several different program strategies to perform the same maneuver sequences

Robotics Skills

  • How basic rolling-robot maneuvers are accomplished by controlling wheel speed and direction
  • What the differences are between gradual turns, pivot-turns, and rotating-in-place turns, and what wheel speed/direction combinations make these turns.
  • What speed ramping is, how to use it so your robot moves smoothly into and out of maneuvers,  and how ramping is beneficial to your BOE Shield-Bot
  • What dead reckoning is, in the context of entry-level robotics navigation
  • Controlling robot maneuver run-time to make the BOE Shield-Bot travel a pre-determined distance or to rotate to a particular angle
  • Compensating for hardware variance by adjusting servo speeds for straight travel

Engineering Skills

  • Making observations and measurements to derive constants for a simple formula that characterizes the cause-and-effect relationship between system input and system output. (Yes it sounds fancy, but that’s what you did with that ruler.)
  • The difference between a hardware adjustment and a software adjustment
  • What an iterative process is, and using it for testing software adjustments

Printer-friendly version
Character Arrays and switch-case
Prev
Chapter 4 Challenges
Next

DISCUSSION FORUMS | PARALLAX INC. STORE

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

© 2025 Parallax Learn • Built with GeneratePress