The Bowmar Builders are an FLL team associated with Bowmar Elementary School. The purpose of this blog is to help other students interested in robotics to learn from what we have learned. As an FLL Robotics team we use the Lego EV3 robotics system and the Mindstorms graphical programming language.

Saturday, May 28, 2016

Good Reference Materials for Mechanical Design

One of the best ways to teach the team members mechanical principles is to demonstrate for them a variety of ideas and options. The goal is to have them have a hands-on time where they can learn mechanical principles. Once the team members demonstrate that they can construct the example mechanisms you should have them try to apply the principles to a new situation.

A good reference book that has many examples with instructions on how to build them is "The Lego Mindstorms EV3 Idea Book" by Yoshihito Isogawa. It is available on amazon.com.

Follow That Line Algorithm

By Mateo B.

Overview


The FollowThatLine algorithm makes the robot follow the line for a certain number of rotations. It is a two-sensor line following algorithm.


Robot Setup

The two color sensors need to be 1/2 block off of the mat. They need to be 1 block apart from each other. This lets them track both sides of the black and white line on the mat. The robot has the two color sensors plugged into ports 2 and 3, with the one in port 2 on the left. The drive motors are plugged into ports B and C.



Outer Control Loop

The outer control loop repeats the logic until the exit condition is met. The exit condition is the number of rotations. The overall logic uses a state-based system where the wheels are just turned on rather than on for a specific time, degrees, or distance. The outer control loop determines when to be done. The wheels are not turned off at the end of the algorithm.


Exit Condition

The exit condition is go until greater than or equal to a number of wheel rotations. The exit condition is hooked up to an input parameter. This makes it so when you add the myblock you type how far the robot goes. To make the parameter you add a numerical parameter when you make the myblock.



First Switch Block

The algorithm is controlled by two switch statements. The first switch block tests if sensor 3 (the right sensor) is less than or equal to a reflectance value of 50 (darker than half black and white). The options are true, meaning we have moved to too dark, or false, meaning that it is either ok or too white.

First Switch Block - True

If sensor 3 measures too dark then the robot has steered to the left and we want it to start steering to the right. This is done by adjusting the power to each wheel.


First Switch Block - False

If it is false we need to figure out if we need to steer right.

Inner Switch Block

In the inner switch block for the false value of the outer switch block, the robot tests sensor 2 (on the left) for a reflectance intensity less than or equal to 50. This will test to see if the robot has steered too far right.

Inner Switch Block - True

If it is true steer left because the robot is to far to the right. You do this by adjusting the wheel power to B and C.

Inner Switch Block - False

If it is false then the robot is neither too far left nor too far right. The robot needs to steer forward by setting the wheel power to the same number.


Summary

The FollowThatLine algorithm uses two switch statement to determine if the robot needs to steer left, right, or go straight. The steering is done by adjusting power to the two drive wheels. The exit condition is a motor turning a desired number of revolutions. The key sensing mechanism is if the two color sensors are measuring a value of 50 or less, meaning too dark (over the black line.) The algorithm assumes that it starts somewhere close to being correctly over the line (the black line will be between the two sensors.)


Friday, May 27, 2016

2016-2017 Season Theme: Animal Allies

The theme is out for the next year!


Here is what we know so far:
Get ready. Get set. Roar! Or you could bark, quack, or squeak, because the 2016 ANIMAL ALLIES season is all about our furry, feathered, and finned friends. In the 2016 FIRST® LEGO® League Challenge, more than 28,000 teams of students age 9 to 14* will look into the eyes of our ANIMAL ALLIES. What might become possible when we learn to help each other?

Summer fun with robotics

There are a few summer camps for anyone interested in learning more about robot design and programming.

STEM and Robotics Camp

Mississippi Robotics is partnering with two organizations and offering a STEM Camp and a Robotics Camp, both for one week each.

June 13th-17th
STEM Camp, Woodville, MS, 3rd-7th grades, project-based, $195
http://mississippirobotics.org/2016stemcamp/

June 6th-10th
Robotics Camp, Jackson, MS, 5th - 9th grades, programming LEGO EV3, no cost
Sponsored by Jackson Medical Mall
http://mississippirobotics.org/2016-summer-robotics-camp/