A
A
Alexander2018-03-11 15:12:06
Arduino
Alexander, 2018-03-11 15:12:06

On which controller can a HID device be implemented (with zero experience with the hardware :)?

Colleagues, good afternoon.
There was a desire to make a device that includes switches, buttons, trimmers, controls (configuration of command parameters), connected to a computer via USB / Bluetooth.
:) The example will probably be more intelligible in order to describe the purpose of the device: turn on the GIT mode on the device, press the big red button and send a command interpreted on the computer as git-commit, git-push - for example.
Not having knowledge of how this is implemented at the hardware level, I ask:
1. Tell me on which device (controller) can this be implemented? (Arduino UNO?)
2. If you are familiar with an implementation example, at least partly similar to what I described, please indicate where to look.
3. State your opinion on this issue (if any).
Thanks for the help!
ps experience in programming is.
pps if the device did not require a separate power supply, it would be great.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
vanyamba-electronics, 2018-03-11
@x6b726173

The easiest way is on the Arduino Leonardo. Microcontroller ATmega32U4. Even examples are attached to it, where this board is connected to a computer like a mouse and keyboard.
As for git push, git commit, a properly configured web server is also capable of doing this.

A
Alexey Cheremisin, 2018-03-11
@leahch

For example on STM32. Almost any debug board will do, for example STM32F4DISCOVERY. By the way, there the demo-firmware just etilizes a computer mouse and blinks diodes.
www.st.com/en/evaluation-tools/stm32f4discovery.html

S
Stalker_RED, 2018-03-11
@Stalker_RED

Almost any controller will do on the serial port. With usb, there is a slightly smaller choice, but there are ready-made arduinos with usb. Attach a button - two wires, a resistor and a dozen lines of code from examples.
It remains only to write something on the side of the computer that is waiting for the command (there are also enough examples).

G
gosha-z, 2018-03-15
@gosha-z

Here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question