Hi,
I've got a Mega2560 on a custom PCB. I've used Mr Nic Gammons Boot Loader and programmed the board, A-OK. I've made several versions of these over the last couple of years and now have a strange problem with some of my latest ones....
Analog input A13 on some of the boards has circa 2v on it, even when nothing is connected.
I have two schottky diodes going to zero and 5v, just in case the signal is ever on when the board is off, so initially I thought these must be faulty. But even with these depopulated, I still get 2v on the analog pin - with nothing else connected.
I thought maybe it's an induced voltage, but when I connect a voltage source to the pin and vary it, at zero or 5v, it acts as expected, but in the middle region, it sort of clings to the 2 - 3 v mark, as if the strange voltage is in fact there.
Any ideas what to check next please?