Shop OBEX P1 Docs P2 Docs Learn Events
VEX with GPS reciever — Parallax Forums

VEX with GPS reciever

dasmoenatordasmoenator Posts: 3
edited 2007-10-14 18:50 in Robotics
As of now I have a pretty complex Vex bot with a variety of sensors. I'm interested in using the Parallax GPS reciever but I'm unsure if it'll work and how I'll be able to use it. I want to be able to use the GPS receiver to control the bot to move where I want it to go. The bot also uses ultrasonic sensors to avoid obstacles if that makes if a difference. I'd prefer to not have to buy a new microcontroller if the VEX controller can do the job. But if you're 100% it can't then I'd be interested in a Parallax Microcontroller. For programming I use EasyC and RobotC.

Any input would be greatly appreciated.

Thanks

Comments

  • D FaustD Faust Posts: 608
    edited 2007-10-14 12:17
    The thing with the GPS is that it uses a serial data stream (I think check the product page) I know that you can't recieve serial data with easy C. Find out if there is a way to do it in C. If it can recieve serial data, then I think it would work.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    LOOKDOWN ThisThread, [noparse][[/noparse]Your_?, My_?, Cool_Thing], looknum
    LOOKUP looknum, [noparse][[/noparse]1, 2, 3], subnum
    ON subnum GOTO Hope_this_helps, Thanks!, WOW!!
    END 
    
  • dasmoenatordasmoenator Posts: 3
    edited 2007-10-14 13:50
    Yea you can definitely receive serial data in C. My only problem is I wouldn't know how exactly to code it to work with the VEX bot. I know RobotC offers a pretty open field for coding so I imagine it would need to be done with that program. But before I go out and but it I want to make sure I have the right equipment and code to get this to work. Otherwise its just going to end up being a waste of money.
  • D FaustD Faust Posts: 608
    edited 2007-10-14 14:20
    Do· you have C on your computer?· If you do you could write a program for your computer that sends data to the VEX.· Obviously you will need a program on the VEX to recieve the data.· If you can't do this try to find something with a serial interface that isn't to expensive, and communicate with that.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    LOOKDOWN ThisThread, [noparse][[/noparse]Your_?, My_?, Cool_Thing], looknum
    LOOKUP looknum, [noparse][[/noparse]1, 2, 3], subnum
    ON subnum GOTO Hope_this_helps, Thanks!, WOW!!
    END 
    
  • dasmoenatordasmoenator Posts: 3
    edited 2007-10-14 18:03
    I was guessing I'd be able to hook it up to the rx port which would allow the VEX bot to receive the info. Not so great on the coding end but doesnt the GPS receiver work with basic and not C? Also are there any recommended controllers for the GPS that I could buy from parallax?
  • D FaustD Faust Posts: 608
    edited 2007-10-14 18:50
    I am fairly certain that it doesn't what language you use, as long as you can interpert the signals.· You could have a basic stamp, sx, or propeller take in the data from the GPS and send it to the vex.· Do you have 4 digital post open?· If you do you could have a microproccessor break the serial data into parallel data and recieve that by checking if the digital ports are on or off.· If you don't know what parallel or serial means, look them up on wikipedia.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    LOOKDOWN ThisThread, [noparse][[/noparse]Your_?, My_?, Cool_Thing], looknum
    LOOKUP looknum, [noparse][[/noparse]1, 2, 3], subnum
    ON subnum GOTO Hope_this_helps, Thanks!, WOW!!
    END 
    
Sign In or Register to comment.