GEAR - Geauga Engineering and Robotics
header graphic

Lessons for Third Year Seniors

ActivityBot Robot project for 2017

Third year seniors will learn to program ActivityBot robots using the programming language named "C." Members attending the January business meeting were introduced to the basics of creating a C program. 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

 

Extra Lessons for your reference

Extra Lesson One - Creating Custom Functions

Extra Lesson Two - Driving the ActivityBot

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

program code for calculations for driving ActivityBot. Open this link to get the complete C code for a program that does calculations for driving ActivityBot.

 

Lessons for the ActivityBot robot

Most of the lessons that will appear below in the future 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. If you have a laptop that you are going to use at GEAR meetings to work with a robot, then you will need to install the software before the first meeting in January of 2016. You can go ahead and install the software now, but just skip the part in the instructions where you are asked to connect the robot to the computer to run a test. SimpleIDE is available for Windows and Apple computers and also computers running Linux.

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 using instructions on this page

 

ActivityBot Lessons - these are the lessons we will use in our meetings. You can take a look if you like.

ActivityBot Electronics - read this and save it as a reference about the ActivityBot microcontroller board.

Hello World! - If you did the lessons using Dev-C++, then this is a repeat of the first lesson BUT using the robot to process your code. Everyone will do this lesson because here you will learn how to connect the ActivityBot robot to a computer and transfer programming from the computer to the robot.

Assembly of the robot - in the Hello Word! lesson you will use the microprocessor part of the robot before assembling the robot. Before we can continue, you will now install the microprocessor board to the robot frame, add motors and wheels, plus some other parts. The link at start of this paragraph will take you to a web site where you will find the directions for robot assembly.

Electrical connections - after you have assembled the robot, you will need to connect some wires between parts.

Making your robot move! - Now we get down to business. Use this link to go to the home page for a series of lessons on driving the robot and using various sensors.

Custom Arc Turn Function Here is a custom function that will help with arc turns.

C lanaguage reference for ActivityBot - save this as your "book" on writing code for ActivityBot

Calculations for driving straight and turns - download this as a calculations summary to help your coding for the robot

 

Intermediate-size robot project for 2017

After members complete their projects with the ActivityBot robot, they will work in groups to build intermediate-size robots. These robots will utilize parts from the Tetrix Max platform ( https://www.tetrixrobotics.com/ ), radio remote controls from Futaba, motor controllers from Dimension Engineering, electronic and mechanical components built by club members and advisors, and a microcontroller board from Parallax (the same board used in the ActivityBot robot). Check the link below for instructions on building the robot. We anticipate members will start this work this summer.

Instructions for building robot

 

back to home page

 

Last update: June 11, 2017