I'm working on a home project. I have a device which works with 12 volt / 1000 mA. I want to send a signal to arduino uno every time this device gets power which means the device is on. How can I make arduino receive that signal !
Given that the 12V device and the Arduino have their grounds connected together, you take a 47k resistor from the 12V voltage that you want to sense, to an Arduino input. Just for good measure, put a silicon diode (1N914) with its anode to that input and its cathode to the Vcc line on the Arduino.
If the 12V device and the Arduino do not have their grounds connected together, then connect the 12V through a 1k resistor to the LED side of an opto-coupler and the transistor side of the opto-coupler between the Arduino input and ground, setting the pinMode to "INPUT_PULLUP". The input will then go LOW when 12V is applied.