Hi to all.
I've started to create schematics for PCB board that will be plugged onto arduino mega board. All pins are set on bottom double connector to simplify pcb design and all power( for arduino board / LCD, coin machine / relay/ keypad etc.) will come from this board. Main external power source will be 12V transformer ( cca 40W, standard ).
-------------------------- When i was testing the whole project i run on one possible problem. If i power arduino board ( for now, still over USB ) system starts OK and welcome message is displayed correctly, but when i plug power for relay ( which is powered from external 12VDC power adapter *for now*),LCD start to output random characters and signs. This will not happen if i start relay power source, first.
I dont know if this will happen when the PCB is done and when you will have one mayor power source,but it could be a problem..
In end effect, i can start reley first and then arduino, but i dont know why is this happening. Relay is connected over BC547 and diode so there shouldn't be any problem.
---------------------------------------------------------------
2.)I'm using sainSmart arduino mega board. What is the optimal external power source for this board ? Can i power it with 9V or maybe 12V ?. On they web site is mentioned that there is a voltage range from 7-12V so 9V should be optimal solution ?. Any practical suggestions ?