To larryd.
Oh your Highness.
I got these now.
- I need a diode to prevent power to D2.
- In that wiring, use 5V,GND pin instead of DC jack.
because 5V is too weak to run arduino through DC jack.
So, It must be sure 5V power source.
Thank you.
Can I ask more?
If I do not cut 5V,GND when connect USB,
what hanppen?
is it dangerous? may burn arduino or relay or plug? shut down whole electricity in the house?