-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Based on my observations and testing done by @Kempson
https://community.openenergymonitor.org/t/adjusting-sensitivity-of-optical-pulse-sensor/8399/21
Rather than use the internal pull-up of the atmega, it's probably better to have an external pull-down and 0.1uF capacitor-to-gnd on the interrupt/signal line of the optical sensor. This would help decrease the sensitivity of the sensor and avoid light leakage issues. Also, the cap will help with noisy environments, as it did for my "connecting to RPi project".
Finding an good enough and balanced (reducing sensitivity vs maintaining strong output) pull-down value hasn't been done rigorously yet, when I get another sensor I'll do some checking, I've used a 50k pull-down and that worked fine on the RPi project.