Using Raspberry with ROS and communicate with PIC32
Hello, i would like to run ROS in the raspberry pi and communicate with a PIC32 (or some identical microcontroller), this is possible? I know is possible communicate between a arduino and a Raspberry with ROS, through serial communication (using rosserial_arduino package).
But If i just use a Atmel microcontroller present on arduino (with the necessary electronics for working!), without development board. It will work? I need to do a few changes, but is possible? Or not?
Best Regards
P.S. I used the example of Atmel because is the microcontroller present in arduino, but i think if it is possible for the Atmel will also be for the PIC.
Asked by Mr_Kadafi on 2016-04-04 22:27:45 UTC
Answers
the rosserial page has examples with different boards
rosserial_arduino - Arduino, especially UNO and Leonardo
rosserial_embeddedlinux - support for Embedded Linux (eg, routers)
rosserial_windows - support for communicating with Windows applications
rosserial_mbed - support for mbed platforms
rosserial_tivac - support for TI's Launchpad boards, TM4C123GXL and TM4C1294XL
developing for other boards is possible, but you would need to implement code to read the protocol on the device yourself.
Arduino code that is compiled for an uno can run on a minimal chip, you do not have to use a board, they even provide instructions https://www.arduino.cc/en/Main/Standalone
Asked by nickw on 2016-04-05 01:56:32 UTC
Comments
Yes, i know is possible use a ATMEL micro without a arduino board. My question is if it's possible communicate between a RP ,with ROS, and a PIC32 (http://dangerousprototypes.com/wp-content/media/2011/11/pic32dip-W600.jpg) through a serial communication. As it's done between the RP and Arduino.
Asked by Mr_Kadafi on 2016-04-05 09:56:52 UTC
You can use the atmega microconteoller alone (without using any of the Arduino libraries) using this example.
If you want to use a PIC32, which AFAIK doesn't have a ROS library yet, you can use something like the serial package from wjwwood on the host and write your own protocol and serial parser on the PIC32.
Here's a simple example of how to use the serial package to communicate with an arduino, but without using the rosserial_arduino library. It should be easy to replicate this on the PIC32.
Asked by Gary Servin on 2016-04-26 11:43:53 UTC
Comments