Arduino mini: setup() and loop() does not run while battery powered

Hi,

I got a problem with my arduino mini 04. When I power the board with batteries trough the +9v pin and gnd, the setup or loop does not run. It does not matter how many amps or what voltage I give it there. If I power it trough a voltage regulator to the +5v pin, it works fine.

I have a led connected to pin 13, and that blinks on startup, but nothing more. I have tried different codes to test, but no result, still a problem.

So, I think it is an hardware problem, maybe a voltage regulator on the board or something, but I really don't know yet. So I hope you guys can help me out. :slight_smile:

Regards,
The Crusher

With your 9V connected, can you put a multimeter across pins 2 & 6 on the ICSP header and measure a solid 5V?

Where is the ICSP header on the mini?

Ah, you don't have one.

Ok, when you connect 9V and Gnd, do you measure between 5V pin and Gnd and see if the onboard regulator is working?

Hi, sorry for my late reply.

When a 9V battery is connected, I mesuere 3,78V between +5V and GND pins.