Questions tagged [keyboard]

A text input device. Utilize this tag to ask programming questions regarding reading input from it or blinking the lights, etc.

Filter by
Sorted by
Tagged with
1
vote
2answers
99 views

Matrix keyboard and 7segment display countdown combination

I'm working on an escape room for my university with an Arduino Mega. The last part consists of a 7segment display representing a time countdown, and the participants have to introduce the correct ...
1
vote
2answers
54 views

Emit region-neutral keyboard signals

The Keyboard API allows the Arduino boards such as the Micro or Leonardo to emit USB signals mimicking a physical keyboard. However, the signal seems to transmit key strokes and not characters which ...
1
vote
2answers
419 views

Arduino Micro draws too much power from iPhone. How can I change that?

I'm building a USB keyboard that has two buttons - space and enter. The plan is to use this USB keyboard (with an Apple Lightning connector to USB) with the built in iOS switch control. I bought the ...
1
vote
0answers
234 views

Convert normal keyboard into Bluetooth Keyboard

I am very new to the Arduino world, I am trying to convert my wired keyboard into a bluetooth keyboard. I have a few layman questions: Is it possible to add an audio jack adapter(like PS4 joystick ...
0
votes
2answers
2k views

Digispark ATtiny85 keyboard

I have a small project that I have in mind and I'm pretty new with Arduino. I want to make a small device that if a key was pressed it would do something. Now I know I could use a button with the ...
1
vote
2answers
79 views

Is Arduino Keyboard in Single User Mode Possible?

Has anyone had success using the keyboard functionality of any arduino in single user mode of mac computers? I would like to inject keystrokes in single user mode, and have been unsuccessful with the ...
1
vote
1answer
750 views

Wake up a PC from an Uno

I want to wake up a PC via a USB-connected Arduino. When using a Pro Micro (Leonardo) I can do it, as its HID interface can wake up a PC. That is, in the Device Manager, under "Keyboards", the ...
0
votes
1answer
3k views

How to convert USB to PS/2? [closed]

Objective: To get my USB keyboard to interface with an Arduino Uno board. Constraints: I can't afford a USB host shield for now for Arduino. Currently available is a keyboard with PS/2 connector. ...
1
vote
1answer
5k views

NodeMCU capable of key injection?

Short version: Is the NodeMCU capable of key injection in the same way that an Arduino Teensy can be programmed with Duckuino script to function as a HID? Long version: Recently, my 7+ year old iMac ...
3
votes
2answers
6k views

Typing into ESP8266 with a USB keyboard

I need to be able to connect a USB keyboard, like a tiny Xbox keyboard, or a nice wireless one, into an ESP8266-based thing to type passwords into the MCU. Adapting the PS2 lib for AVRs (PS2==USB ...
0
votes
1answer
686 views

Atmel atmega32u4 not recognized when connected by usb after attempting to flash new bootloader

I am making a mechanical keyboard using Atmel's pro micro as the controller. I decided I would try to replace it's bootloader, as the one it ships with doesn't seem compatible with QMK's RESET ...
2
votes
3answers
13k views

Digispark / DigiKeyboard change keyboard layout

I'm trying to use the Digispark as a Rubber Ducky but the Digispark is only usable with the US laylout. German keyboard layout is QWERTZ. Some keys can be changed, like y and z, but if there are [ or ]...
4
votes
1answer
1k views

Arduino Uno as keyboard

I am trying to make Arduino Uno to act as a keyboard. I have successfully flashed the USB-HID firmware in it using this link also and programmed it like this. uint8_t buf[8] = { 0 }; int inpin1 = 7;...
0
votes
1answer
463 views

Interacting with a video game - Keyboard & LUFA

I have an Uno and Leonardo that I am trying to have it interact with the GTA V video game. Using the Keyboard library, it works within the OS. But it ocassionally works within the GTA V process. It ...
0
votes
0answers
400 views

4x4 Keypad Interface issues

I have not used arduino until now. I thought of interfacing my 4x4 keypad. But when I press keys 1, 4, 7 and *, key values A, B, C and D are sent out to serial terminal respectively. All other keys ...
0
votes
2answers
1k views

Keypad password check issue

I am working on a school project, basically I have to create a lock system that opens a fictive gate when the correct code is entered. We have been asked to simulate our system before actually ...
0
votes
1answer
384 views

Use Wii Remote and Arduino to emulate a keyboard for Windows 10?

Is it possible to use an Arduino to communicate with a Wii Remote, connect the Arduino to a Windows 10 computer, and have the Wii Remote inputs be translated into keyboard keys for Windows 10? I've ...
0
votes
2answers
4k views

Arduino/ESP8266 to put PC to sleep and wake it up

I have a Wemos D1 mini that's connected to a pc with usb, I want to be able to sleep the pc and wake it up programmatically. Is there a way to do this? Like sending a simulated sleep keyboard button ...
1
vote
2answers
2k views

Uno r3 - Can't get USB Keyboards to work with an USB Host Shield

I'm a day 1 beginner to Arduino, and I am trying to obtain input from a USB keyboard. I've connected the USB keyboard to an Arduino USB host shield attached to an Arduino Uno r3, and I am using the ...
3
votes
3answers
1k views

Arduino Leonardo as keyboard for an iPad

I'm trying to make a Arduino Leonardo as a Keyboard for an iPad. I was successful with an Arduino UNO. However I'm hoping to use an ATmega 32U4 because of the better HID functionalities and smaller ...
1
vote
1answer
2k views

How to make auto keyboard using arduino nano V3.0 ATmega 328P ?

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 "...
0
votes
1answer
8k views

How do I give the ENTER keypress?

I have a Teensy set up as a keyboard, joystick, and I'm giving keyboard commands. Letter and number keys are going fine. But when I try sending ENTER, I get some extra code in my Linux terminal: $ ...
0
votes
2answers
768 views

connecting multiple keypads

My project is to use an Arduino to control the lighting of a small apartment. My preferred option is to replace each wall light switch with a 4x4 membrane keypad (https://www.amazon.co.uk/Mirocle-...
0
votes
1answer
90 views

Make Piano keys on Webpage create sound on Arduino (w/out Shield) [closed]

So I am trying to make a digital keyboard on webpage, that when one of the keys are clicked it creates sounds on the Arduino board. I want to do this without an ethernet shield. I am a beginner so I ...
0
votes
0answers
35 views

weird output from keyboard program

I am trying to write a keyboard (Key-glove) program. There are 4 buttons, and inputs should type specific keys. when the keyboard is active, I get output, but not what I am expecting for output. I get ...
2
votes
1answer
674 views

65 hall effect sensors as switches to be used as a keyboard with a teensy

I'm trying to wire up a silly little keyboard using hall effect sensors and magnets in a glove. The idea being only I can use the keyboard since I'll have the glove. The sensors are 3 pin, (vcc, gnd,...
7
votes
1answer
5k views

Arduino as a real device to computer

Suppose we have a computer mouse , now when we connect it to a computer then computer understands it is a mouse which is been connected to it. Same thing happens for keyboard and many other devices. ...
0
votes
2answers
1k views

Arduino Leonardo as USB Keyboard with WiFi module

I have two PCs: the first is connected to the Arduino via WiFi, this will instruct the Arduino what keys to send, and the second PC is connected to the Arduino via USB that will act as a USB Keyboard ...
1
vote
3answers
4k views

How can I use a BlueSMIRF Silver (RN-42) as a HID Keyboard (on IOS)?

I've got a BlueSMIRF Silver (RN-42) Bluetooth module. I am trying to create a basic keyboard I can play with on an iPad Air. At the moment barely manage to get the module to pair with OSX but only ...
1
vote
1answer
1k views

Arduino Keyboard - print() works but println() does not

I am recently seeing strange behavior in my Arduino Yun. Just using the microcontroller, I enter the following: #include <stdlib.h> #include <string.h> // For string operations. #include ...
2
votes
2answers
849 views

Library for DIY Keyboard

I'm planning on making my own Bluetooth mechanical keyboard using the Adafruit Feather 32u4 Bluetooth LE. Something that I haven't really figured out is the programming side of things. I was wondering ...
0
votes
1answer
132 views

Qduino Mini bricked?

So I have been experimenting with keyboard inputs and I think I may have accidentally put a loop in my code that never actually ends the keyboard input thus not allowing me to upload any sketches to ...
1
vote
1answer
529 views

Arduino Leonardo - disabling the debugger port

My Sketch program is working perfectly as a specialized keyboard application on the Leonardo. I want to disable the development tools drivers from the USB, (COM PORT) leaving only the HID Keyboard ...
0
votes
1answer
82 views

Why does Keyboard.Print adds random values to url?

I'm trying to print a sequence of power shell commands including a url to the powershell interpreter but every time I execute it with the Arduino Micro it adds random values to the url. Here's the ...
0
votes
2answers
6k views

How to add extra USB port to Arduino Nano?

I'm trying to use V-USB library to emulate a keyboard using Arduino Nano but because of precaution, I don't want to use it's built-in USB port. My idea is to add another USB port so I cant power my ...
0
votes
1answer
541 views

Printing multiple double qoutes in print statement

I'm trying to print multiple quotes in a Keyboard.print() function but when i try to escape the character with \ at $output =\"$HOME\Misc\nc.zip\"" and the string does not get recognized by the ide. ...
1
vote
1answer
274 views

Emulate non-standard keyboard from Arduino

I want to emulate keyboard presses in an old C64 microcomputer using an Arduino. The keyboard connection is a non-standard 20-pin port (i.e. the Arduino keyboard libraries won't be useful) which, as ...
0
votes
1answer
335 views

Keyboard key press listener

Is there a way to make a listener for a key press to begin a loop? Example: I press the Tab key on my keyboard and the programmed loop begins running. Essentially creating a keyboard hotkey.
2
votes
1answer
858 views

Arduino sending keystrokes via push-buttons. Proper bouncing and manually setting buttons?

I have a simple set of 8 push buttons wired to a Teensy 3.2 board (which uses Arduino via Teensyduino plugin). The 8 buttons are on pins 1-8 and their common ground line (one line soldered to each of ...
-1
votes
1answer
2k views

Interfacing key-pad with arduino with 7 segment display [closed]

I have the following components: Arduino Mega 7-segment display 12-digit key-pad For my project, I would like to display on the 7-segment display the number that the user presses on the keypad.
0
votes
2answers
3k views

'Keyboard' not found when trying to use Keyboard.write from the <Keyboard> library

I am trying to get a response from the arduino when I press a key, but when I try to upload the code it says that it could not find 'Keyboard' with 'Keyboard.write'. Here is my code. Ignore the bits ...
3
votes
2answers
826 views

How can a USB keyboard emulator (TrinketKeyboard) type Unicode characters?

I've got an Adafruit Trinket microcontroller set up using this USB keyboard tutorial, and it works great. I'd like to set up my project to type a shruggie ( ¯\_(ツ)_/¯ ) when I press a hardware button....
0
votes
4answers
1k views

Can I make so when I press a button on my Arduino Uno board, it will press a key on my computer? [duplicate]

I looked up the question before, but they only gave answers for boards that are not the Uno. Is there any way to make it so when I press a button on my board, it registers as a key press on my ...
1
vote
0answers
94 views

Leonardo connect to keyboard on laptop [closed]

Hello i want to make an interactive dj booth. When someone touches the foil the sound appears. How do i connect the leonardo to a keyboard.press('n')? And connect the board to foil so when you touches ...
1
vote
1answer
310 views

Keyboard input arduino speed

I have an Arduino clone of a Leonardo and I was just wondering how many keyboard commands I can send to the computer per second via USB. I'm not talking about the delay between send and receive (...
0
votes
2answers
703 views

Arduino Leonardo Pro Mini will not begin sketch when connected to BIOS not an OS

I have an Arduino Leonardo that I am using to emulate a Keyboard using the keyboard.press function with the Keyboard.h libraries. I have gotten the Keyboard.press function to work on my windows and ...
0
votes
2answers
122 views

teensy as a keybooard throws error as keyboard input

I have a program (bash script) I wrote that is for stop motion animation. The script works perfectly, when I use any given keyboard on my laptop, and it works on other computers, as well. So i wanted ...
1
vote
1answer
946 views

Enabling keyboard feature on Arduino with CH340G

I've seen here that it is possible to enable keyboard feature on Arduino Uno so it can emulate a keyboard (send keystrokes to computer) like the Leonardo. They do it by updating ATmega16U2 firmware. ...
-1
votes
1answer
813 views

Keyboard emulation

I am interested in development of a small box that will have the following functionality: Will connect via USB to a keyboard Will contain a keyboard emulator to allow transfer of keystrokes to a host ...
-1
votes
1answer
361 views

HID-Project problems with keycode enums

I'm having some trouble with the HID-Project using my arduino micro as a keyboard. I'm using the BootKeyboard API, I want to be able to store and recall keycodes from EEPROM eventually, but as it ...