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
1answer
233 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
274 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.
3
votes
1answer
214 views

How to reprogram Arduino if USB port is already in use?

I'm developing a keyboard emulator using Digispark Pro (based on Arduino) which uses USB port as the keyboard interface. I haven't programmed it yet because I doubt how should I recognize the chip to ...
-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.
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 ...
3
votes
2answers
657 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
900 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
82 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
0answers
62 views

Arduino Leonardo based h keyboard

I just want to configure my laptops keyboard buttons a,s,d,f,g,h and j. I wrote this code and it works for only a but I couldn't configure other buttons. Code is: #include "Keyboard.h" const int ...
0
votes
2answers
82 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
845 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
vote
2answers
13k views

press windows key using keyboard.press();

Is it possible to allow an arduino Leonardo to simulate pressing the windows key using the keyboard.press(......); command? If so, what is the required value?
0
votes
2answers
2k 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 ...
1
vote
0answers
46 views

Arduino micro window focus troubles

I'm currently attempting to use an Arduino Micro as a ducky USB for penetration testing, and currently when I attempt to open a command prompt (or any other window) the window loses focus which ...
0
votes
1answer
5k 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: $ ...
1
vote
1answer
207 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 (...
1
vote
1answer
2k views

Possible to create IP-to-USB HID (keyboard) device using Arduino?

Is it possible to create an IP-to-USB HID (keyboard) using Arduino? I'd like to connect an Arduino to my network using Ethernet, and then send it commands using TCP/IP and have those commands ...
2
votes
2answers
742 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
2answers
530 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 ...
-1
votes
1answer
229 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 ...
0
votes
1answer
244 views

Is Teensy compatible with the Arduino keyboard library?

I am thinking about buying some Teensy micro-controllers, but I want to know if the teensy are compatible with the arduino keyboard library.
0
votes
3answers
646 views

16 by 8 Keyboard matrix

I am working on a project, trying to construct an 80 button keypad. My problem is how to multiplex it so that i only feed the arduino with two sets of BCD or binary(whichever is easier) which are ...
1
vote
0answers
137 views

Atmel studio 7 with Arduino Uno: Just upgraded to Atmel studio 7 and my target platform is the Arduino Uno

Atmel studio 7 with Arduino Uno: Just upgraded to Atmel studio 7 and my target platform is the Arduino Uno. I can't get past the start procedure: Firstly on starting up I get Sequence contains no ...
3
votes
1answer
412 views

sending ctrl-z in a struct?

I have a set of buttons wired to an arduino leonardo that are meant to send either single keystrokes to a computer "a, b, c..." etc, or a key sequence like ctrl+z (to perform an undo command.) ...
1
vote
2answers
638 views

How to send volume +/- on Mac/OSX from Leonardo

I saw this answer but I can't find the analog for Mac. I've tried cycling thru keycodes from 0x01 thru maybe 0x500, and I went thru ascii a few times, also found brightness up/down, and F11, F12, but ...
2
votes
1answer
733 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
vote
1answer
616 views

Arduino keypad matrix example? ( teensyduino )

I'm a beginner using Arduino with a Teensy 3.2 board and programming it as a usb keyboard. I have two 4 button membrane switches. Their button contacts are on pins 1-8, and the 9th pin holds a ...
2
votes
1answer
1k views

Keyboard.print() skips keys

I'm playing with the Arduino Leonardo Keyboard.print() command, but I'm facing a annoying problem: When I print a double quote, it will not appear and also will make to disappear the next character (...
-1
votes
1answer
722 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 ...
2
votes
1answer
901 views

Uno as a composite USB HID keyboard

I'm looking to create a USB device that would be basically a HID keyboard. I am able to do that with Uno. I flash new firmware with a HID keyboard descriptor and on the arduino side I loop and check ...
2
votes
2answers
216 views

Using C# Program to Interpret Keystrokes

I am in the process of developing an Arduino application that can read keystrokes from a PS/2 keyboard. I was wondering if it would be possible to upload a C# program onto the Arduino to interpret the ...
1
vote
1answer
3k views

Can't get Arduino Leonardo working as a USB keyboard in Windows 7

I can't believe I am stumped by this, but this is my issue and I can't see any other solution for this anywhere. I have an official Arduino Leonardo loaded up with the following code: void setup() { ...
0
votes
2answers
618 views

How to send keyboard signals to two separate computers (arduino due)

The arduino due has 2 micro-usb ports that you can connect to two separate computers. I need to send different keyboard signals to each computer. How would I do this?
0
votes
1answer
6k views

How to input keyboard commands using Arduino Mega 2560? [duplicate]

I have an Arduino Mega 2560 connected to a Windows 8 laptop. I want to program it to send keystrokes to the attached computer (when a pin's digital read goes from HIGH to LOW.) The trouble is, I ...
1
vote
1answer
783 views

Using Arduino To Control Boot Sequence of PC

I want to know if it is possible to use an arduino to tell a pc which os to boot to. I know It is possible to turn on the pc by wiring it to the motherboard pins with the power switch, and I know the ...
1
vote
0answers
115 views

YUN as BT keyboard

Sort of a follow up to Yun as bluetooth master, but this is to get the yun to act as a slave device. Specifically, I want it to be a BT keyboard. I could probably do it on my own, but I need to find ...
1
vote
0answers
729 views

Linear equation solver Arduino Calculator, printing wrong answer [closed]

I wrote a code in C to solve equations, but I don't know why some equations that I input into this calculator, give me wrong values, the algorithm is correct because I execute it in C and give me the ...
1
vote
0answers
894 views

EB - 4x4 Soft Keypad Driver Diagram from Makerstudio needed

I have found this interesting device wile looking for a cheap Arduino. It's a "driver" that converts a 4x4 Keyboard 8-PIN (8-IO) to a 4-Pin (2-IO) Device I would like to know if is Achieved by a ...
1
vote
0answers
647 views

Feedback Request: HID USB to Bluetooth Relay

Bluetooth Relay Project: Develop a USB to bluetooth adapter for my mechanical keyboard. Using a USB host shield, have an Arduino Pro Mini read keyboard usb commands and repeat them over bluetooth. ...
0
votes
4answers
7k views

How to tell Arduino Uno that I pressed or released a key on PC keyboard over serial?

I want to implement a simple musical keyboard with Arduino using tone() and noTone() functions, etc. The desired behavior is: While PC and Arduino are connected via USB/Serial... ...when I press a ...
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 ...
2
votes
2answers
8k views

Send Keyboard Media Keys with Keyboard Library

I have an Arduino Pro Micro (ATMega32u4) that I want to use as an IR receiver for a media PC and need to send codes like Volume Up, Media Home, Play, etc. But when I look up the scan codes for those ...