Hi. I'm planning to make some project which involves different sensors like triangulation sensor, accelerometers, gyroscopes, odometer. I'm looking for an advice how to wire everything together. I've got couple of Arduino boards and some experience with Arduino. I've already bought MPU-9250 modules (accelerometer, gyroscope, magnetometer) which communicate via I2C, so here is a simple thing (I2c and Arduino). I wonder how to connect triangulation sensor which I don't have yet. They use RS485/RS232/CAN/Ethernet or analog (4-20mA, 0-10V). I have to choose interface and I've chosen RS485. I believe that connecting via RS will be the simplest, and 485 is better than 232, am I right ?
Question is, how to perform calculation (I need text data on pc) ?
- Connect everything to Arduino, perform calculation in Arduino and send data to PC or
- Connect only MPU-9250 to Arduino and send data to pc, connect RS485 via USB directly to pc, and perform calculations in some way on pc ?
I'm aware that in both cases additional converters are necessary. I don't have experience with RS, for what I read I need to learn some about Modbus
Question is, how to perform calculation (I need text data on pc) ?
- Connect everything to Arduino, perform calculation in Arduino and send data to PC or
- Connect only MPU-9250 to Arduino and send data to pc, connect RS485 via USB directly to pc, and perform calculations in some way on pc ?
I'm aware that in both cases additional converters are necessary. I don't have experience with RS, for what I read I need to learn some about Modbus