The Cookie Counter

Introduction: The Cookie Counter

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!

Supplies

Step 1: Solder Your NodeMCU to Your Breadboard Based on the Picture

Step 2: Then Log Into Adafruit.io. Under Feeds, Make a New Feed Called “Cookie Counter”.

Step 3: From There, Log Into IFTT and Make an Applet.

Step 4: Under “If This”, Choose the “Motion Detected” Option and Follow the Steps to Completion

Step 5: From There, Select the “Then That” Button and Select ‘Email and Follow the Steps to Completion.

Step 6: Test to See If the Motion Sensor Works.

Step 7: Once the Adafruit IO and IFTT Work Are Synced, Connect Your NodeMCU to the Internet Via Your Arduino Software.

Step 8: Download the Arduino Code

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.

Step 15: Eat

Be the First to Share

    Recommendations

    • Paint Challenge

      Paint Challenge
    • Made with Math Contest

      Made with Math Contest
    • Tiny Things Speed Challenge

      Tiny Things Speed Challenge

    Comments

    0
    GeekyFayeArt
    GeekyFayeArt

    11 months ago

    Oh my gosh, this is brilliant! Who DOESN'T need cookie jar projection?! And data is the perfect side to go with a cookie in my humble opinion. Great work! :)