Description

Challenge 1

The GoPiGo functionality behaved just as expected. We were able to make the blue "eye" LEDs and the two red LEDs at the top of the Raspberry Pi blink on and off on command, and we were able to make the two motors run on command as well.

Challenge 2

We connected a light sensor to the front of the GoPiGo cart (which we outfitted with a solid base and made to look like an actual car) and replaced the Dexter motors with the servo motors contained in the ME84 toolbox. We successfully were able to dispplay a connection between the light sensor and the motors. When the sensor picked up light, the car would move backwards. When the sensor did not pick up light, the car would move in a circle.

Pictures

Challenge 1

Image

GoPiGo assembly

Image

Motors connected to GoPiGo

Challenge 2

Image

Car assemly

Image

Close up of GoPiGo connected to plastic base

Image

Light Sensor

Image

Close up of wheels connected to plastic base using x-beams

Videos

Challenge 1

Challenge 2

Code

Challenge 1

Image

Challenge 2

Image