How to control a windows device using arduino?

Is there any way to control a windows device(PC,Laptop etc) by arduino?
Any Library?

If you use a suitable Arduino such as a Leonardo then you can control the mouse of the PC and send keystrokes to the PC. Is that the sort of thing that you had in mind ?

Have a look at the Processing tool.

Can i do that wirelessly?

Other post/duplicate DELETED
Please do NOT cross post / duplicate as it wastes peoples time and efforts to have more than one post for a single topic.

Continued cross posting could result in a time out from the forum.

Could you also take a few moments to Learn How To Use The Forum.

Other general help and troubleshooting advice can be found here.

It will help you get the best out of the forum in the future.

Is that the sound of goalposts moving that I hear ?

You would need hardware connected to the PC to receive commands and pass them to the Serial port and, of course, hardware at the Arduino end to transmit the data

There are other possible methods that you could consider such as using an ESP8266 or ESP32 to host a web server and for the PC to run software to connect to the web server to receive commands.

How complicated do you want to make this and what HTML coding experience do you have ?

I have no HTML coding experience.I think i will do it with arduino connected to the laptop
Thanks for your help

Hi, @nousernameavailable
What do you want to do with your control over a PC/Laptop.
Do you want your Arduino to act like a keyboard or mouse?
Do you want your Arduino to open specific applications?
Do you want your Arduino to turn the PC?Laptop ON and OFF?

Please be more specific?

Can you please tell us your electronics, programming, arduino, hardware experience?

Thanks.. Tom... :grinning: :+1: :coffee: :australia:

I am sort of a beginner in programming and electronics. I would like the Arduino to automate a few keyboard tasks. I want to do this wirelessly.

Is it possible to let Arduino know which application I am currently using on my PC?


arduino bluetooth keyboard
That may get you started.

Tom... :grinning: :+1: :coffee: :australia:

Think about what wireless technology does a PC/Laptop have?

Bluetooth, WiFi. That's it what a standard PC/Laptop has.

How much wireless things does an arduino have?
Depends on the exact Arduino-TYPE
Arduino Uno NO wireless
Arduino Mega NO wireless

So a different microcontroller will be much better suited
I recommend using an ESP32 with bluetooth keyboard emulator

Most important thing for developing keyboardemulators:
Code that checks a hardware switch which makes the code send or NOT send keystrokes over bluetooth.
Otherwise your code in the editor will be overwritten all the time as soon as you start the device. => very hard to stop this process to upload a new code-version. Except you have a hardware-switch that can stop it.

best regards Stefan