This cookie jar tracker is meant to measure how many times you eat cookies over a given week. The data collected from opening the cookie jar will be linked to your email, so you will get a breakdown of how many times you reach for a cookie at the end of the week. Additionally, anytime the cookie jar is opened, you will be texted, so you can potentially catch people who are stealing your cookies!
Step 9: Open This Code in the Arduino and Upload the Code to Your NodeMCU.
Step 10: Put in Your Wifi Name and Password As Well As Your Adafruit Username and Key From Your Adafruit.io Account.
Step 11: Open the Serial Monitor to See If It Is Properly Connected As Shown Here:
Step 12: Once Everything Is Connected, Go Ahead and Adhere to the Beardboard and Battery Pack on the Inside of the Lid of the Cookie Jar. Make Sure the Wires That You Have Arent Too Long to Conserve Space.
Step 13: Once Everything Is Secure, Cut Out a Piece of Foamcore to Block the Electronics From the Cookies, Leaving a Cut Out for the Motion Sensor.
Step 14: Fill the Cookie Jar With As Many Cookies As You Can.