iCufflinks improved battery life code hacking…

Scott writes

Testing is done for now. Quick synopsis (TL;DR), don’t get rid of the resistor if you want batteries to last. I tested with the full PWM values from 1-255 and then halved them to range from 1-128 (see chart 1). I quartered them as well but ended up not using it because the half ended up disappointing.

6012048606 29B575Eb88

Chart 2 shows the average current versus the resistor value for the different PWM values.

6011680363 1C71E2599C

Lastly in Chart 3, I measured the light output of the LED. If anyone cares, using a Sekonic L-508 spot meter.

6011680541 6946D32129

What this is showing is that no matter which resistor value (or no resistor) you pick when using a lower output PWM, it will never match the light output of the full range PWM values with the existing 220 ohm resistor.

Bottom line, if you want to keep the same quality of light output, you can’t change the PWM to a lower duty cycle.

Oh man this is the best post ever. LOOK AT THOSE GRAPHS! CHECK OUT THAT DATA!


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


1 Comment

  1. Fun investigation, cool. 🙂

Sorry, the comment form is closed at this time.