Propeller Control Board (28205) Source Codes
jamesvweston
Posts: 16
Hello Everyone,
This is my first post on the boards, and I'm fairly new to robotics. Currently, I have experience with one other robotic platform (Ridgesoft's Intellibrain) and I was looking to get into something a little more advanced that was also more flexible. My University picked up the Propeller Control Board (28205), and I'm having a hard time using it. I have only been successful in using the LCD screen, and haven't been able to get any other compents to work (GPS, Servos, etc etc). I've read almost the entire manual for the Propeller Manual and am having problems with the Spin language. Could someone post a few examples for the Propeller Control Board (28205), and more specifically a simple code that will make a servo that is hooked up to the Servo 0 position on the board?
Thanks for the help!
-Jimmy
This is my first post on the boards, and I'm fairly new to robotics. Currently, I have experience with one other robotic platform (Ridgesoft's Intellibrain) and I was looking to get into something a little more advanced that was also more flexible. My University picked up the Propeller Control Board (28205), and I'm having a hard time using it. I have only been successful in using the LCD screen, and haven't been able to get any other compents to work (GPS, Servos, etc etc). I've read almost the entire manual for the Propeller Manual and am having problems with the Spin language. Could someone post a few examples for the Propeller Control Board (28205), and more specifically a simple code that will make a servo that is hooked up to the Servo 0 position on the board?
Thanks for the help!
-Jimmy
Comments
For reverse engineering code, take a look in the object exchange (obex.parallax.com) for source code to do all sorts of stuff, including what you want. You'll have to change the pin numbers, but that's about it.
I'll give a very simple set up. Using The Propeller Control Board, I have a parallax continuous rotation servo hooked up to servo position 0. I'm just looking for a chunk of code that will make the thing spin.
I've tried this by creating a motor object from servo4.spin and Servo32v3.spin, and I just haven't gotten anywhere.
Thanks,
-Jimmy
I changed the ServoPin values, and still got nothing.
I included a picture of the setup. You can clearly see the servo is plugged into Servo Port #0. The other attachment on the board is the LCD screen, which is hooked into Aux Connection #19
When I loaded the following code, some weird stuff happened. The first time I loaded it, the wheel spun successfully. Without changing anything in the code, the blue LED on the board, the LCD screen's backlight, and the servo
will all turn on and off at the same time. They will be turned on just enough to notice, and then cut off for about 2 seconds.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
The batteries were almost dead. That solved the problem. At least the servos are spinning with that code.
Thanks guys
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker