Sketch startup led

HazardsMind:

Arduino is powered by computer via usb.Relay has its own unit and no relation with arduino.The relay unit just turns on the computer.

Soooo, the arduino is being powered by the same computer you want to turn on and off?

Off, I can understand, but if the computer is OFF then how will it turn back ON if the arduino has no power?

By the remote control key fob he has in his hand that will power up the PC which then powers up the Arduino. The problem he is seeing is not with the arduino directly but rather getting his PC software application working correctly with the arduino sketch when first powering up the whole system via remote control. At least that is my reading of the situation. The arduino has nothing to do with powering the PC on or off (or itself for that matter :smiley: ) That is handled by an independent remote controlled relay module.

Lefty