290Views1Replies

Author Options:

ps2 delay in robot control Answered

hi, im a robotics enthusiast. i have managed to integrate a ps2 controller to control a 2 wheel drive motor. im using Atmega8535 microC. however one problem that i encounter is that the robot has delayed response. ie: when a button is pressed on the ps2 controller, the robot needs some time before it reacts to the command. please gv some suggestions and advice. thnx.

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
nicksen782
nicksen782

11 years ago

 If I understand you correctly you already have your Playstation controller connected and usable by your ATmega.  I would suggest a counter that increments and acts upon the most recent playstation commands after the counter gets to where it needs to get.  It's a delay.  Can you try that?