I need some advice on the layout of my board.
I'm using Atmega328P and intend to use it in industrial environments.
The purpose is to take a 30Vdc max input and step down to 5V with LM317 to power the Atmega and other IC's.
A relay will use the input voltage and if needed a series resistor, the LEDs will be driven by ULN2003. The main idea is to make a reliable system for monitoring battery packs during charge, up to 65Vdc, and based on the voltage the relay will cut the charge off. The SMD buttons will make the configuration for the relay operation.
On the next version will try to make SMPS power suply instead of LM317, first I need to test the software in use and then make changes on pcb if needed.