@AndyW
I designed the new version, with the switching power supply. I hope you can look at it and critique my layout.
Other changes:
- Pull down resistors on ACT1-ACT3
- Pull up resistor on BUZZ (to 5V, pin is not 5V tolerant, but with 10k resistor).
- Input cap on ADC changed to 10n
- 10n input cap on touch screen interrupt pin (this is the trace closest to the coil)
- 6p terminal block instead of 3x2p, cheaper
And of course I had to move everything to make room.
New schematic:
PCB: