help need GPS and IMU to VGA
skybot
Posts: 14
Hi all experts,
I want to make a UAV helicopter.
The first step that I want to do is that GPS and IMU·values to present·on the monitor.
However, I·don't know·how·to·define pins in the spin code and process the signal.
I am a new to program on the hardware but if I see some base code, I can jump start quickly. ·Sorry for my English. English is not my native language.
·
This is what I have.
Propeller proto board
IMU 5 Degrees of Freedom from sparkfun
20 Channel EM-406A SiRF III Receiver from sparkfun
·
Please help me to jump start.·
I want to make a UAV helicopter.
The first step that I want to do is that GPS and IMU·values to present·on the monitor.
However, I·don't know·how·to·define pins in the spin code and process the signal.
I am a new to program on the hardware but if I see some base code, I can jump start quickly. ·Sorry for my English. English is not my native language.
·
This is what I have.
Propeller proto board
IMU 5 Degrees of Freedom from sparkfun
20 Channel EM-406A SiRF III Receiver from sparkfun
·
Please help me to jump start.·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com
The secret is 6DOF sensor , gps, ground ststion and an UNBREAKABDE platform...Foomies are good for that, but I use a quadracopter.
Been working on this 14-16 hrs a day for 3 months nor...getting close.
BTW I am a RETIRED eng who got board after a few years of retirement.
here is the latest version....tell me if you like it.
Earl......be glad to help
Thank you so much for help.
I am going to try AutoPilotProp code tonight.
Ole Man Earl, before I try your code, I have a question. How can I test it individual objects. Something like put·only data from GPS on the TV screen and next step would be 5DOF. I want to display one by one. Could you help how to·display one objects?·I want to·display individual data and then, combine·all objects and display them together.
Please help me. I·truly appreciate your help.·
Thank you again.
··········· AutoPilotProp20.spin
············· │
············· ├──Clock.spin
············· │
············· ├──tv_text.spin
············· │··· │
············· │··· └──TV.spin
············· │
············· ├──BS2_Functions.spin
············· │
············· ├──GPS_IO_mini_PNAV.spin
············· │··· │
············· │··· └──FullDuplexSerial_mini.spin
············· │
············· ├──FullDuplexSerial_mini.spin
············· │
············· ├──i2c_Accl_Data_Read.spin
············· │··· │
············· │··· └──eci2c.spin
············· │
············· ├──eci2c.spin
············· │
············· ├──Ping.spin
············· │
············· ├──Sensor.HM55B.Compass.spin
············· │
············· ├──EC_i2c_readbaro.spin
············· │··· │
············· │··· └──eci2c.spin
············· │
············· ├──XBee_Object.spin
············· │··· │
············· │··· └──FullDuplexSerial.spin
············· │
············· ├──FullDuplexSerialPlus.spin
············· │
············· ├──FullDuplexSerialPlusDOF.spin
············· │
············· └──6DOFbinary.spin
·················· │
·················· ├──Clock.spin
·················· │
·················· ├──tv_text.spin
·················· │··· │
·················· │··· └──TV.spin
·················· │
·················· └──FullDuplexSerialPlusDOF.spin
·
However, I'd suggest you at least follow the tutorials in the manual, or the Propeller Education Labs BEFORE attempting a UAV - remember, flying robots can KILL!
Once you understand the basics, I'd suggest you take a look at Jason Wood's Kalman Filter object - in his thread at http://forums.parallax.com/showthread.php?p=696561. This was written for the Sparkfun 5DOF IMU that you have - unlike Ole Man Earl's AutoPilot, which is based of the 6DOF IMU
I'm not certain about Ole Man Earl's code, but it's probable that it'll run just fine with only the GPS connected, but won't display anything meaningful for the IMU stuff, give it a try...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.com
“Before you criticize someone, you should walk a mile in their shoes. That way when you criticize them, you are a mile away from them and you have their shoes.” - Jack Handey.
Could you help to connect pins( RCA jack break out)?
There are 3 Pins (BRK, SPR, BRL) which one is ground and which pin goes to prop_pin?
Thank you.
[url=:window.close();][/url]
Here is a picture (hope it's ok to post) and a link to the Propeller demo board schematic. At the bottom middle it shows how to hook up the RCA jack for TV. You need three contiguous pins, the first, the base pin, should be divisible by 4. eg, pin 12 or pin 16 etc...
www.parallax.com/Portals/0/Downloads/docs/prod/prop/PropDemoDschem.pdf
Rich H
Looks like BRK is ground and BRL is the barrel pin that connects to the prop.
Do you have a multimeter? you could test continuity.
Thanks for that! I was trying to get some video yesterday, but it wasn't working (even though it had worked before!). I just looked, and sure enough my base pin is 23. I was debating about the worthiness of a thread on that topic...
where should I connect SPR pin?
Post Edited (FrameShift.) : 5/4/2009 11:08:18 PM GMT
http://www.sparkfun.com/datasheets/BreakoutBoards/rcajack_breakout-v10sch.pdf
Along with:
http://www.sparkfun.com/datasheets/Prototyping/Connectors/RCA-Jack.pdf
Jim
I need some more help.
I modified Earl's code. I found his code in the forums.
I tried to get it work but I have some problem. I use· Propeller Demo Board to test the code.··· Propeller Demo Board has only 8pins are available. So I used pin 1 and pin 2 for gps and output data thru TV. It displays only initial· screen. I cannot display gps data.
Please help me out.