Can I safely connect my Arduino to my PC using the USB port at the same time the Arduino is connected to an external power power source? Will it destroy my Arduino ?
Basically I need to plug it into my PC USB port while its being powered from an external source. I need to run my Arduino and HC 12 off power supply and at the same time I need to use the serial monitor screen to send and receive Text typed.
I am following the following tutorial by Mark Huges: "Understanding and Implementing the HC-12 Wireless Transceiver Module"
https://www.allaboutcircuits.com/pr...enting-the-hc-12-wireless-transceiver-module/
Before I connect the circuit to the PC I want to clear the following doubts. As indicated by Mark, to connect to external 5 V (Do not power over USB.), I am using 9V/4AA batteries fed to 1117 5V module to give 5V regulated supply to Arduino and the HC 12. I'll also be connecting a 1N4007 between the 5V and the Vcc of the HC 12 and a 1000uf capacitor between Vcc and Gnd.
My doubt is as I'll be connecting the USB cable from PC to Arduino for Send Receive sketch (Serial Monitor to type),
1) Do I need to connect the Gnd of the battery and Gnd of Arduino to the Gnd of the USB port for common ground (indicated in Green Color ???? in the image)?
2) Do I need to connect 5V output from the regulator to the "Power Jack" of Arduino or do I need to connect to Vin and Gnd (Indicated in Pink Color ???)
Thanks Laram