Week 1

June 20, 2022 through June 24, 2022

Robotics and Computer Engineering

Goal:

DISCOVER THE ROBOTICS INVOLVED IN DISASTER RECOVERY


Our Projects

Virtual Robot

Using online program ROBOTC our team built a virtual maze that represented a collapsed building in an earthquake. The robot traverses the maze autonomously, avoiding obstacles while traveling from the start position to the ending target. Programmed in the language C, our virtual robot was able to successfully make it through the maze using a bumper sensor to navigate. An obstacle we had to overcome was our robot hitting a corner and getting stuck. At first, the right bumper would get triggered, causing it to turn left, but then the left bumper would get triggered, causing it to turn right. To solve this issue, we incorporated an algorithm that would track how many times the robot goes back and forth between the two sensors. If the robot moved back and forth more than four times, the robot would make a larger turn to leave the corner. This simple yet effective algorithm allowed our Virtualbot to successfully navigate through the maze of obstacles.

Arduino Red Bot

For the Arduino robot, we wrote two separate programs, one for line tracking and one that finds a way to escape a building in a disaster (very similar to the virtual robot). The construction of the robot was quite simple, as we attached batteries, motors, and the Arduino Board. Afterwards, we connected the wires necessary to allow access to our sensors. This provided the resources necessary to successfully run and complete the task of saving a human in a time of natural disaster. This was demonstrated through the robot's ability to drive to the person, despite the other paths.

Tamiya Vehicle

The Tamiya robot measures the temperature of surrounding objects in order to find humans who may be stuck in a building.

We were unable to successfully test and finalize the Tamiya robot due to difficulties regarding construction, wiring, and the Arduino Board shorting out. The structure of the Tamiya bot was successfully assembled, however attaching the batteries, breadboard, and Arduino board were structurally unstable on the bot. This could be fixed by taking out and rearranging the pieces, as well as utilizing space more efficiently while using tape and cardboard to help provide more structural support for the robot. Wiring was the biggest concern as to why the Tamiya bot failed, for we were unable to wire the sensors to the breadboard successfully. The wires were placed in the wrong section on the breadboard, creating difficulty within the program and resulting in a bot that either didn't work at all or performed tasks incorrectly.

Each sensor served an integral part in the robot's functionality. The ultrasonic sensor allowed the robot to sense its distance from an object. This would allow it to stop moving if it sensed an object in close proximity. The bumper sensor allowed the robot to receive data upon tactile touch. If the robot hit a wall, it would be able to stop moving and turn in the opposite direction. The motor drivers were connected to the breadboard and allowed the bot to change speed and direction. The infrared sensor allowed the robot to detect heat signatures, which would be useful for finding mammals and other living organisms. Finally, the breadboard's purpose was to create multiple connections that lead back to the Arduino kit in order to overcome the limitations of having few ports. We will be able to fix this through taking out all of the wires and completely rewiring the breadboard and the Arduino board. Now that we understand where these wires go and what they do, this will allow us to successfully complete building the Tamiya bot.

Some code & our robots running

Maze Escape

This snippet checks if both bumpers are hit, as if this occurs the robot performs a larger turn than if only one is hit, since it is running straight into a wall.

Temperature Detector

This code causes the robot to turn until the infrared sensor detects something within the human range. It then starts moving towards the human.

Line Follower

The code for the line follower worked, however we had some technical issues as the robot struggled to move on the carpet, and we had no black tape for it to track on the smoother light stone in the corridors. We used the serial of the robot to output the values of the sensors, which helped us determine the threshold between the high and low reflecting materials. when the robot is switched, on, it measures the right and left sensors, and sets up the threshold to be the middle number between the two. In order for this to work, the robot must be initially placed so that one sensor is above the line and one is not, however it makes the code more universal as it works on any line that is lighter than the surrounding floor. Using the serial also helped us narrow down the issues to the physical robot as opposed to the code, since the Serial told us that the robot was trying to turn right, but in reality it wasn't because it got stuck on the carpet.

RED BOT BUMPER SENSOR


RED BOT LINE SENSOR


VIRTUAL ROBOT


Further Research on the Subject

new SIGNIFICANCE OF ROBOTICS WITHIN DISASTER RECOVERY