Hi guys
I'm new here, hope it's the right place to ask.
I'm in the middle of a small project for my car. A part of the project is to connect to the car's horn.
The horn is fixed connected to the positive of the battery. I use arduino and sparksfun's relay kit to switch the ground to the horn.
When the arduino output HIGH to the relay's control wire, the relay closes, the horn gets ground and the horn beeps. simple.
Now, I want to add a fuse, to be sure I don't blow up my car.
But the tricky part is that I don't have any way to know if the fuse burnt or something.
I mean - the horn doesn't sound usually. Just when something is wrong. Then - if the fuse is burnt - I don't know it and the horn will not alert me when something is wrong.
So what I thought to do is to check if the point after the fuse (between the fuse and one side of the relay, as can be seen in the diagram) is grounded.
That way - if it is grounded, I know the fuse is good. If it is not - then the fuse blew.
How can I check with arduino if the point is grounded?
I'm new here, hope it's the right place to ask.
I'm in the middle of a small project for my car. A part of the project is to connect to the car's horn.
The horn is fixed connected to the positive of the battery. I use arduino and sparksfun's relay kit to switch the ground to the horn.
When the arduino output HIGH to the relay's control wire, the relay closes, the horn gets ground and the horn beeps. simple.
Now, I want to add a fuse, to be sure I don't blow up my car.
But the tricky part is that I don't have any way to know if the fuse burnt or something.
I mean - the horn doesn't sound usually. Just when something is wrong. Then - if the fuse is burnt - I don't know it and the horn will not alert me when something is wrong.
So what I thought to do is to check if the point after the fuse (between the fuse and one side of the relay, as can be seen in the diagram) is grounded.
That way - if it is grounded, I know the fuse is good. If it is not - then the fuse blew.
How can I check with arduino if the point is grounded?
Attachments
-
11.6 KB Views: 4