Go to Post Clearly they're releasing the game hint on 12/21/12 because they know the world's going to end, and they want to keep FIRSTers happy and distracted until the very end. - Kevin Sevcik [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2014, 22:05
Dan Oelke Dan Oelke is offline
FTC #5926 (The Things)
FRC #3023 (Stark Industries)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Otsego, MN
Posts: 19
Dan Oelke is an unknown quantity at this point
Need example for using optoisolator & FET

I am working with an FTC team and need an example circuit that I can help them get wired up to drive a string of LEDs. We can't directly connect the power so we need an optoisolator.

(see post #59 here explaining that we have to use an optoisolator
http://ftcforum.usfirst.org/showthre...r-Thread/page6 )

I am not an expert, but the optoisolators I have found can drive 10's of milliamps and the strings of LEDs I have are in the 200mA range. So I assume I'll need the optoisolator to drive a MOSFET which will controll the LEDs.

What I could really use are some example part numbers that we can order and get quickly. I know just enough to be dangerous <grin> so when I think I've found a part that might work well then I find I can't get it for 3 weeks. <sigh>

Thanks for any pointers to circuit diagrams and/or part numbers
  #2   Spotlight this post!  
Unread 09-02-2014, 23:20
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 430
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Need example for using optoisolator & FET

I would suggest looking at using a relay.
  • They don't require a lot of current to energize
  • They provide circuit isolation
  • They can source a lot of current from your supply

It seems like they suggested this as a possible option in their response.
I'm not familiar with the FTC rules myself, so I can't comment to its legality.

Relays can be sourced locally at radio shack. You probably only need a SPST relay.

It looks like the HT SuperPro has 3.3v outputs, so you wont be able to drive the relay directly. Luckily there's lots of circuits online on how to control a relay from a microcontroller. Like this. One modification to the circuit on that page though - I would suggest adding a diode across the relay coil as shown here.

This page will help you pick your R values.

Common diodes 1N4004, 1N4001
Common NPN transistor 2N3904
This relay should work if you're switching 5volts to the LEDs.
This one if you're switching 9volts to the LEDs.
__________________
http://team2168.org

Last edited by otherguy : 09-02-2014 at 23:57.
  #3   Spotlight this post!  
Unread 10-02-2014, 10:01
Dan Oelke Dan Oelke is offline
FTC #5926 (The Things)
FRC #3023 (Stark Industries)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Otsego, MN
Posts: 19
Dan Oelke is an unknown quantity at this point
Re: Need example for using optoisolator & FET

The rules on FTC are much more limiting. We have to use a prototype board for things that aren't part of the standard control system. And that board has limited power it can source.

I don't think a relay will work, because I have only about 12mA @ 12V (or 20mA @ 5V) that I can use to drive the coil. I can get some mini relays that are in that range, but then I can drive only 1 at a time and we would like to do several.
  #4   Spotlight this post!  
Unread 10-02-2014, 10:21
zbrozek zbrozek is offline
Registered User
None #1700
 
Join Date: Jan 2014
Location: Sunnyvale, CA
Posts: 19
zbrozek will become famous soon enough
Re: Need example for using optoisolator & FET

I'd use an integrated device, something like this.

Just add an LED current-limiting resistor to the input. Assuming you're driving with 5v, a 750 ohm resistor should be about right.

-Sasha
  #5   Spotlight this post!  
Unread 10-02-2014, 11:39
Dan Oelke Dan Oelke is offline
FTC #5926 (The Things)
FRC #3023 (Stark Industries)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Otsego, MN
Posts: 19
Dan Oelke is an unknown quantity at this point
Re: Need example for using optoisolator & FET

Thank you - that is exactly the kind of pointer I needed. I had seen some Solid-State Relays but they were awfully big.

I just ordered 10 of them (want to use 8 plus a couple to screw up with. :-) )
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi