This kitchen timer is simple enough, press and hold a button and it will count up it multiples of five minutes, until you release the button. Upon doing so the timer will flash, and begin counting down. This timer includes an alarm and a display, with a piercing piezo buzzer to get your attention.
The arduino, laptop, protoshield, and USB Cable excluded; I took every electrical component from an old or broken device. Try to recycle things, its easy to get hold of broken electronics for free so make the most of it! See any jumpers on this design? No, paper clips are much better - cheap as chips and more sturdy too! :)
If you have any successes, or failures, modifications, or suggestions, please post them in the comments section below! I would love to see photos of your finished project!
Remove these ads by
Signing UpStep 1: Components
An Arduino - I used the duemillanove, but you could always make one instead
Jumper Wires - I ran out of wire so used paperclips for this, but you could alway make your own
A momentary push button - I assume that you could use the one built into the protoshield!
A 10 Bar LED Bar Graph - you could just use 10 LED's for this, I found mine in a broken CD player
A Piezo-Electric Buzzer - I just desoldered this from an old Kitchen Timer with a broken chip in it, which was why I wanted to make myself an Arduino one in the first place!!
A resistor - to use any button with an Arduino a resistor is used; which gives a base voltage when the switch is open, and is bypassed when the switch is closed. I used a 10k resistor which I desoldered from a seed sowing machine.
Optional:
An Arduino Shield - I have used this, since I like experimenting with my Arduino so don't want to have to keep building my kitchen timer whenever I need to use it.
A shield mounted breadboard - this just makes the whole thing a little neater.
More Resistors - for your components so as not to blow pins on your Arduino. Although I know that this is a good idea, I don't own enough resistors and don't know how to use the pull-up ones within the Arduino, so I have done without them for the moment. This is something to bear in mind, it's not my fault if you write off your Arduino!








































Visit Our Store »
Go Pro Today »




I hope you can get it to work, if not just give me another comment and I will see what I can manage, I may re-upload the code and try publishing it to my arduino again!! :)
Sorry that I can't be more useful, I hope you can get it working!
A
http://www.instructables.com/id/Arduino-7-segment-countdown-timer/#step1
I was aware of this, but I haven't got enough resistors and don't know how to use the pull-up ones built into the Arduino. I quote (myself):
"More Resistors - for your components so as not to blow pins on your Arduino. Although I know that this is a good idea, I don't own enough resistors and don't know how to use the pull-up ones within the Arduino, so I have done without them for the moment. This is something to bear in mind, it's not my fault if you write off your Arduino!"
I will learn how to use the pull-up ones, add it to my code, and recommend that people use them!
Thanks for the advice, and the link was very informative!!
Thats not really my area I'm afraid, I assume that it would be similar with maybe a little changing of pins. It's quite a large sketch for the 8 (but definitely not enormous).
Give it a go, and tell me how it goes!
Thanks for your instructable. Unfortunately, I can't seem to download the Arduino sketch. It says Kitchen_Timer.pde on here, but when I download it, it is converted to .tmp with a garbage filename. Do you know of a way to convert back to .pde or do you have an alternate way which I could download the sketch? Mediafire is saying that the file is no longer available.
Thanks!
I thought that Instructables did something strange to .pde files! To change the file type just right click the file (it should look something like A94NDIWJD12NVLQ.tmp) and select rename. Then remove the .tmp from the end and add .pde. If you do this in one move rather than pressing enter in between you will be able to change the file type. Then just double click the file, and it will open in the Arduino application. It may also say that it requires the sketch to be in its own folder, but this is fine.
I hope this helps,
anonymouse197
I tried your method for changing the file type, and unfortunately it didn't work. That method has worked in other instances, though, so I never know when it will work and when it won't.
What I ended up doing was opening the .tmp file in Microsoft Word. The formatting looked a little strange, but when I copied it into the Arduino app, everything was in order.
The sketch seems to work pretty well! My only complaint is that sometimes a light other than the first one will light up when setting the timer, leaving the first few off. This restricts the full amount of time which can be set, because it will only add time until the last light is lit. A simple reset fixes this, though.
Thanks again!
It seemed to work well when I tried, so goodness knows why that didn't work for you, but it doesn't seem to have been a problem. To try and work out what might be happening with the odd LED issue I converted the .tmp file to microsoft word, then copied it into arduino and had a similar issue!
To try and combat this I have re-uploaded the .pde file to a file hosting site so that you can download it straight away and try and get rid of your LED problem. So here is the file for downloading, and I hope you can get it to work effectively.
Thanks,
anonymouse197
The download worked fine, but I still found that the first light to go on was not always the first light in the display. I made some modifications to your code here, and they seem to work. Feel free to post the modified version on here if you like the changes I've made. Anything of yours that I changed, I simply commented out, and I also made comments explaining what I had done. Let me know if you have any questions about my changes.
Also, I changed the time increment to 3 seconds rather than 5 minutes for testing purposes. I hope this isn't too much of an inconvenience!
Thanks for giving me a good place to start with your code!
- pkasavan
I'm glad the download worked for you, and thank you so much for posting your edit! I have run it myself and it works like a charm! If you don't mind I will replace the link on the instructable with the one you provided, as in my opinion it seems to be the better of the two.
I'm glad that this instructable has worked and turned out successful, and thank you so much for getting involved!
An absolute pleasure!
anonymouse197
You should be able to follow the image on step 2 for guidance. On chrome the yellow selectable boxes are all in the wrong place, but apart from that it works well. For example, looking at that image I can tell that the resistor goes between the ground and one leg of the pushbutton, the other leg of which goes to pin 2.
If you don't have an Arduino you could always buy one, or make one if you are feeling adventurous, but I wouldn't know how to code the chip on its own.
Did any of that help?
http://www.adafruit.com/products/68 but I wasn't able to figure out to attach the protoshield, so I bought a breadboard to do the prototyping.
I myself am only using a protoshield here for simplicity, the image in step 2 actually just shows a small breadboard mounted straight onto the top of an Arduino, so all the wires in the sketch are simply jumpers. To cut a long story short, you can just forget that there is a protoshield at all, and wire it up as shown in the picture, and it will all work anyway!
If, however, you have a breadboard that is slightly too large to put on top of the arduino, you could place the breadboard to the side and make all the connections slightly longer. This wouldn't be a very practical way to do it, as there would be wires all over the place, but it would still work. It is not a pretty solution, but I have attached an image of one way of building it with a larger breadboard.
This would make the timer almost impossible to actually use in the kitchen, with wires all over the place, but it would do for the time being until you could get hold of a protoshield. (If you are struggling to assemble the protoshield I will draw you attention to this document which contains detailed assembly instructions.)
So, I hope some of this has helped, and you have lots of jumper cables (or paper clips) to hand!