Running Arduino with NSSM

I have written a Arduino sketch to display CPU and RAM usage of my PC. I want it to display "before" anything else. Kinda thinking of using NSSM.

I have a .py file to send the data to the Arduino, that works. The .py is run by a .bat (so it won't open a CMD interface when it runs)

I've tried using NSSM as usual to create a service, however it never runs. I even tried making it depend on PlugPlay before running. It still doesn't work.

Any ideas?

I can share the code if it's relevant though not sure why it would be. Just let me know :grin:

I had to google it - " Non-Sucking Service Manager":

https://nssm.cc/

So the Arduino part is all taken care of and working?

This is entirely PC stuff - nothing to do with Arduino?

1 Like

I'm not sure whether it's to do with the Arduino or not. Is there a service other than PlugPlay that Arduino requires to communicate via serial?

Arduino neither knows nor cares about any Service - nor any other software - on the remote device. All the Arduino sees is bytes arriving at its UART.

You can just use a plain COM port.

Yeah, I'm on COM3

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.