Hi,I have a circuit with an Atmega328p microcontroller, the input voltage is 5Volts, but I want, when the input voltage goes up, eg: 6, 7 or 8Volts, the microcontroller and the remaining circuit just stick with the 5.6Volts.I have a zener of 5.6Volts, connected to the 5Volts of the input, and a resistance of 1K to the mass. The circuit is attachedthe problem is that it is not working, does anyone know what the problem is, or how can I solve it?thank you.
Have a look at the "Ruggeduino". - their web site shows the protection circuits they use on inputs/outputs etc . The idea of using a voltage regulator on an input is a good one and I've seen it used before.