I have an Arduino Nano v3.0 ATmega328p board. I want to make an auto keyboard that types in a string when its plugged in. I have googled and found that these chips doesn't support that feature unlike "pro micro". keyboard.h is not supported with this chips. So is there any alternative way to use it as a HID and emulate keyboard inputs using any other additional shield other than using the built in USB port. Im a noob in this field, please help. Thanks in advance.
-
You can emulate USB on the atmega328. Look at the VUSB project. You just need a few resistors, diodes, and a USB cable.– GerbenDec 7, 2016 at 15:22
-
I found this link : practicalarduino.com/projects/virtual-usb-keyboard Is that what you've been looking for?– TagadacDec 7, 2016 at 15:23
-
Thank you @Gerben If you could give me some useful links so that i can get the basic codes, that would help me :)– knobiDevDec 7, 2016 at 15:43
-
Just google "vusb" and "vusb keyboard". Maybe some of the Adafruit guides for their pro trinket which uses VUSB. I'm currently on my mobile so linking is kind of difficult.– GerbenDec 7, 2016 at 17:45