Hacker News new | ask | show | jobs
by lemevi 3860 days ago
The gpio pins have low tolerance. Apply more than the 8mA or 3.3v and you permanently damage your board. LED's usually require 20mA to achieve a good brightness so you have to create a safe circuit using a bipolar transistor and the 3.3v power pin which supplies way more current than a gpio pin. If you hook up that transistor wrong or short the circuit it's game over.

I actually think you can even damage the board if you create a short between the gpio pins and ground. So any kind of circuit requires a resistor, carefully reading the system manual and data sheets for your components and using ohm's law prior to hooking up components.

1 comments

That's good to know, thank you. I'll have to only drive the MOSFETs with it, in that case, and avoid too much experimentation.
Oh I wasn't saying not to use a bipolar transistor. In any case, both would work. Good luck!
Oh, no, I need the MOSFET anyway because of the load. I generally meant "I'll avoid unknown components/experiments with the BBB", thanks!