A
A
Alexey Smirnov2018-06-05 10:19:36
Do it yourself
Alexey Smirnov, 2018-06-05 10:19:36

Homemade USB device - where to start?

Welcome all.
I decided to learn how to make USB devices. The final task is to assemble the switch panel for the flight simulator yourself www.saitek.com/uk/prod-bak/switch.html
Problem: so far I can only solder and program. And not in assembler :)
What books, video courses, websites and other manuals would you recommend to:

  • Competently evaluate everything that needs to be done.
  • Learn all of this.

I understand that it will take time, this is not a problem, this is a hobby.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Alexey Cheremisin, 2018-06-05
@lexmirnov

Well, also take (to the question about ardiuno) a prototyping board on STM32. For example STM32 Discovery. For example, this one - https://www.chipdip.ru/product/stm32f407g-disc1-2
By the way, in the demo firmware it emulates a USB mouse with an accelerometer.
Here it is true, it is desirable to write in good C, although for ascetics it is possible in assembler. But with the assembler, you are unlikely to resolve the USB protocol ...
Well, there is a lot of information on programming - easystm32.ru/stm32f4-discovery/41-otsenochnaya-pla... and Dihalt - we.easyelectronics.ru/blog/STM32 /page3

V
Vladimir Kuts, 2018-06-05
@fox_12

Homemade USB device - where to start

C blinking LED on Arduino

V
Vladimir T, 2018-06-05
@32bit_me

Do not take an arduino, this is not what you need.
Take any USB Stm32 board, download CubeMX and Atollic True Studio for free, and write. No assembler, pure C. If you want, you can use FreeRTOS, if you don't want, you can use it.

K
ks0, 2018-06-05
@ks0

Use UART-USB converter and the task becomes trivial

S
semen-pro, 2018-06-14
@semen-pro

Get an Arduino Leonardo . The keyboard / mouse are emulated very simply . You'll figure it out in the evening.
In case of a shortage of ports - there are all sorts of port expanders, multiplexers, shift registers ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question