LED Project Microcontroller

Discussion in 'Embedded Systems and Microcontrollers' started by snikrepmada, Aug 18, 2009.

  1. snikrepmada

    Thread Starter New Member

    Aug 18, 2009
    I hope someone can help me out with my project, I am very new to microcontrollers.

    What I need:
    1. Small form is a must.
    2. I need it to run off of one or two 2032 button cell batteries (as size is a huge factor).
    3. I need to control two LED of different color.
    4. I need two press switches to control the entire thing.

    Pressing both switches at the same time turns on/off the LEDs. Pressing one switching dims one LED and brightens the other LED, by one step. Continuing to press the switch continues to dim one LED until it is off and brightens the other until it is fully on. The other switch does the same process but the LED are reversed. I hope this makes sense. I need a ten minute timer that shuts off the LEDs and when you turn it back on it returns to the same setting as when it turned off.

    It would be greatly appreciated if anyone could help me out with this project.

    **Also a are there any companies that do one off microcontroller programing that anyone knows of?
  2. rushi53


    May 8, 2009
    do u wish to implement this project using microcontroller ?
    or simply using analog circuits?
    Last edited: Aug 31, 2009
  3. John Luciani

    Active Member

    Apr 3, 2007
    The LEDs are going to consume the majority of your power. Have you calculated the
    battery life with 2032 cells? These cells are around 220mAh.

    Most uC's should work in this application. The programming is simple.
    You could look at some of the MSP430 development kits. I believe they have some
    small uC boards that can be programmed from a USB stick and then removed. After
    programming the board you would plug it in your design.

    If you can not find a small development board you are probably looking at a custom PCB which will be expensive unless you do it yourself.

    (* jcl *)