Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: How to overcome brownout spikes (AT90S2313)

2007-09-11 by kernels_nz

Hi, Nice project. A whole bunch of your trouble is probably coming
from using the 90S2313, I remember using those quite a few years ago
now and they were very susceptible to power supply problems. I would
definitely recommend using a newer chip like the Tiny26 or Tiny2313.
But if you have to persist with the 90s2313, try the following things:

FILTER THE POWER SUPPLY - Series inductor or resistor into a 100n cap
on all the vcc pins. 

OPTO COUPLE SIGNALS - use optocouplers on all input AND output signals.

RESET CIRCUIT - Use a 4k7 pullup and 100N capacitor on the reset line
and bypass the 4k7 with a reverse biased diode. 

Use a fast regulator to generate VCC, you may find in an automotive
application a decent switchmode regulator will work better than a bog
standard old 7805

Also use shielded cable for any runs longer than 30cm (10 inches)or so.

Hope this helps !!!
Cheers
Hein B
Auckland, New Zealand


--- In AVR-Chat@yahoogroups.com, "max.motor" <imeelmax@...> wrote:
>
> 
> Hi All,
> 
> 
> 
> Could you help me on this one?
> 
> 
> 
> The AT90S2313 seems to be very picky about it's power supply.
> 
> Flicking an electrical load on or off randomly put the ACU into reset.
> 
> I've tried to separate all ins & outs, double buffered the PSU, used
> some of those ferrite chokes.
> 
> 
> 
> But... still no result...
> 
> 
> 
> Recently I bought a Honda CBF600 tophalf.
> 
> All well accept for the headlight wiring.
> 
> Honda's policy is to turn on the lights although the engine
> isn't running.
> 
> So the onboard battery, just a 6Ah, has to coop with 75W lights &
> another 35W for the ignition, without being charged. The battery has to
> be in very good shape getting the engine started after a pre-load
> "shock" of 9Amp's.
> 
> 
> 
>   [B-)] So I took an AT90S2313, wired it's inputs by opt couplers to
> the dynamo and high beam switch and used some N-MosFET's  to
> power-up the 2 60W headlight bulbs.
> 
> 
> 
>   [:((] And so a reset does mean: NO LIGHT at all!  [:((]
> 
> 
> 
> The program has to follow a few rules:
> 
> 1 – As soon as the engine is running, wait a few sec. light-up the
> high-beam at 30%, wait a few sec. light-up the low-beam.
> 
> 2 – Turnoff the lights as soon the starter is activated.
> 
> 3 – If the engine is turned off wait a few sec., turn-off the low
> beam wait half a min. than turn off the reduced high-beam.
> 
> 4 – Flicking the phasser or switch the high-beam, immediately juice
> up the high-beam.
> 
> 
> 
> [Non-text portions of this message have been removed]
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.