Control 5V relay with my BeagleBone Black GPIO

620 views
Skip to first unread message

cmc...@gmail.com

unread,
Feb 9, 2015, 8:57:02 AM2/9/15
to beagl...@googlegroups.com
Hi,

I have a 5V Relay shield to control with my BBB, i know the GPIO work with 3.3V, i see an instructable that i can shunt the leds in my relay shield and it will work, it is safe for my bbb to do that? 


My relay board:


Thanks,

William Pretty Security

unread,
Feb 9, 2015, 3:57:06 PM2/9/15
to beagl...@googlegroups.com

Hi;

 

I took a look at both circuits.

There’s uses an opto-isolator, so shorting the LED should work.

 

In your case, the 1K resistor on the base will load the GPIO too much.

I used a 10K base resistor with a 100K pull down.

Basically multiply both of your values by 10 and you8 should be fine.

I would hook the LED in parallel with the relay coil.

 

Good Luck

 

Bill

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

cmc...@gmail.com

unread,
Feb 11, 2015, 3:52:37 AM2/11/15
to beagl...@googlegroups.com
Hi bill,

Thanks for your help, so i just have to replace the resistors by new ones, for Leds what is your idea to connect them to relay coil?

William Pretty Security

unread,
Feb 11, 2015, 8:56:09 AM2/11/15
to beagl...@googlegroups.com

You should be able to just the replace the resistors.

On second thought, the LED across the coil was a bad idea.

 

Maybe someone else has a suggestion on that one.

 

 

"No one could make a greater mistake than he who did nothing because he could do only a little."

"All that is necessary for the triumph of evil is that good men do nothing" Edmond Burke (1729 - 1797)

http://www.packtpub.com/building-a-home-security-system-with-beaglebone/book

http://ca.linkedin.com/pub/bill-pretty/2b/b07/602


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5646 / Virus Database: 4284/9094 - Release Date: 02/11/15

Reply all
Reply to author
Forward
0 new messages