I have designed an embedded system to work as an online voltmeter. Please check the attached image.
Now I want to add a 5 volts relay within the positive terminal of the power source and the 25 kilo-ohms resistor, so that I can control the flow of current with a GSM shield.
I don't understand what you are saying . How would a relay control current ?
If you don't have electronics experience and you need a relay on/off switch then say so.
FYI, it's called an "SPST switch" .
If it's a relay it's called "a relay wired as an SPST switch".
Don't understand your requirement. If your intention is to switch off/on some devices then yes you can use a relay. Not sure what you meant by controlling the flow of current.
Sorry for my vague question. Let me explain further.
I want a switch between the DC power source and the Arduino embedded system. When the switch is closed, the embedded system should be able to measure the voltage (i.e., circuit is complete) and vice versa.
I want to use a 5 volts relay as the switch.
My question is, could my job be done with it?
Thanks.
raschemmel:
I don't understand what you are saying . How would a relay control current ?
If you don't have electronics experience and you need a relay on/off switch then say so.
FYI, it's called an "SPST switch" .
If it's a relay it's called "a relay wired as an SPST switch".
If you even have to post for this do you know how to wire a 5V relay as an SPST switch and how to control the relay ? Do you have a link for the relay ?
I have designed an embedded system to work as an online voltmeter. Please check the attached image.
Now I want to add a 5 volts relay within the positive terminal of the power source and the 25 kilo-ohms resistor, so that I can control the flow of current with a GSM shield.
My question is, is it possible to do so?
Thanks in advance.
Yes, you can control the current (and voltage) from the power supply with a relay. How much current are we trying to control? You can control it ON and OFF! Is that what you want?
You went to an awful lot of work to measure 0-30 volts. A simple two resistor voltage divider will work.