We will be closed on November 25, 2021 and November 26, 2021 in observance of the Thanksgiving holiday. We will resume normal operations on November 29, 2021. Wishing you a safe and happy holiday from all your friends at SparkFun!
Receive a free SparkFun USB Thumb Drive with every order this weekend. Details.
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
August 25, 2011
about 9 years ago
Epic failure. We epoxied a fitting to the top of the sensor. This worked great for about 10 minutes. When the fixture got repositioned on the bench, the pressure on the fitting warped the top ever so slightly. Turns out the sensor is extremely sensitive to the slightest structural deformation. So either go with iklln6's suggestion of small enclosure or epoxy a fitting to the board area around the sensor as opposed to the sensor itself.
about 10 years ago
When the rain gauge switches, the switch contact mechanically bounces. A fast IRQ routine counts some of those bounces thereby giving a false reading. There are two solutions:
Hardware: check out the MC14490. It's a great chip for solving this type of problem.
Software: add a 100ms interlock to the IRQ routine. Get the current millisecond time and compare to last time IRQ was called. If less than 100ms, do nothing. If more than 100ms, update time of last IRQ and increment count.
No public wish lists :(