GEAR - Geauga Engineering and Robotics
header graphic

All lessons listed on this page are available online at http://www.lafavre.us/robotics/third_year.htm

Lessons for Third Year Seniors 2024

Robot projects for 2024

Third year seniors will learn to program ActivityBot robots using the programming language named "C".   Before the February business meeting, members should complete the lessons listed below. If possible, complete at least lessons 1 through 8 before the February meeting.

Lessons utilizing the IDE named Dev-C++

Lesson One - C language - Hello World!

Lesson One includes a link to download Dev-C++ software, which only works with computers running Windows. If you have an Apple computer, then take a look at alternative instructions for completing these lessons

Lesson Two - Variables and Calculations

Lesson Three - Floating Point Math

Lesson Four - Array Variables

Lesson Five - Make a Decision

Lesson Six - Make Several Decisions

Lesson Seven - Make Complicated Decisions

Lesson Eight - Code That Repeats

Lesson Nine - Counting Loops

Lesson Ten - Index Array Variables

Lesson Eleven - Variable Values and Addresses

Lesson Twelve - Get Values From Terminal

 

C Language Reference

C Language Reference - save this as your "book" on C language

 

"C" Lessons to Code a "Rock, Paper, Scissors" game (on YouTube)

Click for Lessons

 

Lessons for the ActivityBot robot

Most of the lessons below can be completed only when you have an ActivityBot robot. However, you can go ahead and read the first lesson, which is an introduction to microcontrollers, including the one for ActivityBot.

Lesson One - What's a Multicore Microcontroller - Getting Started - you don't need the robot to read this lesson.

Installing the software for ActivityBot - you will need to install the SimpleIDE software on your computer before you can write and test code for the robot.

get the software here - on this page you can select your computer type (Windows, Apple, etc.)

Update the libraries - after you install SimpleIDE, you will need to update the libraries. See lesson below, Making the ActivityBot360 robot move, for instructions on updating the libraries.

Making the ActivityBot360 robot move - now you will begin learning how to make the robot move

Making ActivityBot360 Follow a Wall - Wall-following is a technique used with maze robots to ensure the robot does not collide with a wall.

Making ActivityBot360 turn a corner - In solving the maze your robot will need to make many turns.

Displaying Ping Measurements - You will be using ping distance sensors to assist your robot in navigating the maze. In this lesson you will calibrate your sensors.

Using Odometry with ActivityBot360 - In this lesson you will learn how to make the robot travel a specific distance.

Using Ping sensor to trigger a turn - In this lesson you will learn how to use the Ping sensor to initiate a turn.

Counting turns in a maze - In this lesson you will learn how to make the robot count its turns in the maze.

back to home page

 

Last update: May 12, 2024