Is Arduino capable of what I'm trying to do?

Hello. New here.

I'm working on a project and Arduino seems to be what I'm looking for, but I'm not sure if it's capable of what I'm trying to do.

The project involves attaching a receiver to the Arduino board with the Arduino itself being connected to the PC via USB. When the receiver gets a signal, it activates the program that's in the Arduino board. The program is supposed to open and close certain programs on your computer and possibly be able to turn it off the computer as well. What programs you want open or closed depend on what you chose in the GUI of the program.

That's the gist of it really. I want to be sure Arduino is capable of doing this before fully investing my time and money only to later realize it's not possible. I also saw there are many different kinds of boards and I don't know which one will work for me.

If I can get some verification and even some tips, that would be great as well.

what receiver?

Lots of RF thingies, so let go to the core issue:

  • Is the intent to use the Arduino via USB to PC?
  • Is the intent to do your PC via keyboard shortcuts/key macros?

If above both yes, HID is a possibility. Look at Leonardo and up the line of HID capable devices. GUI on the Arduino is a resource hog and touch screen takes resources and the RF library. So, a model more capable than Leonardo may be necessary.

I'm working within a group so we're still trying to pin down what kind. But I guess any kind of receiver that would be compatible with Arduino. It involves a transmitter, being activated by a sensor, to send a signal to the receiver.

Yes, we intend to use the Arduino via USB to PC. We don't intend to use it for PC via keyboard, but I'll take a look at that HID.

a PC is able to receive WiFi, Bluetooth or BLE without Arduino.

I'll describe what my group and I are trying to make some more so you can get a better understanding. Then tell me if Arduino is necessary for this kind of project or not.

We're trying to make a mini security system for intruders. It involves, a sensor aimed at the entrance of the room. When the sensor is activated it activates the transmitter. The transmitter sends the signal to the receiver which is connected to the Arduino board. The Arduino board is connected to the PC via USB and it has a built-in program with a GUI. When the Arduino board receives the signal, it executes the instructions made in the GUI. The options are to either open, close, or minimize an application on Windows and even turn off the computer. Based on the options and instructions you set on the GUI, when the Arduino gets the signal, it executes those instructions.

I hope this gives you a better idea of what my group and I are trying to do and if Arduino is capable of this. If it is, which Arduino board is best for this kind of project.

Arduino board is connected to the PC via USB and it has a built-in program with a GUI.

Where is the GUI? On the Arduino or the PC? The "it" reverence is unclear.

Arduino

Arduino UNO talks with the Serial Monitor and not with the PC. If you want your PC/Screen/Keyboard talking with Arduino UNO, you have to write an application using VB of Visual Studio. The job seems to be easy; but, it is not that much easy.

Hence the suggestion to use a HID capable Arduino to avoid this complication

What exactly is the PC doing that involves running speograms programs in response to an intruder ?

EDIT - corrected spelling

I'm going to assume you meant to say programs instead of speograms because I have no idea what that is and I even looked it up.

Let's just say you're looking at private and/or sensitive information on your computer that nobody should be looking at. So if someone walks in, the sensor sees the person and the program in the Arduino, with the use of the GUI, would close whatever you're looking at.

ok. for that HID is ideal. just send Alt+F4 series or Win+M or Win+L

Correct

An Arduino is capable to read a signal from a receiver.
An Arduino is capable of sending serial data to a PC.
So yes, everything you want is possible.

There are lots of examples with an Arduino having an IR light diode receiving and decoding signals from a TV remote. But that requires a visual contact. But you konow how a TV remote is capable of working reflecting through walls.

As people have pointed out, you need to have something on the PC side, which reacts to the serial data coming in. Write a program capable of reading the serial port as well as capable of launching other executable files. Quite doable. No rocket science.

Not if you use an Arduino board capable of acting as a HID

Well, yes. Technically it would be possible to do anything on a PC having an Arduino sending mouse and keyboard actions.

No, "Pro Micro". The Leonardo shares the particularly inconvenient form factor with the UNO. :roll_eyes: