Shop OBEX P1 Docs P2 Docs Learn Events
Wanting to pass info from Arduino to Prop — Parallax Forums

Wanting to pass info from Arduino to Prop

AGCBAGCB Posts: 327
edited 2015-02-02 09:31 in Propeller 1
I have a GPS sensor controlled by a Arduino uno and would like to pass some of the GPS output to the Prop so it can be easily displayed w/ the TV_TEXT object.

I found this old tread that seems to be the same idea but the thread ends w/ no answers, at least not detailed enough for me.
Would someone shed a little more light on the subject?

Thanks
Aaron

http://forums.parallax.com/showthread.php/139890-Arduino-to-Propeller-communication.

Comments

  • kwinnkwinn Posts: 8,697
    edited 2015-02-02 07:53
    The simplest would be to use the serial port on the arduino and one of the serial objects on the propeller end. If they are close to each other all you would need is a common ground connection, a wire between the arduino RX and propeller TX, and a 3.9K resistor and wire between the arduino TX and propeller RX. If they are more than a few feet apart you may need driver/receiver chips as well.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2015-02-02 08:07
    As Gordon mentioned in the other thread, you'll need to use a software UART with the Arduino (assuming you're using the hardware UART with the GPS).

    As kwinn mentioned, you need a resistor between the Arduino's 5V TX and the RX of the Prop. 3.9K would be great but I think any value between 3K and 10K would work and be safe.

    You might want to take a look at the code used in the Propeller Backpack. Phil has some nice code which make it (relatively) easy to set windows on a TV to display text.
  • AGCBAGCB Posts: 327
    edited 2015-02-02 09:31
    Thanks!

    This will give me a good place to start. If I have trouble I'll be back.

    Aaron
Sign In or Register to comment.