Currently I want to use a tilt sensor to give signal to a relay.
For the tilt sensor, the VCC is connected to 5V, GND is connected to 0V. For the DO port (sig), I connect it to a bulb and the other side of the bulb is connected to 0V, then when the tilt sensor sends out a positive signal the bulb is lightened.
However, when I try to connect the DO port of tilt sensor to a relay’s input things are different. If the relay’s input is connected to 5V then relay’s coil is triggered, but when I connected the DO port of tilt to the relay’s input unfortunately the coil is not triggered. Do you know what is the reason and any solution?
I suggest you stop before you fry your Arduino if you have not already damaged it. Post the requested information and you will get an accurate response. There are a lot of fried arduino chips out there, do not make it bigger.