IRled Communication With PS2 Keyboard
by iam_maker_leo in Circuits > Arduino
936 Views, 5 Favorites, 0 Comments
IRled Communication With PS2 Keyboard
![basic description.jpg](/proxy/?url=https://content.instructables.com/F13/EYCT/IQ8SBA82/F13EYCTIQ8SBA82.jpg&filename=basic description.jpg)
I show you that IRled can be a wireless comunication in previous instructables.
https://www.instructables.com/id/POV-Persistence-of-Vision-Display-With-IRled/
And there are many examples arduino can use PS2Keyboard as a input device
Now I will introduce a project a wireless send message device as picture you see with irled and ps2 keyboard
Hardware We Need
![irled_ps2keyboard.png](/proxy/?url=https://content.instructables.com/FG2/S2HA/IQ8SB6XH/FG2S2HAIQ8SB6XH.png&filename=irled_ps2keyboard.png)
![ps2keyboard.png](/proxy/?url=https://content.instructables.com/FSZ/LMK7/IQ8SB6U6/FSZLMK7IQ8SB6U6.png&filename=ps2keyboard.png)
![irled_receiver.png](/proxy/?url=https://content.instructables.com/FMA/IA65/IQ8SB70S/FMAIA65IQ8SB70S.png&filename=irled_receiver.png)
First I will introduce a hardware we need to do this project.
1. arduino
2. ps2 keyboard
3. ir led tx and rx
4. mbed board platform (WIZwiki-W7500)
And picture show us how to connect the boards and component.
PS2 Keyboard Connection
![ps2 keyboard.png](/proxy/?url=https://content.instructables.com/F4D/8QT8/IQ8SBDHD/F4D8QT8IQ8SBDHD.png&filename=ps2 keyboard.png)
I need to explain about how to connect PS2Key board and arduino.
But it is more easy to see the below.
You can know all about from below.
Software for Arduino
![IMG_0085.JPG](/proxy/?url=https://content.instructables.com/F6M/Z8YY/IQ8SBCU8/F6MZ8YYIQ8SBCU8.jpg&filename=IMG_0085.JPG)
Arduino is working receive a key value from ps2 keyboard
And send it to UART for irled communication.
Here we have to connect irled to PWM for 38KHz modulation.
It is very simple.
I used a library of PS2Keyboard and just add a PWM and UART function.
That is all I did...
Downloads
Software for WIZwiki-W7500P Platform
![IMG_0084.JPG](/proxy/?url=https://content.instructables.com/FXJ/7LP0/IQ8SBCV0/FXJ7LP0IQ8SBCV0.jpg&filename=IMG_0084.JPG)
![source_mbed.png](/proxy/?url=https://content.instructables.com/FIE/X3UX/IQ8SBD1R/FIEX3UXIQ8SBD1R.png&filename=source_mbed.png)
mbed source code is more simple.
You can see the picture.
It receive ir led data from UART and send it directly to PC serial.
That is all..
The key of this project is UART IRled.
Please refer
http://dangerousprototypes.com/blog/2009/08/26/easy-infrared-data-link/
Wow it is very easy project.!!!