Code Monkey home page Code Monkey logo

Comments (6)

carneeki avatar carneeki commented on June 6, 2024

from grbl_mpg_dro_boosterpack.

Overlights avatar Overlights commented on June 6, 2024

Hi Adam,
Exactly.
12 mA would be an absolutely reasonable value, while 5 mA, a bit low.
Having to choose a conservative standard value (for pre-soldered SMD resistors), it would be the one for an average LED current of 10 - 15 mA, for the lowest Vf value (red LED, approximately 1.8V).
So:
(5 - 1.8) / 0.010 = 320 ohms
(5 - 1.8) / 0.015 = 213 ohms
Or as you were saying, 270 ohms, for 12 mA.
All LEDs with higher Vf will have a proportionally lower brightness.

from grbl_mpg_dro_boosterpack.

carneeki avatar carneeki commented on June 6, 2024

from grbl_mpg_dro_boosterpack.

Overlights avatar Overlights commented on June 6, 2024

No Adam,
I'm not going to change the default value of the SMD LED resistors, just make sure it was correct.
I guess Terje can clarify this.

As written above, I modified the layout of the Board with a double SMD - THT pad, for all the LED resistors.
The SMD resistors will all have the same value, suitable for the worst condition described above (for example, 220 ohm, for a red LED with a Vf of 1.8V for approximately 15 mA, or 270 ohm for approximately 12 mA)
But anyone will be able to implement LEDs of other colors, therefore with a specific Vf, replacing the default SMD resistor with a 1/4W THT resistor of the most suitable value.

from grbl_mpg_dro_boosterpack.

terjeio avatar terjeio commented on June 6, 2024

Not easy this as modern LEDs seems to vary quite a bit in brightness depending on the color and perhaps the manufacturer as well?. E.g. a test board I made with SMD LEDs uses resistors ranging from 680E to 4K7. So having the option of adding a second resistor is IMO a good idea.

from grbl_mpg_dro_boosterpack.

Overlights avatar Overlights commented on June 6, 2024

Thank you Terje,
I mainly wanted to make sure that the calculation for the LED resistors was correct, so that I could choose a standard value for all SMD resistors.
As described above, I would use 270 ohm, a suitable value for a standard Red LED (3 or 5 mm.). So a Vf of around 1.8V for 12 mA.
LEDs with different characteristics can still be implemented, using the second THT Pad for custom resistors.

from grbl_mpg_dro_boosterpack.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.