Go Down

Topic: Using A 5V Relay To Control 30V DC Power Source (Read 401 times) previous topic - next topic

Sami584

Hello.

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.

raschemmel

#1
Jun 02, 2016, 06:22 am Last Edit: Jun 02, 2016, 06:25 am by 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".
Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,<br />DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

sarouje

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.
Sony Arouje
http://sonyarouje.com

raschemmel

Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,<br />DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Sami584

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.

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".


couka

youtube.com/DieBastler1234
Don't send me technical questions via PM. They will be deleted unanswered.

raschemmel

Which brings us to the question:

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 ?
Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,<br />DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

sarouje

how are you going to control the relay? Arduino is going to do that? Still your requirement is very vague.
Sony Arouje
http://sonyarouje.com

sarouje

Is this some thing you are looking for to read the volt using Arduino http://www.electroschematics.com/9351/arduino-digital-voltmeter/

1. I assume you will trigger a volt read via ethernet shield
2. then arduino should switch on a relay
3. The arduino should be able to read the voltage from the NO pin of the relay.

The above all are my assumption, so please clarify.
Sony Arouje
http://sonyarouje.com

raschemmel

Quote
The above all are my assumption, so please clarify.
 
This is the game we like to call "20 Questions" that we often have to play with newbies who don't provide any useful information.
Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,<br />DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

sarouje

I feel it's because of not enough clarity about what they wanted to achieve or lack of framing the question well enough.
Sony Arouje
http://sonyarouje.com

Paul_KD7HB

Hello.

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.

Paul

raschemmel

Quote
You went to an awful lot of work to measure 0-30 volts. A simple two resistor voltage divider will work.
30V/25 k ohms = 1.2 mA
Arduino UNOs, Pro-Minis, ATMega328, ATtiny85, LCDs, MCP4162, keypads,<br />DS18B20s,74c922,nRF24L01, RS232, SD card, RC fixed wing, quadcopter

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy