Quick Update: I ordered some USB A ports, short USB A to Micro-USB B cables, and breakout kits for the Raspberry Pi so I can proceed in my project.
My next (small) hurdle is to actually get the software running for the robot. The issue right now is that the Raspberry Pi takes a while to actually start up, and at the moment I have to enter in a username and password, then execute the file I want to run, all which requires interaction from me. Ideally, I would just be able to plug in the Pi and have it start running the code which I write, and I think I can easily do this. (find somebody who has already done it and follow what they did)
The issue still remains for actually starting / stopping the program on the Raspberry Pi without unplugging it or having it start when I don't want it to. An easy solution to this would be to have the program automatically start (as I said above) but have nothing happen until I press a button on the robot, which would act as a way to start/stop the robot's program. This is pretty simple to do once I have the Raspberry Pi GPIO pins hooked up to the breadboard, I just need to get a couple buttons. (Not hard to find, I think Radio Shack even has them)
I've decided I'm going to code for the robots in Python, since I have a little experience with it, and somebody wrote a nice library called RPi.GPIO which makes it simple to control the Pi's GPIO pins. More on this in the coming weeks.
No comments:
Post a Comment