Decomposing Robotics Bugs
Problem | Pattern Recognition | Solution | Algorithm Thinking |
Wheels not turning | Software & Hardware Output | Check blocks & physical ports to match ports set in code to be where the wheels are actually plugged in | |
Movement controls not working | Software Behavior Output | Check the blocks you are using Blue blocks control one motor Pink blocks control two motors | |
Sensor problems | Robot Message Input | Check the code: Event blocks = triggers to start (know how your code starts) Wait until = pauses what is in progress (know how code should behave CLOSER/Farther THAN or exactly) | |
Decomposing Robotics Bugs
Problem | Pattern Recognition | Solution | Algorithmic Thinking |
Dead battery | Hardware | Charge at the parking lot station *This doesn’t have to be done unless your Smarthub battery is low | Physical device issue - plug in charge cord Green light = charged Orange light = charging Check battery life level in Connect |
Smart hub not connecting | Hardware | Check chromebook bluetooth is on by clock Make sure Smarthub is on and small button is detecting | Physical device issue - press bluetooth button on Smarthub & follow prompts on computer |
LEGO SPIKE Prime
Code Samples
Forward/Back # times
Turn in Place
Swing or Gradual Turn
LEGO SPIKE Prime
Code Samples
Line Tracking
Wait for Green
Forward until OBJECT
Moves until detects RED