View Single Post
  #2   Spotlight this post!  
Unread 19-07-2015, 18:59
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: NXT/EV3 sensors with RoboRIO?

I have never tried any of this, but based on the communications protocols they use, it seems completely possible to use both NXT and EV3 sensors.

The digital NXT sensors (ie. ultrasonic) use I2C to communicate, likewise the NXT port on the digital sidecar was just connected to the I2C pins. I believe you would just need to make/modify a cable to connect the appropriate pins to the I2C port on the roboRIO and write a driver to communicate with it.

Some NXT and EV3 sensors (ie. light sensor) use analog signals to communicate. Using these should be as simple as connecting the correct pins to an analog input on the roboRIO and figuring out how to convert the voltage to a value.

The digital EV3 sensors use UART (serial) to communicate, so they can be connected to the UART port on the MXP (not the RS-232 port, at least not without a converter). Again, you would have to write a driver.

If you do any of this, the most important thing is to make sure you are supplying the right voltage to the right pins, to prevent damage to the sensors (the roboRIO is pretty well protected, so it would be fine with most mistakes).

These links might be helpful:
http://lechnology.com/2014/09/using-...-on-any-linux/
http://www.ev3dev.org/docs/sensors/
http://brweb.haltonrc.edu.on.ca/2022...ExtremeNXT.pdf (a lot of information)
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists