| View previous topic :: View next topic |
| Author |
Message |
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
|
|
Posted: Thu Dec 14, 2006 9:24 am |
|
|
Are you somehow back feeding voltage from the serial cable into your project?
Is it running off the voltage stored in a filter cap?
Brownout fuse says that if the voltage dips((brownout)) then stop the program.
If you remove power from mains, the voltage doesn't dip, its gone. Try to figure out where it is coming from. You really want to understand everything about your first circuits,.. they can become a base for other projects.
If its getting power from the serial cable, remove the pin that feeds this power in.
Last edited by treitmey on Wed Mar 28, 2007 10:07 am; edited 2 times in total |
|
 |
BOB_SANTANA
Joined: 16 Oct 2006 Posts: 110 Location: HOVE, EAST SUSSEX
|
|
Posted: Thu Dec 14, 2006 10:28 am |
|
|
Thanks Treitmey
I have already done the check and found out that it was the leakage
from the mains power supply unit
i removed the brownout and replace the PSU and all is ok
Thanks Again _________________ BOB_Santana  |
|
 |
Guest
|
|
Posted: Sat Dec 16, 2006 6:35 am |
|
|
Just to burst into this conversation
How do you speed the timmer2 way up ?
Donn0 |
|
 |
BOB_SANTANA
Joined: 16 Oct 2006 Posts: 110 Location: HOVE, EAST SUSSEX
|
|
Posted: Sat Dec 16, 2006 8:56 am |
|
|
Hi Donn0
Not quite sure as my application seems to work ok so i didn't need to
adjust that.
i just set the IDLE to 2.5 and i get a very good response _________________ BOB_Santana  |
|
 |
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Sat Dec 16, 2006 12:11 pm |
|
|
By changing this line:
| Code: | setup_timer_2(T2_DIV_BY_16, 254,16);
|
Look up in the help file or manual for what each parameter is/does. |
|
 |
|