Hello everyone...
I want to make a joystick controlled robotic car with camera mounet on it..
Can anyone guide me how can i interface joystick with matlab nd arduino??
any USB joystick will work???
Hello everyone...
I want to make a joystick controlled robotic car with camera mounet on it..
Can anyone guide me how can i interface joystick with matlab nd arduino??
any USB joystick will work???
you could try connecting a usb wire to your arduino.
Just connect clock and data to interupt pins and use that to get an output.
I have only tested this with a usb keyboard but it might work for other things.
I can't remember how i got it to output the data but i think it was something like store the amount of times the data
line activated the interupt between clock interupts. (you would have to store the value in an array until it has been read)
cant be sure without my code, for some reason most of my sketch's end up being deleted
i know the arduino doesn't use usb (except for Mega ADK and Leonardo can be connected to keyboards and mouse) so this might only work with keyboards
you could try connecting a usb wire to your arduino.
Just connect clock and data to interupt pins and use that to get an output.
I have only tested this with a usb keyboard but it might work for other things.
I can't remember how i got it to output the data but i think it was something like store the amount of times the data
line activated the interupt between clock interupts. (you would have to store the value in an array until it has been read)
cant be sure without my code, for some reason most of my sketch's end up being deleted
i know the arduino doesn't use usb (except for Mega ADK and Leonardo can be connected to keyboards and mouse) so this might only work with keyboards