Download the project from GitHub and deploy the application to your Raspberry Pi. Once deployed you can unplug your network cable and hdmi cable and let it roam around randomly throughout your house.
MaterialsMany DIY robotics projects require a lengthy list of parts that have to be purchased from many different sources. The GoPiGo packages the majority of materials you need to get your very own robot quick and easy. To build the GoPiGo, you will need the following:
- 8 AA batteries
- Screwdriver
- SD card
- Ethernet Cable
Written Step-By-Step Guide can be found here.
DriverThe Drive project is a Background task which communicates random commands to the GoPiGo library every 3 seconds. This can easily be expanded on to change direction based on the value of a sensor or other factor.
GoPiGoThe GoPiGo project is a Windows Universal library that communicates to the GoPiGo board via the i2c bus of the Raspberry Pi,
- Command,cs - Enum of command addresses that are used to send and retrieve data from the GoPiGo board.
- Constants.cs - Used to store constants throughout the library. For now only the "Unused" address lives here.
- DeviceFactory.cs - Factory used to build different i2C/GPIO devices including the GoPiGo board, Leds, and an UltraSonicSensor.
- EncoderController.cs - Work in progress. Will be used to communicate with on board motor encoders.
- GoPiGo.cs - The GoPiGo object that represents the GoPiGo board. Allows users to interact witht he board, retrieve voltage going to the board, get current firmware version, read/write from Analog and Digital ports of the board, operate motor controls.
- Motor.cs - Enum for MotorOne and MotorTwo.
- MotorController.cs - Controller for motor one, motor two, and servo. Allows basic movement commands and speed control.
- Pin.cs - Enum for different ports on the GoPiGo.
- PinMode - Enum to set a pin to either input or output.
- State - Enum to set state of sensors/leds.
This is just a simple example of getting the GoPiGo to move with a Microsoft Universal application, Future tutorials will be made to show different uses of sensors, networked UI, and more! See what you can come up with and be sure to share in the comments below.
Comments
Please log in or sign up to comment.