I created manuel control algorithm for my underwater vehicle, i want to control simple joystick that sends 0-1023 analog signal.
I need at least 20 meters long, could 5v input take care my vehicle?
That is why a 20ma current loop was invented.
Paul
how can i use that with my arduino, i dont have that electric knowledge
Google will become your friend. There are many applications posted here as well. You can purchase commercial units if you want.
0-1023 is a digital signal! 0 -- 5V or 0 -- 20mA would be an analog signal.
The bandwidth of a joystick is a few tens of Hz, not an issue for long analog runs -
the higher the bandwidth the greater the issues - eventually at high frequencies you
have to start using a transmission line approach to carrying analog signals, but at
DC or audio frequencies this isn't needed.
For instance 20m microphone cables are a thing, carrying very weak analog signals
limited to audio bandwidth.
Its digital signals that generally cause big problems, typical CMOS logic signals have bandwidths of 100's of MHz...
simple phone wires(flat with 4 wires in it), I think that 20 to 50 meters should be possible. Using shielded cable , hundreds of meters should be possible. The Arduino is not shielded against EMI spikes.
If you decide to go with the 4-20mA output analog signal, you can integrated an easy circuit that includes a 250 ohm resistor in parallel to convert amp to volts.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.