This Raspberry Pi project will check an email address which gets an email for each trial and subscription to our new product, codename "Heron"
If a new subscription is found, it will then play a bird sound, spin a spirograph, flap some bird wings and flash some LEDs.
- Build Circuit
- Raspberry Pi
- Wi Fi Adapter
- ULN2803 – Darlington Driver
- 5v Unipolar Stepper Motor
- Assorted LED & Resistors
- Solderless Breadboard
- Jumper Wires
- Lego Bevel Gears for wings & spiro (Borrowed mine from my sons Cement Mixer)
- Powered Speakers Extra Points if you build this Dirt Cheap Amp
- Amazon Prime Box & creativity for the Bird
- Hot Glue Gun
- Setup Code:
- Clone this repo directly to your Pi using git-core or clone to your computer and copy over to your Pi (NAS, VSFTP, or other...?
- Modify local.py.example to local.py and add your gmail credentials & Label you want to use to trigger Chirpy
- Optional: Add crontab entry (Sample provided with instructions in the comments) to run this code at a specific interval
- Optional: Create Google Spreadhseet to run gmailMarkReadMidnight.js at midnight (See comments in .js file for instructions)
- Let 'er Rip!
- Send emails to your Account with unique Subjects that match the Label criteria you set up above for testing
- either run $ sudo python chirpy.py OR wait for the crontab to run and pick up the emails

