Here are all of the code samples that we have created so far for the Littlebot Budget. More will be added as time passes and you guys create and submit more. Each code sample will also get a details tutorial with code explanations and wiring diagrams. Enjoy!
This file contains the Android app control code and the Automaous wander code. It defaults to App Control. But by changing the RobotMode variable it can default to Wander. Use the app to have Sumo Fights, races, and play soccer.
Setup the Littlebot to run away from Flame when a candle comes near him. Tutorial Coming Soon.
The Littlebot will maintain a fixed distance away from your hand. Tutorial Coming Soon.
Code Using Simple if Statements
Code Using a Basic Proportional Controller
Use two light sensors and get the LittleBot to follow a flashlight beam. Tutorial Coming Soon.
Several examples of using the buzzer to make the LittleBot Speak
React to Tilt Sensor
LittleBot will beep when bumped. Tutorial coming soon.
Use the Line Following Sensors to follow a black line on a white surface. Tutorial coming soon.
Use an IR Proximity Sensor to follow a wall.