I am using Arduino mega 2560. I have some doubts about powering my microcontroller. Can I use the 9v battery to power my arduino through the VIN terminal? I have uploaded an image. Check whether it is a correct method or not?
The board can operate on an external supply of 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may become unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts.
The power pins are as follows:
- Vin. The input voltage to the board when it's using an external power source (as opposed to 5 volts from the USB connection or other regulated power source). You can supply voltage through this pin, or, if supplying voltage via the power jack, access it through this pin.
Vin is the same as the external positive power input.