I count almost 2Amp@5volt (Nano, LCD, 2relay, servo).
The 5volt regulator (on the shield) can do ~150mA max with a 7volt drop.
Need to re-thing powering the setup.
A 5volt/2Amp (tablet) supply could do, if.. you power the Nano directly on the 5volt pin (not via that DC socket on the shield).
Leo..
Hi,
Looking at the picture of your project layout, I would get the Nano assembly WELL away from the lamp and 230Vac wiring.
Put the Nano assembly in a box OUTSIDE the enclosure.
Just have the relay in the part of the box where the lamp socket is.
Have you got a mains power earth to your project, in particular to the aluminium foil insulation?
Draw a proper circuit diagram with labelled pins, components and power supply.
Use a pen(cil) and paper.
Thanks.. Tom.... ![]()
Changing the power input as suggested to a tablet charger helped a lot.. Now I can go up to 10 hours without reset but they are still happening from time to time.. Thanks for all the inputs here.. I want to put below as reference as it helped me understand the power constraint as well:
I guess there are couple of factors to my problem but power input was the biggest one..
3 things I have to do now;
1- shorten the I2C cables and seperate SDA SCL. I'll do more research on how to have more reliable I2C.
2- Will seperate the arduino from the bulp
2- Will try to draw a circuit diagram..
SOLVED - UPDATE:
The problem was the jumper cables I used(Bad quality). After my project is finished I seperated all components and started testing everything one by one with all kind of combinations.
Realized that once I changed the cables with more sturdy ones everything started working normal. Lot of people already pointed using long cables and possible noise so they were right. It just never occured to me to use different set of cables.
Thanks everyone for their support..
Actually, the worst problem was the misunderstanding that using the on-board regulator without heatsinking via "Vin" or the "barrel jack", was ever a workable way of powering the system!
Sadly the tutorials on the Arduino site and other places are grossly misleading on this matter.
The jumper cables may also have been at fault and of course, jumper cables and the impractical UNO are not the way to construct a serious project, all connections should be soldered (or by a "screwshield") and a Nano is more practical way to do this.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.