HOW TO - Alarm clock of the short now

ClockA beginner's PIC project, the Maker writes "I am unemployed at the moment, but I'm very busy. I tend to work late nights and wander over to bed when I run completely out of steam. The problem is that this happens at a different time every day. I end up being too lazy and stupid to re-set the alarm clock, so I don't bother. I oversleep. Recently I realized that I need a special alarm clock that instead of going off at a particular time goes off after a set duration. Like an egg timer, but grand!. So, I made one, and I realized that it would be a great beginner's project. It includes a very basic C program and a simple PIC schematic." Thanks Zantor! Link.

Recent Entries

Comments

Oldest comments listed first.

Posted by: MattNuzum on November 4, 2005 at 7:14 PM

Beautifully simple. Brilliant work. Something seems wrong with the file download link, btw.


Posted by: zantor on November 4, 2005 at 7:32 PM

whoops! I forgot to upload them to the right place! Thanks for pointing that out. It's fixed now.
the direct link to the source and schematic is:

http://www.walrus.com/~raphael/clock_short_now/files/


and thanks for the good words!
-raphael


Posted by: abbtech on November 6, 2005 at 8:54 AM

I like the idea, A pressure sensor in the bed to turn it on would be an enhancement to the project! For your on/off switch you might want to remove the connection to ground. Every time you turn it off you are shorting out your 100uF cap. It isn't a huge cap and may never cause a problem but still isn't a good idea.


Posted by: zantor on November 7, 2005 at 4:47 PM

thanks abbtech! And thanks for bringing up that point. There is a reason for shorting the cap out when the device is turned off: the power draw is so low on this circuit (when not driving the motor) that the capacitor takes hours or even days to get drained enough to allow the pic's internal reset circuit to work properly. Without a proper reset, the clock thinks it is still the end of the 8 hour span.

so, why not use a smaller cap? I would havem but the motor draws so much current when it first goes on that there is a risk of resetting the system. So, I opted for a slightly odd power switch in order to make a much more reliable alarm clock. There might be a way to fix this in software, but you know the whole thing is kind of crazy anyway...


SAFETY:
I know it might seem strange to short out a cap, but it's really only dangerous with much higher voltages or with capacitors with extremely low internal resistance. 100uF charged up to 5 volts just isn't anywhere near that. The capacitors in a recently operational television on the other hand can kill you, or melt a chink into a small screwdriver. But that's a whole different ball o' wax.


Leave a comment


Subscribe to MAKE!Subscribe to MAKE Magazine!

Subscribe today, save 42% and get web access to MAKE free. MAKE Digital Edition is available only to subscribers.

$34.95 / 1 year
(4 Quarterly Issues)

Subscribe now


Void your warranty, violate a user agreement, fry a circuit, blow a fuse, poke an eye out. Make: The risk-takers, the doers, the makers of things... Welcome to Make: Online!


CRAFT Maker Shed Maker Faire MAKE television
Holiday Gift Guides from MAKE
Gifts for Dads
Science and Chemistry
Gifts Under $20
More guides: Santa Claus Machines, Geek Toys for Grown Up Girls & Boys


Check out all of the episodes of Make: television

Alex Rider Dream Gadget Contest
Make: Science Room

Connect with MAKE

Be a MAKE fan on Facebook MAKE on Facebook
Visit our Facebook page and become a fan of MAKE!
MAKE on Twitter MAKE on Twitter
Follow our MAKE tweets!
MAKE Flickr Pool MAKE on Flickr
Join our MAKE Flickr Pool!
    make_tips on Twitter




    Maker SHED

    Advertise here with FM.

    Why advertise on MAKE?
    Read what folks are saying about us!

    Click here to advertise on MAKE!



    Subscribe to MAKE Magazine!

    Make: Online authors!

    Gareth BranwynGareth Branwyn
    Senior Editor


    Phillip TorronePhillip Torrone
    Senior Editor
    | AIM | Twitter


    Becky SternBecky Stern
    Associate Editor
    | AIM | Twitter


    Marc de VinckMarc de Vinck
    Contributing Writer
    | AIM | Twitter


    John ParkJohn Park
    Contributing Writer
    | Twitter


    Sean RaganSean Ragan
    Contributing Writer
    | Twitter


    Matt MetsMatt Mets
    Contributing Writer
    | AIM | Twitter


    Dale DoughertyDale Dougherty
    Editor & Publisher
    | Twitter


    Shawn ConnallyShawn Connally
    Managing Editor
    | Twitter


    Goli MohammadiGoli Mohammadi
    Associate Managing Editor

    Kip KayKip Kay
    Weekend Projects
    | AIM | Twitter


    Collin CunninghamCollin Cunningham
    Contributing Writer
    | AIM | Twitter

    Adam FlahertyAdam Flaherty
    Contributing Writer
    | AIM | Twitter



    More contributors: Mark Frauenfelder (Editor-in-Chief, MAKE magazine), Kipp Bradford (Technical Consultant/Writer), Chris Connors (Education), Diana Eng (Guest Author), Peter Horvath (Intern), Brian Jepson (O'Reilly Media), Robert Bruce Thompson (Science Room)

    Suggest a Site!

    Current Podcast

    itunesdl.gif Weekend Project: Beetlebot Simple robot from your parts bin that avoids obstacles. Thanks go to Jerome Demers for the original article in MAKE, Volume 12. To download the Beetlebot video, click here or subscribe in iTunes. Check out the complete Beetlebot article... More...

    Get the Make: Online sent via email
    Enter your email to receive Make: Online each day:



    MAKE Fascination video series brought to you by Dow

    Make: Education
    MAKE: en EspaƱol MAKE: Japan
    Important please read


    Subscribe to MAKE Magazine!

    Recent Posts from the Craft: Blog