Model M Keyboard to Bluetooth with Bluefruit EZ-Key HID

Post test messages here

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
sadrian
 
Posts: 2
Joined: Fri Aug 15, 2014 11:24 am

Model M Keyboard to Bluetooth with Bluefruit EZ-Key HID

Post by sadrian »

Is it possible to get the arduino preprogrammed for this project since I do not have any tools to do this?
I just ordered the parts for the project and then realized arduino is not programmed!!!
Thanks for help

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Model M Keyboard to Bluetooth with Bluefruit EZ-Key HID

Post by adafruit_support_bill »

We don't sell these pre-programmed. But the only tools you need to program the Arduino are a USB Micro cable: https://www.adafruit.com/products/1513
and the Arduin IDE which is a free download: http://arduino.cc/en/Main/Software

User avatar
sadrian
 
Posts: 2
Joined: Fri Aug 15, 2014 11:24 am

Re: Model M Keyboard to Bluetooth with Bluefruit EZ-Key HID

Post by sadrian »

Thank you for the hint.
Do I need any compiler for this?
Where do I get the code to upload?
Regards,

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Model M Keyboard to Bluetooth with Bluefruit EZ-Key HID

Post by adafruit_support_bill »

Do I need any compiler for this?
Yes. The compiler is part of the Arduino IDE which you can download for free (see link above)
Where do I get the code to upload?
See the "Code" section of the tutorial:
https://learn.adafruit.com/convert-your ... hid/code-1

User avatar
bijlevel
 
Posts: 4
Joined: Mon Sep 29, 2014 1:16 pm

Re: Model M Keyboard to Bluetooth with Bluefruit EZ-Key HID

Post by bijlevel »

Is this project also possible for a keyboard with a serial (rs-232) interface instead of PS/2?

User avatar
bijlevel
 
Posts: 4
Joined: Mon Sep 29, 2014 1:16 pm

Re: Model M Keyboard to Bluetooth with Bluefruit EZ-Key HID

Post by bijlevel »

Can I use an Arduino Uno for this project?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Model M Keyboard to Bluetooth with Bluefruit EZ-Key HID

Post by adafruit_support_bill »

Is this project also possible for a keyboard with a serial (rs-232) interface instead of PS/2?
It would probably require substantial code changes.
Can I use an Arduino Uno for this project?
Yes, the UNO should work for this.

User avatar
bijlevel
 
Posts: 4
Joined: Mon Sep 29, 2014 1:16 pm

Re: Model M Keyboard to Bluetooth with Bluefruit EZ-Key HID

Post by bijlevel »

adafruit_support_bill wrote:
Is this project also possible for a keyboard with a serial (rs-232) interface instead of PS/2?
It would probably require substantial code changes.
But the Bluefruit EZ-Key HID can be connected to the rs-232 pins? And if so then only changes to the provided Arduino sketches are needed?

User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Model M Keyboard to Bluetooth with Bluefruit EZ-Key HID

Post by adafruit_support_bill »

But the Bluefruit EZ-Key HID can be connected to the rs-232 pins? And if so then only changes to the provided Arduino sketches are needed?
If you could plug the keyboard directly into the EZ-key there would be no need for the Arduino. In the tutorial, the keyboard plugs into the Arduino, and the Arduino code translates the PS/2 data protocol into HID key-codes to send to the EZ-key.

rs-232 is an electrical protocol and says nothing about the data that is sent over it. The keyboard serial data is not the same as the HID key-codes that the EZ-key expects.

The simplet approach would be to get a serial->ps/2 adapter. They are still available from companies like Belkin.
Image

User avatar
bijlevel
 
Posts: 4
Joined: Mon Sep 29, 2014 1:16 pm

Re: Model M Keyboard to Bluetooth with Bluefruit EZ-Key HID

Post by bijlevel »

My mistake. I forgot the Arduino is of course needed to convert the keyboard data and fetch the right data into the BT. So logically the keyboard should be first connected to the Arduino. Thank you for your explanation and pointing me to this serial to PS/2 adapter!

Locked
Please be positive and constructive with your questions and comments.

Return to “Test Message Forum (closed)”