Search code examples
embeddedmicrocontrollercountdownpic

What microcontroller (and other components) would I need to create a timer device?


As a hobby project to keep myself out of trouble, I'd like to build a little programmer timer device. It will basically accept a program which is a list of times and then count down from each time.

I'd like to use a C or Java micro controller. I have used BASIC in the past to make a little autonomous robot, so this time around I'd like something different.

What micro controller and display would you recommend? I am looking to keep it simple, so the program would be loaded into memory via computer (serial is ok, but USB would make it easier)


Solution

  • Just use a PIC like 16F84 or 16F877 for this. It is more than enough.

    As LCD use a 16 x 2 LCD. It is easy to use + will give a nice look to your project.

    LCD

    The language is not a matter. You can use PIC C, Micro C or any thing you like. The LCD's interface is really easy to drive.

    As other components you will just need the crystal and 2 capacitors as oscillator + pull up resister. The rest of the components depend on the input method that you are going to use to set the times.

    If you are using a computer to load the list then you will need additional circuit to change the protocols. Use MAX 232 to do that. If you want to use USB, you need to go ahead and use a PIC with USB support. (18F series)

    alt text
    (source: sodoityourself.com)

    This is a set of nice tutorials you can use. You can purchase the products from them as well. I purchased once from them.