[adrotate banner=”7″]

With this device you’ll be able turn any standard mouse or keyboard into a bluetooth, mouse or keyboard.. So if you can’t pwn noobs, because your fingers are too fat for the touchscreen. Like mine are., Then this device is perfect for you. It’s, also powered using the power cube. We made last week. And. It’s. Also NFC enabled Today I’m going to show you how to build this guy. Here we go: Let’s open up, Kevin., Apparently there’s, nothing inside of Kevin, but a whistle. We’ll save that for another project. Let’s find him some new organs. We’ll start with a PS2 female port, and we can salvage these from old motherboards like this one.. We need to access the following: 8 pins. We’ll, take a strip of ribbon, cable and solder that to the 8 pins we need. Let’s, trace out the shape of the PS2 port and cut it out with our plastic. Meltingcutting thing. Then hold the port firmly in place with lots of hot glue.. I AM CTHULU BLARGH Next let’s take a USB female port. And I’m using the one we salvaged from our power cube project., But you can find these pretty much. Everywhere. Trace the port onto Kevin’s butt and cut that out. Too. We’ll attach a wire to the positive and negative terminals and glue the port into place. As well. Now let’s give Kevin some brains. We’ll be using an Arduino Nano to receive keyboard and mouse signals from the PS2 port.

. These signals then get translated to Bluetooth signals which are sent to our Bluetooth chip.. The Bluetooth chip then broadcasts the signal to our paired device.. Normally, we would need a bluetooth HID. Module like the BlueSMiRF for this., But I’ll be using a cheaper chip. The HC05 flashed with the HID firmware and you can learn how to do that in a previous video.. The link to that is also in the description box. Below. We’ll need to enter the command mode of our Bluetooth chip using the Arduino., So let’s, first plug in the arduino to the computer and upload some code. Load up the RN42Config code, and you can download this from the description box. Below.. This code establishes a software serial connection channel on digital pins, 2 and 3, using a baud rate of 9600. Upload that code to the chip then disconnect the chip, because we’re going to need to do some wiring. And here’s. How we’re going to wire the chips for configuration? Mode. The bluetooth chip I’m using has a breakout board that accepts 5V power, so we’ll hook that up to the 5V rail and ground to the ground., The logic levels of the bluetooth chip uses 3.3V, whereas the Arduino uses 5V.. So we’ll need to step down the TX of the Arduino with a voltage divider before we connect it to the RX of the Bluetooth chip.. The TX of the bluetooth chip, on the other hand, can connect to the Arduino nano RX directly.

. We also need to pull PIO7 of the bluetooth chip up by connecting that to the 3.3V rail to force a baud rate of 9600 and also bring PIO5 to a status LED which will blink when we sucessfully enter command. Mode. Here’s. What it looks like on a breadboard. Now we’ll plug in our arduino and run a few commands. Head over to the serial, monitor and set the line ending to quotNo line endingquot and the baud rate to 9600.. Our first input command is, and this will put the bluetooth chip in command. Mode. You’ll get CMD back as an acknowledgement, and the status LED will also begin to blink. In this mode. We’Ll need to set the line ending to quotNewlinequot. Let’s start with a factory settings reset SF1., Then the command D will, let us see the current settings and E will. Let us see the advanced settings. We’re going to put the bluetooth chip into HID mode with S6.. Then set the name of the bluetooth device with SNltname that you wantgt., Then we’ll need to change the device to a keyboardmouse device with the command SH0230.. You can reboot the chip with R1 and we’re done configuring. The bluetooth chip. Now let’s plug in our Arduino nano by itself, again. We’ll, need to upload some code to make all the components work, together., Open up the ArduinoBTPS2 sketch and upload the program. Once that’s uploaded. We can unplug our arduino and put it back onto the breadboard and wire up the rest of the components.

For the Arduino we’ll need to switch over our bluetooth communication to hardware serial so rewire D3 to the hardware TX pin.. We won’t need to recieve anything from the bluetooth chip, so we can remove D2. On the bluetooth side, we’re going to be using the faster default baud rate of the chip, so remove the pull up for PIO7. The status LED is optional. I left it in on the breadboard but removed it later in the final product.. Now we pull in our ke yboard and mouse port and wire, the 5V and ground lines to the 5V and ground pins. The mouse clock. Mouse data and keyboard clock keyboard data lines. Will communicate with the arduino through pins D2? D3. D4 D5.. This is what it looks like so far. Let’s give it a test. I’m using a USB mouse with a PS2, adapter and I’ve also plugged in a keyboard. Let’s power cycle. The chips then go over to our mobile device. After pairing with our bluetooth chip in the settings, and we should be expecting a fully functional bluetooth, keyboard and mouse.. The only thing left to wire up is the power source.. Our power cube is going to be supplying a regulated 5V from the USB port.. So we’ll take the positive line directly to the 5V pin and the ground line to the ground. Pin. Let’s get back to Kevin. We’ll need to make a little more room inside him. So let’s cut off some of the support pieces that used to hold the whistle in place.

. I also removed the breakout legs from the bluetooth chip to reduce the size of it. I’ve got all my connections finalized and wired into place. So now, it’s just a matter of fitting everything. Together. We’ll need to cover up the USB port of the arduino, with electrical tape to prevent the port from shorting with the positive terminal. We’ll. Also stick an NFC writeable tag into Kevin’s head and close it up. We’Re almost done Now, we’re going power up this guy with our power cube., So let’s plug that in and everything should light up. Muahahaha. There’s, one more thing we have to do, and this part is entirely optional.. We’Ll have to configure our NFC tag so that we can connect and disconnect just by tapping Kevin’s head. Using a smartphone. We first need to pair with Kevin., Then we’ll download the NFC TagWriter app and open it. Up. We’ll need to write the tag with a new bluetooth. Dataset. Then choose our bluetooth device and hit save and write.. Now just swipe our phone on Kevin’s head and write the data to the NFC tag inside him.. So, from now on, we should be able to swipe his head to connect then swipe again to disconnect. That’s. It We’re done So to test the thing out I’m going to use my Android tablet. With a standard keyboard and mouse. We can actually turn any tablet into a somewhat productive workstation. And with apps like AIDE, you can even comfortably do Android development inside an Android, device.

ANDROIDCEPTION. Well that’s. All I have for you this week.. I really hope someone finds use in these kinds of projects. Should I continue making things like this Or what should I do next? Let me know leave me a comment. We’Ve got another Arduino video coming up next week. You can subscribe or follow me on Facebook to get notified when the next video comes. Up.


[adrotate banner=”1″]

arduino hid Video

[mam_video id=UJaqHnPR-XE]



[adrotate banner=”2″]


[mam_tag id=3675]



[adrotate banner=”3″]


arduino hid news






[adrotate banner=”4″]



arduino hid Social



[adrotate banner=”5″]




👋 Want to bring Tony Stark-like gesture control to your projects? Learn how with the BLE-enabled MKR WiFi 1010 and Nano 33 BLE Sense boards using the ArduinoBLE library.

Arduin-yo ho ho! A fairground favorite, the pirate ship is a fun way to explore the oscillation of a pendulum. How much fun, you ask? Access our Science Kit Physics Lab preview and see for yourself: http://bit.ly/2oC6L0Q

🔬 Now that you’ve gotten your feet wet, dive into the kit and enjoy all nine experiments. Order yours today: http://bit.ly/2MnQ7fr

Mon Mar 25 12:02:27 +0000 2019

RT @LetsOKdo: Check out our latest project where we explain how to make an @arduino Human Interface Device:


Fri Mar 19 06:46:19 +0000 2010

RT @youxkei: arduinoの標準のHIDライブラリが微妙だからNicoHood/HIDを使うことにした


[adrotate banner=”6″]