ROBOTC.net forums
http://www.robotc.net/forums/

Vex Pic Ifi V.5 Rx/Tx ports for UART Comm. with Raspberry Pi
http://www.robotc.net/forums/viewtopic.php?f=11&t=5806
Page 1 of 1

Author:  raspivex [ Thu May 02, 2013 7:46 pm ]
Post subject:  Vex Pic Ifi V.5 Rx/Tx ports for UART Comm. with Raspberry Pi

I want to use the Tx/Rx ports on my Vex for serial communication with a Raspberry Pi.
How can I accomplish this with RobotC? All I can find for using the Tx/Rx ports is for displaying on a Vex display, and I don't want that, I want serial communications, just like sendChar().

Thanks in advance. :-)

Author:  fretless_kb [ Fri May 03, 2013 7:40 am ]
Post subject:  Re: Vex Pic Ifi V.5 Rx/Tx ports for UART Comm. with Raspberr

you can start here:
http://www.robotc.net/firewiki/index.ph ... =Main_Page

Also I posted 2 related topics Here:
http://www.vexforum.com/showthread.php?t=74951

http://www.vexforum.com/showthread.php?t=75543

You don't need to use the XBEE just connect the TX on the PIC to the Rx on the Pi and the TX on the PI to the Rx on the Pic and connect PI ground to a PIC ground so they have a common ground. It should work. I haven't tried the connection with the Pi yet but have been successful connecting a PIC and a Cortex to an Arduino.

Cheers Kb

Author:  raspivex [ Fri May 03, 2013 2:33 pm ]
Post subject:  Re: Vex Pic Ifi V.5 Rx/Tx ports for UART Comm. with Raspberr

Thanks for the help, I got serial loopback stuff working with my Vex! :D :D :D :D :D :D :D
So the problem was that I had a misconception of what uartOne and uartTwo were, I thought they were the Rx1 and Rx2 receiver ports on the Vex.
Thanks again! :D

Author:  fretless_kb [ Tue May 07, 2013 8:04 am ]
Post subject:  Re: Vex Pic Ifi V.5 Rx/Tx ports for UART Comm. with Raspberr

Good to hear you got it working. Best wishes for the project - Kb

Author:  bray12345giff [ Thu Mar 13, 2014 11:14 am ]
Post subject:  Re: Vex Pic Ifi V.5 Rx/Tx ports for UART Comm. with Raspberr

How could I connect a raspberry pi to a cortex controller so that when I start a program on the cortex it plays audio from the raspberry pi? Thanks!

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/