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.
-
Recent Posts
Follow Me:
Recent Comments
Archives
- August 2012
- August 2011
- July 2011
- May 2011
- April 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
Now we need an ATM machine to print the money when we make a sale on Ebay
Wow. I love what you do with your time, even if some of your projects are just done for the hell of it. I learned about Makezine from a daily e-mailing I receive (idealbite)–and that’s how I found my way to your site. Thanks for the refreshing online break (from the mind-numbing blog). –E.
Thanks!
how can i build this with led in motor position and without the motor???
@thanosgen: Well, I would really suggest using something like this instead of messing with the parallel port.