Author Topic: Difference between a resistor and voltage divider in these two examples  (Read 573 times)

0 Members and 1 Guest are viewing this topic.

Offline YoukaiTopic starter

  • Regular Contributor
  • *
  • Posts: 227
  • Country: us
I was watching some Youtube videos about DFPlayer Mini modules with Arduino and came across these two examples. The data pin of that module needs less than 5v to operate properly. One uses a resistor to accomplish this and the other uses a voltage divider. Links are timestamped to the appropriate point in the video.

What if any is the difference in these two approaches? Is one better than the other?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11724
  • Country: us
    • Personal site
Series resistor limits the current that  protection diodes inside the module will have to handle.

The divider is just that - a divider.

The divider is generally better. A proper level shifter is even better.
Alex
 

Offline gbaddeley

  • Regular Contributor
  • *
  • Posts: 210
  • Country: au
If the load current varies, a divider will provide better regulation. If the load current is constant (within a few %), the series resistor is just as good as a divider, and has fewer parts, with less heat dissipation.
Glenn
 

Offline YoukaiTopic starter

  • Regular Contributor
  • *
  • Posts: 227
  • Country: us
Is it safe to assume that the current supplied by an Arduino (or clone) pin is constant and the series resistor is fine here?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11724
  • Country: us
    • Personal site
It is not about supplied current. It is about consumed current.

And the calculation for the series resistor value is defined by the current handling capability of the protection diodes.

Generally go with the divider, it is much safer way to operate those devices.
Alex
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf