still trying to drive a relay with the Propeller...
gio_rome
Posts: 48
Hi,
I'm operating with this:
http://www.abra-electronics.com/products/MR009%252d001.1-Relay-Module.html (+5V relay)
Now, thing is that the above relay _does_ work with the Propeller _without_any_ modifications. Just by plugging in an output pin to the IN relay breakout pin (which has been grounded and powered with +5 VDC). This works even if the Propeller output pin provides +3.3/3.3VDC. (why? don't know...)
This relay breakout is just perfect for me, although not so easy to find (last time I had to wait weeks for the delivery). So I'd want to do without...learn how to do without.
My constraints are:
+3-3.2V dC to pilot the relay, coming from an output pin from the Propeller chip.
+220 AC, some 5-10A of current / 1000-2000 VA to handle
+monostable relay, so I don't have to check its status....
Why did the above relay work? Was is underdimensioned to work at 5VDC, so that it ended up working even with 3.2VDC? don't know.
I've found something like this (+3V, 10A monostable relay) http://uk.rs-online.com/web/p/non-la...312D3335333326
Sadly it won't be available till november...anyway since I'm here I'd want to check if I understood the wiring...
I connect 6 to propeller out pin, 1 to GND. 3 and 4 are COM and NO...
Can you tell me if I understood right? Also the price seems so low...50 pieces is like 3£ or 4....
---
The initial question stays: what kind of part can I use for my purpose (switch ac mains currents, drive with the Propeller)?
It has also come to my attention (suggested by groggory in another thread like this) this Solid State Relay:
http://www.dx.com/p/ssr-25da-25a-sol...y-white-134494
While it is affordable, seems easy to use, and perfect for the job (or is it?), it's...a little big.
I want to check more if there are alternatives.
Are there any? Suggestions?
tnx in advance for all the support, I owe you big time :-)
G.
I'm operating with this:
http://www.abra-electronics.com/products/MR009%252d001.1-Relay-Module.html (+5V relay)
Now, thing is that the above relay _does_ work with the Propeller _without_any_ modifications. Just by plugging in an output pin to the IN relay breakout pin (which has been grounded and powered with +5 VDC). This works even if the Propeller output pin provides +3.3/3.3VDC. (why? don't know...)
This relay breakout is just perfect for me, although not so easy to find (last time I had to wait weeks for the delivery). So I'd want to do without...learn how to do without.
My constraints are:
+3-3.2V dC to pilot the relay, coming from an output pin from the Propeller chip.
+220 AC, some 5-10A of current / 1000-2000 VA to handle
+monostable relay, so I don't have to check its status....
Why did the above relay work? Was is underdimensioned to work at 5VDC, so that it ended up working even with 3.2VDC? don't know.
I've found something like this (+3V, 10A monostable relay) http://uk.rs-online.com/web/p/non-la...312D3335333326
Sadly it won't be available till november...anyway since I'm here I'd want to check if I understood the wiring...
I connect 6 to propeller out pin, 1 to GND. 3 and 4 are COM and NO...
Can you tell me if I understood right? Also the price seems so low...50 pieces is like 3£ or 4....
---
The initial question stays: what kind of part can I use for my purpose (switch ac mains currents, drive with the Propeller)?
It has also come to my attention (suggested by groggory in another thread like this) this Solid State Relay:
http://www.dx.com/p/ssr-25da-25a-sol...y-white-134494
While it is affordable, seems easy to use, and perfect for the job (or is it?), it's...a little big.
I want to check more if there are alternatives.
Are there any? Suggestions?
tnx in advance for all the support, I owe you big time :-)
G.
Comments
.
I say it works, but I don't know why.
I say I want to do without it, and therefore figure out a way to handle another kind of relay, a +5V relay (+3V relays switch too low currents). Then you suggest to use a transistor to switch the +5V driving the relay / its ground.
Rigth?
G.
thank you for pointing out the lack of current issue. I hadn't thinked about that.
I see your schematics and I recognized it, although I don't understand very well the reason for that "vertical" grounded resistor between the other one and the Base.
Also I had thinked about this configuration already and came out with values like 390 Ohm for the "horizontal" resistor and 2N2222 for the transistor and 1N4002 for the diode (I checked other similar schematics on the web). Would you agree on that?
(also, not to stress the propeller, I use the relay in commond-normally closed configuration)
thank you
g.
The SSR style relays are great because they are optically isolated and you can drive them direct - cannot recall if a series resistor is required - you arejust driving a led.
The board powers from 5V, which you have done, but it does not need 5.00V @ the IN pin before it turns on.
There is some logic threshold, (volts in and current in) where the relay will close, and another threshold where it will release.
Connect a variable voltage supply to the IN pin, (with 5V to power) and you can measure those two thresholds.
(they will be < 3.3V)
If you read the part values, you can also estimate those values.
with some search on youtube I found this tutorial https://www.youtube.com/watch?v=8DMZSxS-xVc
After watching the first 5 minutes I got the impression that the explanations are easy to u nderstand even for beginners
best regards
Stefan