C
C
Chvalov2015-10-02 18:18:39
Android
Chvalov, 2015-10-02 18:18:39

Is it possible to emulate a controller robot on a PC and control it from a program via USB?

It is necessary that the PC constantly sends one command to the USB port or COM port.
Connect a device to this USB that will receive what the PC sends and process.
Or tell me how you can emulate a robot with a USB device in Android Studio

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem, 2015-10-05
@Chvalov

To emulate the controller, you can use, for example, Proteus, which can work with both virtual ports and real ones, if you want to implement it in hardware.
If there is no real COM port, then there is a COM port emulator program called com0com.

It is necessary that the PC constantly send one command
- for this you can write a simple program for a PC, there is nothing particularly complicated about it.
To begin with, I would advise you not to touch USB, but to deal with COM / UART, because USB is a different and more complex level that requires certain development and programming skills (USB - COM / UART adapters do not count :) )

A
Alexey Artyushkov, 2015-10-02
@frank_sider

What for? You can also take a real microcontroller and do everything in hardware. And Android Studio for microcontrollers is nonsense. For Keil microcontrollers, Avr Studio, MPLab, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question