![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) | |
|
Quote:
Thanks, Mike |
||
|
|
|
|
|
(permalink) | |
|
Quote:
__________________
"There is no way to peace, peace is the way!" |
||
|
|
|
|
|
(permalink) | ||
|
Quote:
|
|||
|
|
|
|
|
(permalink) |
|
The diode is necessary only if you want on time = off time i.e. 50% duty cycle or less (<50%). Otherwise it works without it also.
For caluclations of above circuit: T_on = 0.693 * R1 * C T_off = 0.693 * R2 * C and for circuit wihtout diode: T_on = 0.693 * (R1+R2) * C T_off = 0.693 * R2 * C For your requirement, duty cycle is less than 50% (on time is less than off time). Therefore you have to use the above circuit with diode. The other will not work. Assume any value of capacitor say 100uF for your case and then calculate values of R1 and R2. 1 second = 0.693 * R1 * 100E-6 Therefore, R1 = 14.43 k Now, 8 seconds = 0.693 * R2 * 100E-6 Therefore R2 = 115.44 k Enjoy!
__________________
"There is no way to peace, peace is the way!" |
|
|
|
|
|
|
(permalink) |
|
hi Mike,
Believe me, you'd get a lot more satisfaction by doing this the more discrete way rather then resorting to a micro. Microcontrollers can be tedious to learn and hard to get the parts for it to program and the support components (crystal, caps). But if you feel that you have the time, money, and initiative to it, go for it! If I were you, I would take the suggestion about using a low and high frequency oscillators with two binary counters. This would give you several frequencys to play with without the cost of making several oscillators. Steve |
|
|
|
|