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

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
ps2keyboard.png
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

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.

http://www.pjrc.com/teensy/td_libs_PS2Keyboard.html

Software for Arduino

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...

Software for WIZwiki-W7500P Platform

IMG_0084.JPG
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.!!!