WE DID IT! 😀
THE ULTIMATE CODE!
We used this code to make our robot draw a straight line!
Robots new look!
We recently has some problems with our infrared sensors, as well as out ping ultrasound sensor. So, we chose to not use the infrared. But, we couldn’t easily remove the ultrasound, so we improvised and put the new, working ultrasound on top of the old, broken one and reconnected the wire.
Infrared Sensors
Last class, we thought our hardware or software went wrong BUT, after connecting another IR sensor, we found out that the left IR sensor was not working correctly. From now on, we’re basing all of our robot’s reading off of the right IR sensor. Sophia made the graph of the IR sensor values for the right side. When Karam and Andrea measured the values with a ruler, this helped us identify which wasn’t working correctly.
Finally!
After two weeks, we are now getting back to working on our robots! Yay! 🙂
Programming
Currently we have programmed the robot to move forward, backwards, left, right, rotate left and rotate right. We have also programmed the robot to stop a certain distance from a wall. For the next few days we will program the infrared sensors so that the robot doesn’t drift when drawing a straight line.






