I need some hardware advice. In my application my controller will have to be 18 inches (46 cm) away from 6 analog sensors, a motor, a quadrature encoder, and one unipolar hall effect sensor. I am concerned about niose if I run the analog signals along 18 inches of wire right next to the PWM controlled motor wires and the quadrature encoder wires. Plus it is desirable to reduce the number of wires because this particular cable has to flex repeatedly.
My first thought is to connect the six analog sensors to a second MCU and send the data over the uart to the primary controller. However if I do this I would need to send a bare minimum of 12 bytes every 1 ms. In order to reduce latency I would want a baud rate of about 250 kbit/s. Ive never had an application with this high of data rate.
Is it practical to communicate at 250 kbit/s over 18 inch (46 cm) of cable length with a 3.3V UART? Do I need special cable/connectors?
Any comments/insight are greatly appreciated.