Hi everybody,
I have a seemingly simple question which I'm stuck with for weeks already now (beginner) concerning the general plan of a project rather then the microcontroller itself.
I have a Arduino Due that controls a nema 23 Stepper motor. I want to be able to control different modes the stepper in in using push buttons, as well as the speed etc. using pots, which should then be displayed on a 16x2 I2C LCD display.
The problem I have is that the box containing the arduino, power supply and stepper driver is quite bulky, so I want to have all the buttons and the LCD mounted on a smaller remote control, that is connected to the main box via a ~3m long cable. I did all of that, tested it and failed.
Here's the problem: I have 5 push buttons, 1 toggle switch and 3 pots on the remote as well as the I2C display and a Logic level shifter equates to quite a few channels that have to run from the Due to the remote. I archived this by 2 cables with 7 cores and 2 8 pin aviation connectors.
The buttons and pots work, the display does not, which could have been foreseeable if I found out about the limited range of I2C earlier. Just to be exact: The display receives power and turns on, but the communication is essentially 0. I already checked all my soldering of the aviation connectors many times and tested the same without the cable between the Due and the LCD - using only short jumper cables - which works. So I think that the main reason that it doesn't work is the length of the cable.
So my question to you: What would be the easiest way to control my Due using a cable remote with an LCD screen? I thought about radio and Bluetooth already but I want to stay with the cable because (1) it SHOULD be more reliable and (b) requires less modifications.
Thanks for your advice!
Cheers