After forgetting my key multiple times in the morning, I decided to create this project to help with that. First, I decided to use a Photon2, and looked for a weight sensor online. I found a simple bar load cell that detected weight due to flex.
I first tried soldering the wires of the weight sensor (4 of them) to an ADC Module weighing sensor, which was a challenge due to how thin the wires of the weight sensor were. When that was too much of a challenge, the wires ended up being soldered to thicker, jumper wires and secured with electric tape. A pin head connector was soldered to the ADC board, allowing me to simply plug the jumper wires in. More pin head connectors were soldered on the other side, which I connected to my Photon using the ground, 5V and 2 digital pins.
Afterwards, I had to calibrate the weight sensor which I used a calibration library for. This took many tries, as this particular sensor was very inaccurate. I ended up with a value of 1980, although the sensor was extremely sensitive to temperature changes. Once the weight sensor was calibrated, I used the TimeAlarms library by Paul Stoffregen to set 12 hour timers, and used a Slack webhook to notify me at those specific times. The sensor would read if there was a weight at that specific time, and if there wasn't it would send a notification to put the key back.
Comments
Please log in or sign up to comment.