ECE 4180 Final Project - Who stole the cookie?

This ECE 4180 Final Project uses all the luxuries of embedded systems - capacitive touch sensors, bluetooth modules, solenoids, and weight sensors - to make sure your favorite sweet treats are kept safe and sound from prying hands.

Enter in your special code on the key pad, then approve access on your smart phone, to unlock our high-tech cookie safe. Your cookie jar will notify you if someone tries to take your cookies, and will even tell you how many cookies you've eaten. Gone are the days of cookie theft and biscuit burglary!

Contributors:

  • Lauren Alexander
  • Sydney Gathe
  • Joel Mussel

Block diagram and PinOut

There's four main components - the Keypad, the Solenoids, the Bluetooth Module, and Weight Sensor. They are connected as follows. Please take note of the wikipages for each component (see "components") for clarifications of pull ups and downs.

/media/uploads/lalexander37/blockdiagram2.png

/media/uploads/lalexander37/pinout.png

Components

Wiki Pages on the components used in this project are listed below

Code

https://os.mbed.com/users/lalexander37/code/WhoStoleTheCookieFinal/

Comments on Use and Cookie Jar Mount

The code as it stands prints user prompts and sensor readings to the Com Port - We used TeraTerm as our interface. However, all inputs come from embedded devices, there's no input from a computer.

Our team used a circular plastic cookie car with an inch-high lid to mount most of the embedded system onto. We drilled large holes into the lid of the cookie jar, wide enough to fit the end of the solenoid into the lid. We then fastened the solenoids onto the exterior part of the cookie jar, so that when the solenoid opened, there was a small amount of clearance between the lid and the contracted solenoid to lift the lid off.

We mounted a platform underneath the cookie jar so that we could slide our mbed underneath it, and hide some of the wires. It also provided a flatter surface to hold the weight sensor under. This part, however, isn't totally necessary for the function of the cookie jar, it just meant everything was in one place. You do need to ensure the weight sensor is under a flat surface to more accurately sense the weight.


Please log in to post comments.