I am trying to find the simplest off-the-shelf way to control a single LED from a PC.
This will be used to illuminate a sample in a lab under control of a human via a GUI. So there are no serious timing constraints.
I want the LED to emit continuously, so a device that does PWM is not suitable. Brightness will be taken care of by selecting an appropriate LED; there is no need to be able to change the intensity.
The solution needs to be robust; cost is not really a factor; and an off-the-shelf solution is preferred. I know this is trivial to do using a Raspberry Pi or an Arduino, but I'd rather just order something that works than tinker.
Ideally, this would be controlled as a serial device that I can send ON and OFF commands to, so I can control it from a normal desktop PC from user space.
It's an embarrassingly simple problem, but the best solution so far that does not involve tinkering seems to be a low-end programmable current source. I would appreciate to hear about simpler off-the shelf solutions.