Interfacing SPI signal based sensor to ROS? any idea?
Hi. I'm thinking to interface SPI based sensor to ROS. Anyone have a good idea to this end?
add a comment
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi. I'm thinking to interface SPI based sensor to ROS. Anyone have a good idea to this end?
Use an arduino for the SPI interface. Together with rosserial, you should be able to nicely integrate this into ROS.
Typically, if you wish to interface an SPI sensor with a PC, you need some kind of bridge. My preferred option is an Arduino microcontroller that acts as an SPI to USB bridge. The Arduino has no problem communicating with an SPI device, and then you can use rosserial to communicate with the Arduino to receive/send data to the device.
Asked: 2012-08-08 03:59:13 -0600
Seen: 1,393 times
Last updated: Aug 08 '12