Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current max for GPIO pins should be more visible #8

Open
synic opened this issue Mar 11, 2014 · 2 comments
Open

Current max for GPIO pins should be more visible #8

synic opened this issue Mar 11, 2014 · 2 comments

Comments

@synic
Copy link

synic commented Mar 11, 2014

A lot of BBB users are likely coming from Arduino, where the maximum current per IO pin is 40mA, and they don't have to worry about it so much.

The BBB is 4mA to 6mA, depending on the pin, but nowhere in the hosted documentation does it mention this. It takes a bit of time to find out even if you look for it on google.

One of the hosted demos is an "external LED", and in that demo, it mentions using a resistor. The value of the resistor is not mentioned, though the one pictured is 220ohm. Depending on the forward voltage drop of the LED, you're most likely already exceeding the max current right out of the box. The user should be warned not to exceed the maximum current per IO pin.

@jadonk
Copy link
Owner

jadonk commented Mar 11, 2014

Do you have a suggestion on where to put this information as well?

BTW, thanks for the note. This will make sure it goes into the on-board and beagleboard.org documentation.

@synic
Copy link
Author

synic commented Mar 12, 2014

I think it could go in a few places - maybe a new section in the left navigation bar under Hardware called "Limitations" or "Technical Specs" or something like that. Also, it'd be nice if it was visible on the "Cape Expansion Headers" page - maybe in addition to listing what every pin is, it could also list what the limitations of each pin are.

The page I really think it needs to be on is the http://192.168.7.2/Support/BoneScript/demo_blinkled_external/ page, where using the setup pictured could put you over the current limit. I think the value of the resistor should be changed to 330ohms (or even 560ohms) and that the value of the resistor should be clearly stated, with information on why that value was chosen. As it is now, it almost implies that the value of the resistor isn't important, but going over the limit could damage the processor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants