Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino Mega PS2, don't work after power on off #21

Open
vindhyachaltakniki opened this issue Nov 9, 2018 · 0 comments
Open

Arduino Mega PS2, don't work after power on off #21

vindhyachaltakniki opened this issue Nov 9, 2018 · 0 comments

Comments

@vindhyachaltakniki
Copy link

  1. I am using arduino mega 2560. A PS2 keyboard is connected to read keys & display on segment.

  2. Issue faced is, when power in turned off & applied again on entire system(MCU+PS2 converter+usb keyboard), keyboard don't get initialized again automatically, that is I am not able to read any keys unless I remove the keyboard from socket & connect again, then I can read again.

  3. There is small USb to PS2 converter used. Keyboard is usb.

  4. what could be issue.

  5. below is keyboard code:

const int DataPin = 19;
const int IRQpin = 18;
PS2Keyboard keyboard;

keyboard.begin(DataPin, IRQpin);  
keyboard.clear();
        c = keyboard.read();
        Serial.println(c);    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant