what is the voltage trushold for the signal for GPi/o port?
Navigates to RoboticsConnection.com Home RoboticsConnection.com HomePage
RoboticsConnection User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


««12

what is the voltage trushold for the signal... Expand / Collapse
Author
Message
Posted Tuesday, January 19, 2010 8:45 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Monday, October 31, 2011 9:18 PM
Posts: 640, Visits: 819
Signal pin.

Jason Summerour
President,
Summerour Robotics Corporation
www.roboticsconnection.com
Post #1567
Posted Wednesday, January 20, 2010 8:49 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Friday, February 12, 2010 12:20 PM
Posts: 21, Visits: 122
Thanks! So I need to connect the Signal pin and Gnd pin to the 2 ends of coil of a 5v relay, right?
Post #1571
Posted Wednesday, January 20, 2010 5:57 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Friday, April 22, 2011 6:18 PM
Posts: 153, Visits: 547
HI,
The way I read your question about hooking a relay directly to a gpio
is a " DO NOT! ".
Most relay coils draws more than 25mA ( which is the maximum ) current
a GPIO line can sink. I dont see anywhere on the Serializer that there is
any buffer between the PIC IC and the GPIO lines.
DO use at least a simple transistor circuit to buffer between the relay
and the Serializer. Common small 5vDC relays typically draw about
100mA, 4 times the rating of the GPIO signal pin.


Don Lewis
Post #1574
Posted Thursday, January 21, 2010 4:25 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Friday, February 12, 2010 12:20 PM
Posts: 21, Visits: 122
Hi Don, thanks for the advice! good that I checked it before I actually put it together, lol. Can you recommend a simple circuit? Or any other simple way that I can throw a switch carries a 6v, about 1A (4 AA batteries) load, I'm not hardware savvy at all. I would imagine relays are very common in robotics, a little surprised that Serializer don't have any direct support for relays....
Post #1580
Posted Thursday, January 21, 2010 6:18 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Friday, April 22, 2011 6:18 PM
Posts: 153, Visits: 547
Hello Hexn,
Doesn't take much.



I haven't tested it, It should work fine as shown. It is available
all over the net roughly as shown. I just cleaned it up for
presentation. You are, of course, on your own as liability goes.



Don Lewis
Post #1581
Posted Thursday, January 21, 2010 6:26 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Friday, April 22, 2011 6:18 PM
Posts: 153, Visits: 547
I should note: when gpio signal goes high (to 5vDC) transistor
turns on, pulls current through relay which energises relay.
The diode is for back emf protection for the transistor and
Serializer. If powering other than low voltage or low current
with any controller you should use optical isolation or other
means to protect the controller.
You can use the +5vDC and Gnd pins of the GPIO header
for those parts of the circuit assuming the relay is within the
power specification of the Serializer as Jason mentioned.


Don Lewis
Post #1582
Posted Friday, January 22, 2010 8:39 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: Friday, February 12, 2010 12:20 PM
Posts: 21, Visits: 122
Thanks Don. So basically I should use the Vcc pin of GPIO as the power source for the relay rather than using signal pin as a power source, instead, using sig pin to turn the transistor on and off thus turn relay on and off. Am I understanding it correctly?
Post #1589
Posted Friday, January 22, 2010 9:15 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Friday, April 22, 2011 6:18 PM
Posts: 153, Visits: 547
You got it

hexn (1/22/2010)
Thanks Don. So basically I should use the Vcc pin of GPIO as the power source for the relay rather than using signal pin as a power source, instead, using sig pin to turn the transistor on and off thus turn relay on and off. Am I understanding it correctly?


Don Lewis
Post #1590
« Prev Topic | Next Topic »

««12

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: jsummerour, ringo

Permissions Expand / Collapse

All times are GMT -8:00, Time now is 6:03am

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0.125. 7 queries. Compression Disabled.