| Thread Closed |
2 timers on/off command |
Share Thread | Thread Tools |
| Dec6-08, 11:58 AM | #1 |
|
|
2 timers on/off command
Hey!
I want to build a circuit to control a light bulb in such a way that Ill be able to choose the time that it'll be on [choosing from 5/10/15/20 min] and off [again, choosing from 5/10/15/20 min]. I would also like to have a counter showing how much time I have till it'll change from on to off or from off to on. for example, I'll have 4 7-segments display and 2 buttons. the first button will change the period of time the light will be on and every click will change the time and present it with the 7-segments. the second button will change the period of time the light will be off and every click will change the time and present it with the other 7-segments. Ill push the first button till ill see "5" and the other one till Ill see "10", then itll start work for 5 minutes, while showing me how much time left from that 5 min, and afterward will stop working for 10 min, showing the time left before operating again and so on. Any help will be greatly appreciated. |
| Dec6-08, 05:04 PM | #2 |
|
|
|
| Dec18-08, 07:14 AM | #3 |
|
|
Can you give me a specific model? |
| Dec18-08, 09:23 AM | #4 |
|
|
2 timers on/off command-4 7-segments = 4*7 -3 push buttons = 3 -Other LEDs = 1-5 So, something like 30+ I/O lines. Then you go to your favourite microcontroller manufacturer and START with your I/O pin count, choosing the one which has the peripherals and on-board memory / FLASH / EEPROM you need. If you've never worked with microcontrollers before, most microcontroller manufacturers make a 40-pin part, e.g. ATMEL ATmega32, ATmega644, Microchip 16F877A or 18F425) Unfortunately, 40-pin is the max that most manufacturers make nowadays that still come in DIP (dual in-line pin) packages. Which one should you go for? In some ways, that's like asking fans which sports team is the best. But you'll need some way of programming them. The AVRisp mkII is pretty good, and capable of programming most ATMELs (there's also a GCC-based C compiler for it). Programming PICs are a little more hit and miss, but various homebrew programmers (and semi-pro kit-based ones) exist that can program various PICs. There is a Microchip C compiler for the PIC18 (and PIC32), but they were designed from the get go to be assembler machines (as opposed to the ATMELs which were designed to be high-language machines). You can rest easy that various forums exist on the web to help you along with whatever microcontroller you go with, and whatever language you decide to program it in. Unless you go with something really obscure. |
| Thread Closed |
| Thread Tools | |
Similar Threads for: 2 timers on/off command
|
||||
| Thread | Forum | Replies | ||
| 555 & 556 timers | Electrical Engineering | 3 | ||
| 555 Timers, Button Presses and a little bit more... | Electrical Engineering | 0 | ||
| Two timers | General Discussion | 34 | ||
| Alzheimers in old timers | Biology | 4 | ||
| spark timers | Introductory Physics Homework | 5 | ||