Re: [beagleboard] BeagleBone Black won't boot after wiring up LED strip w MOSFETs and separate 12V power supply

2015-03-06 Thread greg
Can you explain how that happened? 

When I measured the gate pin on the FETs, it was only 200mV.

How would this fry the board, and what exactly would it fry on the Bone? 

On Friday, March 6, 2015 at 5:48:00 PM UTC-8, Wulf Man wrote:
>
>  what you have done is fry the boards by not connecting the ground.
>
>
>
>
> On 3/6/2015 6:24 PM, gr...@sensa.io  wrote:
>  
> Sure, thanks a lot for the continued help.  
>
>  Here are the FETs that I used, which are N-Channel and can switch 
> 30V/60A: https://www.adafruit.com/products/355
>
>  Here is the wiring I followed (diagram about half way down; first one 
> that doesn't have the 100-220ohm resistors): 
> https://learn.adafruit.com/rgb-led-strips/usage
> Except I connected the voltage wire on the LED strip to a separate 12V 
> supply, and did not ground the circuit to the Beaglebone GND as you can see 
> in the picture I posted on the Adafruit forum. They say at the bottom there 
> in regards to connecting to separate 12V supply, "Make sure to connect 
> the ground of that supply to the ground of the Arduino/MOSFETs!", but in 
> the forum post, they implied it wouldn't burn out the board if I didn't do 
> this. 
>
>  Here is the schematic of the LED strip: 
> https://learn.adafruit.com/rgb-led-strips/schematic
>
>
>  
>
> On Friday, March 6, 2015 at 5:10:59 PM UTC-8, William Pretty Security 
> wrote: 
>>
>>  First of all, the output level from the GPIO is about 3.3V and MOSFETs 
>> are voltage controlled devices.
>>
>> So you will need a transistor to boost the voltage to 12 volts.
>>
>>  
>>
>> Second: Do you have an actual schematic?
>>
>>  
>>
>> Third: Are you using P or N Channel MOSFET’s ? 
>>
>> Because high current versions like the ones you are using have a built in 
>> body diode …
>>
>>  
>>
>> Get back to us with more info, Ok
>>
>>  
>>
>> "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
>>
>>  
>>
>>  
>>  
>> *From:* beagl...@googlegroups.com [mailto:beagl...@googlegroups.com] *On 
>> Behalf Of *gr...@sensa.io
>> *Sent:* Friday, March 06, 2015 1:41 AM
>> *To:* beagl...@googlegroups.com
>> *Subject:* [beagleboard] BeagleBone Black won't boot after wiring up LED 
>> strip w MOSFETs and separate 12V power supply
>>  
>>  
>>  
>> I wired up a circuit with an LED strip, 3 N-channel MOSFETs, and a 
>> separate 12V power supply, with the gate pins on the MOSFETS connected to 
>> I/O pins on the Beaglebone.
>>  
>>  
>>  
>> When I didn't connect the circuit to the Bone ground, I apparently fried 
>> 2 boards. Neither will boot up. One gives a flicker on the power light and 
>> then goes off, and on the other the power light turns on, but the other 
>> LEDs don't flash and I can't get into either board.
>>  
>>  
>>  
>> Here is the thread on the Adafruit forum with a photo of the circuit: 
>> http://forums.adafruit.com/viewtopic.php?f=8&t=69691&p=353330&sid=eff0f5bd69bba9338e6f0ec2d7fa70c4#p353330
>>  
>> *The Adafruit support said that setup should not have hurt the board. *
>>  
>>  
>>  
>> I checked the voltage on the gate pin on each MOSFET that was connected 
>> to the Bone and it was nominal (~200mA).
>>  
>>  
>>  
>> Does anyone have any ideas on this? How could this have fried 2 boards? 
>>  
>>
>> Thanks for any help.
>>  
>>  
>>  
>> And PS I posted this earlier today but didn't see it show up in the 
>> forum. Sorry if it needed to be approved and you are getting a duplicate. 
>>  
>> -- 
>> 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.
>>  --
>>
>> No virus found in this message.
>> Checked by AVG - www.avg.com
>> Version: 2015.0.5646 / Virus Database: 4299/9212 - Release Date: 03/02/15
>>  
>   -- 
> 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.
>
>
> 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BeagleBone Black won't boot after wiring up LED strip w MOSFETs and separate 12V power supply

2015-03-06 Thread evilwulfie
what you have done is fry the boards by not connecting the ground.




On 3/6/2015 6:24 PM, g...@sensa.io wrote:
> Sure, thanks a lot for the continued help. 
>
> Here are the FETs that I used, which are N-Channel and can switch
> 30V/60A: https://www.adafruit.com/products/355
>
> Here is the wiring I followed (diagram about half way down; first one
> that doesn't have the 100-220ohm
> resistors): https://learn.adafruit.com/rgb-led-strips/usage
> Except I connected the voltage wire on the LED strip to a separate 12V
> supply, and did not ground the circuit to the Beaglebone GND as you
> can see in the picture I posted on the Adafruit forum. They say at the
> bottom there in regards to connecting to separate 12V supply, "Make
> sure to connect the ground of that supply to the ground of the
> Arduino/MOSFETs!", but in the forum post, they implied it wouldn't
> burn out the board if I didn't do this. 
>
> Here is the schematic of the LED
> strip: https://learn.adafruit.com/rgb-led-strips/schematic
>
>
>
>
> On Friday, March 6, 2015 at 5:10:59 PM UTC-8, William Pretty Security
> wrote:
>
> First of all, the output level from the GPIO is about 3.3V and
> MOSFETs are voltage controlled devices.
>
> So you will need a transistor to boost the voltage to 12 volts.
>
>  
>
> Second: Do you have an actual schematic?
>
>  
>
> Third: Are you using P or N Channel MOSFET’s ?
>
> Because high current versions like the ones you are using have a
> built in body diode …
>
>  
>
> Get back to us with more info, Ok
>
>  
>
> "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://www.packtpub.com/building-a-home-security-system-with-beaglebone/book>
>
> http://ca.linkedin.com/pub/bill-pretty/2b/b07/602
> <http://ca.linkedin.com/pub/bill-pretty/2b/b07/602>
>
>  
>
>  
>
> *From:*beagl...@googlegroups.com 
> [mailto:beagl...@googlegroups.com ] *On Behalf Of
> *gr...@sensa.io 
> *Sent:* Friday, March 06, 2015 1:41 AM
> *To:* beagl...@googlegroups.com 
> *Subject:* [beagleboard] BeagleBone Black won't boot after wiring
> up LED strip w MOSFETs and separate 12V power supply
>
>  
>
> I wired up a circuit with an LED strip, 3 N-channel MOSFETs, and a
> separate 12V power supply, with the gate pins on the MOSFETS
> connected to I/O pins on the Beaglebone.
>
>  
>
> When I didn't connect the circuit to the Bone ground, I apparently
> fried 2 boards. Neither will boot up. One gives a flicker on the
> power light and then goes off, and on the other the power light
> turns on, but the other LEDs don't flash and I can't get into
> either board.
>
>  
>
> Here is the thread on the Adafruit forum with a photo of the
> circuit:
> 
> http://forums.adafruit.com/viewtopic.php?f=8&t=69691&p=353330&sid=eff0f5bd69bba9338e6f0ec2d7fa70c4#p353330
> 
> <http://forums.adafruit.com/viewtopic.php?f=8&t=69691&p=353330&sid=eff0f5bd69bba9338e6f0ec2d7fa70c4#p353330>
>
> *The Adafruit support said that setup should not have hurt the
> board. *
>
>  
>
> I checked the voltage on the gate pin on each MOSFET that was
> connected to the Bone and it was nominal (~200mA).
>
>  
>
> Does anyone have any ideas on this? How could this have fried 2
> boards? 
>
>
> Thanks for any help.
>
>  
>
> And PS I posted this earlier today but didn't see it show up in
> the forum. Sorry if it needed to be approved and you are getting a
> duplicate. 
>
> -- 
> 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
> <https://groups.google.com/d/optout>.
>
> 
>
> No virus found in this message.
> Checked by AVG - www.avg.com <http://www.avg.com>
> Version: 2015.0.5646 / Virus

Re: [beagleboard] BeagleBone Black won't boot after wiring up LED strip w MOSFETs and separate 12V power supply

2015-03-06 Thread greg
Sure, thanks a lot for the continued help. 

Here are the FETs that I used, which are N-Channel and can switch 
30V/60A: https://www.adafruit.com/products/355

Here is the wiring I followed (diagram about half way down; first one that 
doesn't have the 100-220ohm 
resistors): https://learn.adafruit.com/rgb-led-strips/usage
Except I connected the voltage wire on the LED strip to a separate 12V 
supply, and did not ground the circuit to the Beaglebone GND as you can see 
in the picture I posted on the Adafruit forum. They say at the bottom there 
in regards to connecting to separate 12V supply, "Make sure to connect the 
ground of that supply to the ground of the Arduino/MOSFETs!", but in the 
forum post, they implied it wouldn't burn out the board if I didn't do 
this. 

Here is the schematic of the LED 
strip: https://learn.adafruit.com/rgb-led-strips/schematic




On Friday, March 6, 2015 at 5:10:59 PM UTC-8, William Pretty Security wrote:
>
> First of all, the output level from the GPIO is about 3.3V and MOSFETs are 
> voltage controlled devices.
>
> So you will need a transistor to boost the voltage to 12 volts.
>
>  
>
> Second: Do you have an actual schematic?
>
>  
>
> Third: Are you using P or N Channel MOSFET’s ? 
>
> Because high current versions like the ones you are using have a built in 
> body diode …
>
>  
>
> Get back to us with more info, Ok
>
>  
>
> "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
>
>  
>
>  
>
> *From:* beagl...@googlegroups.com  [mailto:
> beagl...@googlegroups.com ] *On Behalf Of *gr...@sensa.io 
> 
> *Sent:* Friday, March 06, 2015 1:41 AM
> *To:* beagl...@googlegroups.com 
> *Subject:* [beagleboard] BeagleBone Black won't boot after wiring up LED 
> strip w MOSFETs and separate 12V power supply
>
>  
>
> I wired up a circuit with an LED strip, 3 N-channel MOSFETs, and a 
> separate 12V power supply, with the gate pins on the MOSFETS connected to 
> I/O pins on the Beaglebone.
>
>  
>
> When I didn't connect the circuit to the Bone ground, I apparently fried 2 
> boards. Neither will boot up. One gives a flicker on the power light and 
> then goes off, and on the other the power light turns on, but the other 
> LEDs don't flash and I can't get into either board.
>
>  
>
> Here is the thread on the Adafruit forum with a photo of the circuit: 
> http://forums.adafruit.com/viewtopic.php?f=8&t=69691&p=353330&sid=eff0f5bd69bba9338e6f0ec2d7fa70c4#p353330
>
> *The Adafruit support said that setup should not have hurt the board. *
>
>  
>
> I checked the voltage on the gate pin on each MOSFET that was connected to 
> the Bone and it was nominal (~200mA).
>
>  
>
> Does anyone have any ideas on this? How could this have fried 2 boards? 
>
>
> Thanks for any help.
>
>  
>
> And PS I posted this earlier today but didn't see it show up in the forum. 
> Sorry if it needed to be approved and you are getting a duplicate. 
>
> -- 
> 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.
> --
>
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2015.0.5646 / Virus Database: 4299/9212 - Release Date: 03/02/15
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [beagleboard] BeagleBone Black won't boot after wiring up LED strip w MOSFETs and separate 12V power supply

2015-03-06 Thread William Pretty Security
First of all, the output level from the GPIO is about 3.3V and MOSFETs are 
voltage controlled devices.

So you will need a transistor to boost the voltage to 12 volts.

 

Second: Do you have an actual schematic?

 

Third: Are you using P or N Channel MOSFET’s ? 

Because high current versions like the ones you are using have a built in body 
diode …

 

Get back to us with more info, Ok

 

"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

 

 

From: beagleboard@googlegroups.com [mailto:beagleboard@googlegroups.com] On 
Behalf Of g...@sensa.io
Sent: Friday, March 06, 2015 1:41 AM
To: beagleboard@googlegroups.com
Subject: [beagleboard] BeagleBone Black won't boot after wiring up LED strip w 
MOSFETs and separate 12V power supply

 

I wired up a circuit with an LED strip, 3 N-channel MOSFETs, and a separate 12V 
power supply, with the gate pins on the MOSFETS connected to I/O pins on the 
Beaglebone.

 

When I didn't connect the circuit to the Bone ground, I apparently fried 2 
boards. Neither will boot up. One gives a flicker on the power light and then 
goes off, and on the other the power light turns on, but the other LEDs don't 
flash and I can't get into either board.

 

Here is the thread on the Adafruit forum with a photo of the circuit: 
http://forums.adafruit.com/viewtopic.php?f=8 
<http://forums.adafruit.com/viewtopic.php?f=8&t=69691&p=353330&sid=eff0f5bd69bba9338e6f0ec2d7fa70c4#p353330>
 &t=69691&p=353330&sid=eff0f5bd69bba9338e6f0ec2d7fa70c4#p353330

The Adafruit support said that setup should not have hurt the board. 

 

I checked the voltage on the gate pin on each MOSFET that was connected to the 
Bone and it was nominal (~200mA).

 

Does anyone have any ideas on this? How could this have fried 2 boards? 


Thanks for any help.

 

And PS I posted this earlier today but didn't see it show up in the forum. 
Sorry if it needed to be approved and you are getting a duplicate. 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

  _  

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

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BeagleBone Black won't boot after wiring up LED strip w MOSFETs and separate 12V power supply

2015-03-06 Thread Gregory Mueller
Right, Adafruit was aware there was no ground connection. They just said
this should not have caused the BBB to fry from voltage running through the
FET gate pins which were connected to the board.

On Friday, March 6, 2015, JS-BBB  wrote:

> If I assume that the ground on the circuit didn't have a connection to the
>> BBB ground
>>
>
> Nothing to assume :-) , there is NO ground connection between the BB and
> the bread board from what the picture shows,  just 3 wires (Red, Green,
> Blue) not 4.
>
> If Adafruit said they could not see anything wrong with the wiring I would
> be very worried about their "technical support"
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "BeagleBoard" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/beagleboard/-_CH3VS1uz4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> beagleboard+unsubscr...@googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] BeagleBone Black won't boot after wiring up LED strip w MOSFETs and separate 12V power supply

2015-03-06 Thread Harvey White
On Thu, 5 Mar 2015 22:41:16 -0800 (PST), you wrote:

>I wired up a circuit with an LED strip, 3 N-channel MOSFETs, and a separate 
>12V power supply, with the gate pins on the MOSFETS connected to I/O pins 
>on the Beaglebone.

some mosfets have protective diodes on the gate inputs.

>
>When I didn't connect the circuit to the Bone ground, I apparently fried 2 
>boards. Neither will boot up. One gives a flicker on the power light and 
>then goes off, and on the other the power light turns on, but the other 
>LEDs don't flash and I can't get into either board.

If I assume that the ground on the circuit didn't have a connection to
the BBB ground, and that the 12 volt supply was connected to the
circuit +12 and gnd, then you put floating lines on the BBB outputs,
and any leakage in the power supply to ground (or the BBB ground)
could put any voltage on the output pins of the BBB.

The gates were floating, which is why the circuit was unstable.  

BTW: these had to be enhancement mode FETs for this to work.
>
>Here is the thread on the Adafruit forum with a photo of the circuit: 
>http://forums.adafruit.com/viewtopic.php?f=8&t=69691&p=353330&sid=eff0f5bd69bba9338e6f0ec2d7fa70c4#p353330
>*The Adafruit support said that setup should not have hurt the board. *

If connected properly.  
>
>I checked the voltage on the gate pin on each MOSFET that was connected to 
>the Bone and it was nominal (~200mA).
>

Voltage is not measured in ma, do you mean 200 mv?

The meter you used loaded the circuit, and would not show the true
voltage.  It's not a matter of current into the chip, it's a matter of
voltage (period).  The voltage can cause nasty things in the chip
transistors driving the pin, and the power supply of the chip itself
then does the damage.  

>Does anyone have any ideas on this? How could this have fried 2 boards? 

A suggestion for you.  Next time, do not make single connections to
pins on the BBB (or anything else unless you're quite certain of what
you're doing).

Best to take a ribbon connector that makes connections to everything
at once, run it to a breakout board, and then hard wire your
connections to that.  A frequent problem in breadboards is wires
coming loose.  This way the ground is automatically made to the chips
on the breadboard.

Another option would be to use a darlington transistor array, such as
the ULN2803 or the ULN2003 instead of the FETS.  Again, the same
warning about grounding is in effect.  

Since you have two non-functional BBB's I'd suggest taking a meter and
checking the voltages at the various regulators on the board.  You
have a schematic, and it may be possible that you have a bad regulator
somehow.  That's better than a fried CPU.  

Harvey


>
>Thanks for any help.
>
>And PS I posted this earlier today but didn't see it show up in the forum. 
>Sorry if it needed to be approved and you are getting a duplicate. 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] BeagleBone Black won't boot after wiring up LED strip w MOSFETs and separate 12V power supply

2015-03-05 Thread greg
I wired up a circuit with an LED strip, 3 N-channel MOSFETs, and a separate 
12V power supply, with the gate pins on the MOSFETS connected to I/O pins 
on the Beaglebone.

When I didn't connect the circuit to the Bone ground, I apparently fried 2 
boards. Neither will boot up. One gives a flicker on the power light and 
then goes off, and on the other the power light turns on, but the other 
LEDs don't flash and I can't get into either board.

Here is the thread on the Adafruit forum with a photo of the circuit: 
http://forums.adafruit.com/viewtopic.php?f=8&t=69691&p=353330&sid=eff0f5bd69bba9338e6f0ec2d7fa70c4#p353330
*The Adafruit support said that setup should not have hurt the board. *

I checked the voltage on the gate pin on each MOSFET that was connected to 
the Bone and it was nominal (~200mA).

Does anyone have any ideas on this? How could this have fried 2 boards? 

Thanks for any help.

And PS I posted this earlier today but didn't see it show up in the forum. 
Sorry if it needed to be approved and you are getting a duplicate. 

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.