Senior Design Week 5 -Pedro C.
- Senior Design
- Jun 8
- 1 min read
Motor Movement Test with WASD Control
This week I focused on getting the motors up and running with the Raspberry Pi. I created a simple Python test file using the RPi.GPIO library to control the motors using keyboard input.
For testing, I mapped basic movement to the WASD keys, W for forward, A for left, S for backward, and D for right. It’s a super simple setup, but it helped confirm that the GPIO pins were wired correctly and that the Pi was able to send commands to the motor driver without any issues.
The test file gives us a quick way to verify movement and can also be reused later for debugging if something isn’t working. Now that we’ve got movement working, we’re in a solid place to start building out more complex behavior.
Comentários