If I power it via the 9v connector tit
the battery I am using is heavy duty so no prob there....
The battery is good for 9V 100mA before the regulator does its magic. Dunno after. New battery? No use a different battery type, those 9vdc batteries are really useless for arduino projects and end up costing far more per energy consumed. A battery pack made up of 6 AA Alkaline cells is the minimum in my opinion.That's to run the board, a few leds and sensors and an LCD. The startup seems to hang on power-up but works on reset. You're just the tiny power-up surge short on oomph. Does the LCD get power and turn on right at power on?LCD power up is probably requiring more current then your 9vdc can supply momentarily, like I said they arepretty useless with arduino projects.Can you use 2 batteries in parallel to double your current current capacity? Yes, batteries in parallel will double the current capacity and mah rating, however again 9vdc are anexpensive and almost useless battery for arduino projects, save them for your smoke alarms.Lefty
I tried to power on the thing with the lcd unplugged and then plugging it back: everything worked fine.
If I power it via the 9v connector tit powers up but does not execute any code until i press the reset button. On the other hand if i plug it to the pc it gets up and running immediately and flawlessy.
I tried to power on the thing with the lcd unplugged and then plugging it back: everything worked fine. So the problem clearly is the built in regulator,
it can`t take the current surge requested by the lcd (wich is absolutely necessary in this project) on startup.
I was thinking to some sort of capacitor on the rest pin of the ardu to reset it a coople of 100/ths of seconds after initial power on but sounds a very rough solution to me
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16