Day four: Mail Flag for my email
Ok, this is getting ridiculous. I’m going to have to find some easier projects lest I run out of energy. Anyway, tonight’s project is a physical flag that attaches to my computer and goes up when I have new mail. First, I found biff, which is an extension to Thunderbird that proves a socket interface to poll for new mail status. Then, I wrote a little Python application to continuously poll the status and update the flag as necessary. Since I already had one written and didn’t feel like looking into any libraries, I used a C program to turn pins on the parallel port on and off to trigger the hardware. In a final bit of ridiculousness, I actually used some 555 timers to make an H-bridge to control the motor (don’t try that at home). The code is available here. Check out the video for a demonstration of the system in action.


Last 5 posts by cibomahto
- Day Twenty-Nine: Photos, Thanks! - March 1st, 2008
- Day Twenty-Eight: Photo Wall - February 28th, 2008
- Day Twenty-Seven: Remote Trigger for Powershot S3 - February 28th, 2008
- Day Twenty-Six: Automatic Marshmallow Gun - February 27th, 2008
- Day Twenty-Five: Automatic Marshmallow Gun - February 26th, 2008
Oh wow, that’s fantastic. I’m very impressed.
hahahaha awesome
Thanks!
This is amazing. It’s like something you’d see on ThinkGeek.