Hello to all of you out there.
Let's me introduce myself. I don't have much experience in electronics and my arduino's knowledge level is beginner. English isn't my native tongue. Sorry if I mess up something. Would you mind explain specificly?
I want to turn my usb/ps2 keyboard into bluetooth keyboard.
First, I connect my keyboard to arduino using some port.
Next step, I connect my arduino UNO with Bluetooth HC-05.
Then I want to connect with my laptop (first laptop, later android/ios device)
STUCK How to communicate bluetooth arduino with other device? I know using another arduino pluging into my laptop would be easy. But I want to communicate directly to laptop's build-in bluetooth. I have researched google for a quite but no guide. I guess I have to write a software for pc. What should I learn and use to create that software? How to make pc understand bluetooth signal from arduino then make a keypress?
Thank you.
themouse132:
I want to turn my usb/ps2 keyboard into bluetooth keyboard.
This is not a simple project. If you just want a bluetooth keyboard buy one.
The Leonardo can pretend to a PC that it is a keyboard or mouse
However it will not be easy to connect a USB keyboard to an Arduino. It may work with a USB Host shield, but I just don't know as I don't have either a USB keyboard or a USB Host shield.
If you don't need a complete keyboard there are many keypads that work with Arduinos.
Thank for your advice. My project is connecting USB, ps/2 or others stuffs to pc/android/ios devices via bluetooth or wifi. I don't want to have bluetooth keyboard for my need. But I want to make my own one for my knowledge. Actually this is just a first step of my project. I will add more functions to it later. Can you explain me why connect USB to arduino is a problem? I'm working with my old ps/2 keyboard and having succession in pairing with arduino. As I know, we can convert usb port into ps/2 one. How about revert and what the difference is?
By the way, there are some software on play store/app store turning you phone into pc remote (mouse, keyboard). Like this one: www.remotemouse.net. They have to install a software into your pc, too. What programing language should I learn to do that? I know I'm lack of knowledge. Would you mind suggesting me what I should learn to make my project come true.
It's a long way so I will try my best.
themouse132:
Can you explain me why connect USB to arduino is a problem? I'm working with my old ps/2 keyboard and having succession in pairing with arduino. As I know, we can convert usb port into ps/2 one. How about revert and what the difference is?
If you can explain what your second and third sentences means I may be able to answer them.
A normal Arduino USB connection (e.g. on an Uno or Leonardo) is a slave, not a host. A keyboard needs to connect to a host.
By the way, there are some software on play store/app store turning you phone into pc remote (mouse, keyboard). Like this one: www.remotemouse.net. They have to install a software into your pc, too. What programing language should I learn to do that? I know I'm lack of knowledge. Would you mind suggesting me what I should learn to make my project come true.
It's a long way so I will try my best.
It seems to me that is a question for some other Forum - it does not seem to be an Arduino question.
themouse132:
I want to read, fix or write arduino library. Can you suggest me some good documents?
To do that you are best off using Notepad++, which is made with this in mind, but, before you rush out and get it, I submit you should first question why you should want to do this. I bet you haven't got a good reason and don't need to.
some software on play store/app store turning you phone into pc remote (mouse, keyboard). Like this one: www.remotemouse.net. They have to install a software into your pc, too. What programing language should I learn to do that?
You download the programme according to instructions, and click "run".
This does not address the keyboard, only basic bluetooth communication.
Thank to you. I got victory following that notes.
I connected my ps/2 key board and bluetooth hc-05 into arduino. After following that notes, I can type my ps/2 keyboard in bluetooth terminal. It looks like that my phone doesn't regconize my keyboard as external keyboard. So I can't type in other app (ex: SMS). Any suggestion for next step?
If I understand you correctly, you have no chance at all of having the phone recognise the keyboard. It recognises the HC-05 as it is supposed to but will never know what the HC-05 is connected to, the Arduino, while you are hoping for it to see something on the other side of the Arduino.