For my senior design project, I need to modify a go-kart for our client. Our client has cerebral palsy and cannot drive a normal go-kart; therefore we need to make this go-kart joystick accessible. We are in the process of connecting an 8-way joystick to the Arduino Due in hopes of the following:
- Movement in positive y will accelerate
- Movement in negative y will brake
- Movement in positive x/y will turn the wheels right/left
3 pins of the Arduino are then outputted to Motor Driver which is connected to 3 actuators to power the acceleration, braking, and steering. Our goal is when he moves the joystick in any direction, the Arduino will read the input and supply a voltage to the driver which will then power the corresponding actuator. My group for some reason cannot get past the coding though. We are novices with the Arduino coding as this is our first time working with this microprocessor. We normally would not ask a question this advanced, but since this is going to a good cause we are hopeful that you might be able to help. If not, is there anyone you would recommend talking with.