Cant talk with BS2 when GPS is connected
NosePicker
Posts: 54
OK so I got my GPS in this week and I am all excited about testing this thing out. I am using the BS editor version 2.4 and connecting to my BS2 via the 9 pin serial port. Everything is installed on a breadboard for now. I loaded the sample source code from the website into my editor. Once I had my GPS in place connected just as the docs said, I powered up my breadboard and tried to run the sample app from the editor. It started to download the source then gave me the following error:
"Hardware communication failure. Check serial cable and power supply."
I can power off my breadboard, remove the GPS, power the BB back on and reclick the run button and the software loads and runs fine.
The debug window show all the field captions but of course there are no values.
Then I can leave the debug window open, power off the BB, reinstall the GPS, power on the BB and the debug windows will show partial download of the same screen data but usually gets about half the screen then hangs. It refreshes every so often but never fully displays all data.
It appears to me that so long as the GPS is running then the BS2 is unable to communicate back to my PC via the 9 pin serial connection.
Also the led is blinking on the GPS.
I am sure I am doing something stupid so dont be afraid to tell me what a dumb mistake I have made or what I overlooked.
By the way, I do understand the GPS will probably not pick up any satillites while inside my house but I at least should be able to talk to the BS2.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thanks
NosePicker
"Hardware communication failure. Check serial cable and power supply."
I can power off my breadboard, remove the GPS, power the BB back on and reclick the run button and the software loads and runs fine.
The debug window show all the field captions but of course there are no values.
Then I can leave the debug window open, power off the BB, reinstall the GPS, power on the BB and the debug windows will show partial download of the same screen data but usually gets about half the screen then hangs. It refreshes every so often but never fully displays all data.
It appears to me that so long as the GPS is running then the BS2 is unable to communicate back to my PC via the 9 pin serial connection.
Also the led is blinking on the GPS.
I am sure I am doing something stupid so dont be afraid to tell me what a dumb mistake I have made or what I overlooked.
By the way, I do understand the GPS will probably not pick up any satillites while inside my house but I at least should be able to talk to the BS2.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thanks
NosePicker
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
························ Craig Eid
··········· Triad Research and Development
Electical Engineering Design and Consulting Services
··················· www.TriadRD.com
That is used to power my BasicStamp and I am using pin 21 from the stamp (+5v) to supply power to my GPS.
Now since I have posted this message I read where it would take upto 5 minutes for the GPS to lock in on enough satillites to begin working.
So I turned on my bread board and the led started blinking on the gps and sure enough within 5 minutes the led is now solid.
As far as I can tell the GPS is working fine. What appears to be happening is maybe the stamp is resetting itsself. Maybe not enough Amps or something.
I have another powersupply that will output upto 1000mA. In either case the sympton is simply I am unable to communicate between the PC and stamp while the GPS is connected.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thanks
NosePicker
Post Edit -- About your breadboard/"BB".· What is it, something home-made?· If it's a BoE or later model HWB, you should be using "Vdd" (which is not pin_21).
Post Edited (PJ Allen) : 3/28/2009 5:21:50 PM GMT