Hi everyone ,
i use ATMEGA 328P in a car
the details ==>>
i use :16MHz Crystal ,
power the circuit with 7805 with 0.33 and 0.1uf connected to Car battery,
VCC connected with 0.1uf and AVCC too, AREF connected with 0.1uf to GND
i use Analogue and Digital pins,
the board contain LCD,7Segments,Bar graph, Shift registers.
The problem ::
the ciruit works well, but if i switched the light or started the engine , ATMEGA going carzy (the lcd give me uknown characters , 7 Segment ,and bar graph too).
because the car is a noisy enviroment (Alternator,lights ,horn,etc..).
How can i cancel the noise.
How can i use ATMEGA in noisy enviroment (Cars).