Questions for Mike Green or Anyone who might be able to help Protoboard on Boeb
MovieMaker
Posts: 502
OK, Mike!
·· I have the following:· BoeBot Chasis Kit, Propeller on Protoboard, Ping and Bracket, SD card from SparkFun,Soundpal, heartbeat monitor, VGA,Mouse,Keyboard kit, Line following kit, IR emitter and REC., Pinouts are as follows:
P0
P1
P2
P3·· all go to SDcard from SparkFun
P4·· Ping Servo Out
P5·· Servo Motor Right Wheel
P6·· Servo Motor Left Wheel
P7·· IR Detector Left
P8·· Microphone input
P9·· IR Emitter Left
P10 Ping Signal In
P11 SoundPal output
P12 IR Emitter Right
P13 HeartBeat Monitor
P14 IR Detector Right
P15 Microphone other input
I tried various objects and I downloaded them. I used SPIN. I changed the pins to the right numbers as above and compiled and sent to RAM and to EEPROM.· So far I got the schroll demo to work and the HeartBeat Monitor. Everything else does not work. When the programs run, I hear the motors start to spin just a little split second and then stop.
I need some direction.
·
·· I have the following:· BoeBot Chasis Kit, Propeller on Protoboard, Ping and Bracket, SD card from SparkFun,Soundpal, heartbeat monitor, VGA,Mouse,Keyboard kit, Line following kit, IR emitter and REC., Pinouts are as follows:
P0
P1
P2
P3·· all go to SDcard from SparkFun
P4·· Ping Servo Out
P5·· Servo Motor Right Wheel
P6·· Servo Motor Left Wheel
P7·· IR Detector Left
P8·· Microphone input
P9·· IR Emitter Left
P10 Ping Signal In
P11 SoundPal output
P12 IR Emitter Right
P13 HeartBeat Monitor
P14 IR Detector Right
P15 Microphone other input
I tried various objects and I downloaded them. I used SPIN. I changed the pins to the right numbers as above and compiled and sent to RAM and to EEPROM.· So far I got the schroll demo to work and the HeartBeat Monitor. Everything else does not work. When the programs run, I hear the motors start to spin just a little split second and then stop.
I need some direction.
·
Comments
Grab a copy of BoeBotBASIC from the obex. Look at the configuration.
It has settings for many of the items you've listed. This will give you a good
starting point.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
BoeBotBasic has provisions for the 3 servos, 2 IR emitters, and 1 IR detector (mounted on the PING bracket).· It also will use an SD card.· One of the files should have most if not all of the I/O pin definitions in it.· Change them there and recompile and everything else should adjust.
You can directly access the I/O pins from Basic for simple input and output.· Later, you might be able to add some specialized statements to Basic for some of your other I/O using existing statements as models.
:-(
I take it back. It was the propeller code that I ran. I am trying to understand. I load basic into the prop and it says READY. But, how do I load boebat basic into the Interpreter?
???
Keep the info comming please, I am trying to fix this.
Thanks to you both.
You can also compile BoeBotBasic to use an xBee transceiver for wireless control of the BoeBot. You'd need another xBee transceiver for your PC, but that's not hard to set up using an extra USB to serial adapter.
You'll need to give up two I/O pins for the xBee transmit and receive to use wireless.
I feel like a Dumby. I was an engineer in a TV studio for many years. But, this is making me ignorant.
I just PM'd you some stuff. Take a look.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Whit+
"We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
Thanks!
:-(
modification to the Boebot, and as such you are charting fresh ground.
(Happens all the time here)
I'm buried in Expo prep myself and my Propellers are already packed or I'd set mine up
and see if I can replicate the issue. Sorry.
Keep plugging away at it, someone will jump in sooner or later. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Thanks Again.
Since we know the code works (at least for somebody), I'd re-check wiring and pin hook ups. Hope the article helps (thought it is written around the PE Kit as well).
Do you have power to the servos via the shorting block jumper at the header adjacent to the 3.3 voltregulator? The header should be between the center pin and the +5 volt pin. The Propeller Proto Board documentation pdf might help you see this. I guess you do if the servos are jumping (even if just a bit).
How about taking a photo of you set-up so we can have a look.
Good luck!
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Whit+
"We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
Post Edited (Whit) : 8/22/2008 6:35:21 PM GMT
It's really important to get things working bit by bit. You've gotten a simple program to work using BoeBotBasic. Now make sure that the servos work as expected, then the PING, then the IR Emitters and the one detector that BoeBotBasic supports. Make sure the SD card works as expected.
Post Edited (Mike Green) : 8/22/2008 6:35:25 PM GMT
I didn't have IR. It might help to remark sections to narrow things down.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
MovieMaker,
·· Additional BUMP messages will be deleted just as the other two posted today were.· Following up on your post with new information is one thing.· But posting a message that offers no new information just to keep your thread on top violates the forum guidelines.· To me a post with the word BUMP is SPAM and will be treated as such.· You are likely to get more help if you simply post as much information about your issue, what you are doing to try and resolve it and any relevant code.· Prompting members for answers isn't going to change anything.· If they have an answer they will post it.· Please, no more BUMP messages.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Engineering
then, I tried to run PING.Spin and the Servo for ping went from all the way to the right to all the way to the left. Maybe I need to center my servos. ???
But, I do not know if it is working correctly or not. It comes on and stays on a while and then goes off for 46 seconds, then comes back on, etc. I don't know if the speed is correct. But, for all practical purposes it is working.
Now, next test the drive motors. They were NOT working the last time I tested them.
Wish me luck.
???
Just a thought to help you out. I know the frustration of suspecting hardware AND software when something isn't working as you imagine.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH
I took almost all of the attachment off of the robot. It left me with my SD card soldered in. P0-P1-P2 and P3. It also left me with the heartbeat monitor. It was soldered in also. I have the VGA and mouse and Keyboard connected physically to the motherboard, but I am not using them. I hooked up the usb connectors and turned the switch to servo with the ac adapter on. I read somewhere that I should use batteries, so I plugged the batteries in and set the block jumper switch to 5volts. Next, I loaded the Heart beat monitor and executed the program. Worked like a champ. I then tried the Drive Motors and they just gave me an "UPMTH." just jerked a little bit. When I hooked up the PING it moved from Right all the way left and stopped. The schematic says that I have to have pins going through a 100 ohm resistor one side to an LED each and then to ground on pins 3,5 and 7. Well, those pins are tied up with my SD card (4 gig).
If you read my first post, you will see what I have hooked up to what. Or at least my plans for them. I have so many unaswered questions at this point. I am trying to start from scratch and do one thing at a time. I should've done this to begin with. But, I figured that it would do simple stuff if I simply changed the pin numbers in the program.
When I ran the heartbeat object, I tried to vary the beat by changing the numbers. It worked as written , but any fluctuation from the orginal code would not light the LED up at all.
The moderater doesn't seem to like me posting too frequently, so I am trying to cram all of this into one post. Please forgive me.