Go Down

Topic: Connect Arduino to PC as a device (Read 193 times) previous topic - next topic

viacheslav_zh

Hi, I have one idea, but I don't is it possible or not.
Main idea:
1. I connect the arduino to the computer
2. Windows should detect device and open window same as i insert CD-disk
3. Than i can run a windows programm from my arduino
Is it possible to do it?

PaulS

Quote
Is it possible to do it?
The way you describe it? No.

The Arduino is recognized as a USB device. There are already drivers that know how to read from and write to the Arduino. You would have to replace those drivers to make the Arduino do something else. Then, you'd have an interesting time uploading a new sketch to it.

If you knew how to write such a driver, you wouldn't have needed to ask the question.
The art of getting good answers lies in asking good questions.

viacheslav_zh

Ok, thanks. I hoped that there is some easy way, but it's not.

pert

2. Windows should detect device and open window same as i insert CD-disk
There are some dev boards that show up as a drive and you can upload to them just by copying files to the drive. Arduino doesn't do that because it would actually make things way more complicated for beginners than simply clicking the "Upload" button in the Arduino IDE. Also, it wouldn't really be practical on the classic Arduino boards.

3. Than i can run a windows programm from my arduino
For some very non-standard definition of "windows programm" and "arduino", that might be possible. But really, no it's not possible.

It sounds like you're looking for more of a single board computer, or maybe MicroPython/CircuitPython.

Go Up