Tell us about yourself!

Complete Your Profile
  • gwynethh15 commented on Keso's instructable Jar of Fireflies1 week ago
    Jar of Fireflies

    A programmer friend provides this comment...begincomment....I have asuggestion for an all-software solution for your power-saving light detectornoise and calibration problem, if you haven't already found one. It's atype of moving average called "exponential smoothing". I like it because it doesn't need any storage forsamples. See https://en.wikipedia.org/wiki/Exponential_smoothingI used itwhen I was getting noisy temperature sensor readings in an Arduino-basedsmart thermostat that I built. I would suggest using an exponentialsmoother on your measured light level to filter out the noise. A largetime constant of several minutes should be acceptable for yourapplication. Then you could feed the output of that smoother into asecond smoother with a time constant of a couple ...

    see more »

    A programmer friend provides this comment...begincomment....I have asuggestion for an all-software solution for your power-saving light detectornoise and calibration problem, if you haven't already found one. It's atype of moving average called "exponential smoothing". I like it because it doesn't need any storage forsamples. See https://en.wikipedia.org/wiki/Exponential_smoothingI used itwhen I was getting noisy temperature sensor readings in an Arduino-basedsmart thermostat that I built. I would suggest using an exponentialsmoother on your measured light level to filter out the noise. A largetime constant of several minutes should be acceptable for yourapplication. Then you could feed the output of that smoother into asecond smoother with a time constant of a couple of weeks. The output ofthe second smoother is the approximate long-term average light level. Youcould use it as your power-saving light threshold. When the output of thefirst smoother goes below the output of the second smoother, turn on thefire-flies. An alternative to the second smoother is to measure theminimum and maximum of the first smoother's light level every 24 hours, andinterpolate your light threshold from them....endcomment....As I said this is from a friend, the programming is way beyond my capabilities.

    View Instructable »
  • gwynethh15 commented on Trochilidesign's instructable USB Volume knob11 months ago
    USB Volume knob

    Can you post the updated code and the wiring of the Pixel ring?

    View Instructable »