Greetings
I have a project that I am working on, I know very little about arduino, and any guidance or help will be greatly appreciated.
Here is the background on the project I am undertaking. I have designed and built a 1/9 scale hydraulic excavator, now the mechanical and fabrication part was quite easy, but when it comes to programming I am very new and lost. I am more than willing to learn how to program I just don't know where to start. so here is what I have to work with and want to accomplish.
I have purchased a botboarduino, and lynxmotions playstation 2 controller. I have 3 motor controllers currently and 3 on order. There are 2 drive motors for the tracks and 1 rotational motor all 3 independently controlled and need to go both forward and reverse. The 3 motors on the 3 pumps will only need to run forward, but they must run independent of one another. Each pump will be paired up with a servo that controls the distributer valve, each servo only needs to move about 10 degrees off centre in either direction to shift my oil direction accordingly. This is the tricky part, where I was told arduino would shine; when I send a signal from the PS2 controller analog stick to move my main lift rams, pump 1 will turn on, at the same time servo 1 will swing 10 degrees off centre to the right ( or left ), both the pump and servo will be running as long as I hold the analog stick, when I take my finger off the control and the signal stops both the pump and servo will then stop. OR the servo could be moved just the 10 degrees when first given signal, then stop trying to move so long as the control signal isn't changing direction, and the pump can keep running until the analog stick is put back to neutral. when I move the analog stick in the opposite direction the servo1 will move left ( or right) to direct oil in the opposite direction, and pump1 will fire up again.
I don't know how to accomplish this, arduino was not part of my vocabulary 2 weeks ago, I know very little about it but am willing to learn. I have uploaded the PS2 program to my botboarduino. I do not know or yet understand how to take a control from the remote and put it in code form to activate a response or action from the arduino board to move a servo or how much to move it, or a motor. The how to guides I have been reading are hard to understand, and very few have any direct relation to PS2 controller directing the arduino boards. I am more of a hands on, show me the path type of learner, if I can see how a command works and why it works.
Thanks for your time and any advice or guidance.






