아두이노 vin 9v - adu-ino vin 9v

I'm experiencing an issue with an Arduino Mega 2560 : I powered the board through the Vin using a +24 --> 9V voltage regulator. When I power the board and measure the 5V output from the board, the voltage quickly drops from 5 to ~3V within seconds.

However, while powering with USB, the 5V output from the board gives us a clear 4.8V.

I have checked the 9V Voltage regulator (connected to the Vin), and it has a +24V input which remains stable (as should the 9V).

Any thoughts ?

asked Sep 12, 2016 at 11:34

8

So, according to the comments the main problem should be a thermal protection in LM7809C regulator.

The voltage drop between regulator's input and output is about 15 Volts and even with current consumption about 150mA it means 2.25W of power dissipation on it.

For such a big difference between input and output voltage switching regulator is recommended. (Or 9V power supply instead of 24V)

And it is not possible to have 2mA current consumption. I've just measured power consumption of bare Arduino Mega 2560 and it is 81mA through barrel jack input (9V) without anything on it. Not even blinking Led. So if you've measured for example 0.2A it's not 2mA but 200mA

answered Sep 12, 2016 at 14:39

아두이노 vin 9v - adu-ino vin 9v

KIIVKIIV

4,1921 gold badge11 silver badges21 bronze badges

5

Asked 5 years, 6 months ago

Viewed 15k times

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?

아두이노 vin 9v - adu-ino vin 9v
I have uploaded an image. Check whether it is a correct method or not?

asked May 18, 2017 at 13:08

1

Yes!

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.

https://www.arduino.cc/en/Main/ArduinoBoardMega2560

Vin is the same as the external positive power input.

answered May 18, 2017 at 13:37

아두이노 vin 9v - adu-ino vin 9v

sa_leinadsa_leinad

3,0971 gold badge20 silver badges49 bronze badges

7

아두이노(Arduino)는 자체적인 충전지(빠데리)나 전원이 없기 때문에 외부 전원을 공급해야 합니다. 오늘은 아두이노에 전원을 공급하는 방법을 알아보겠습니다. 

저는 표준 모델이라 인식되고 있는 아두이노 우노 R3 (Arduino UNO R3) 제품을 구입하였기 때문에 UNO R3 기준으로 포스팅하였습니다. 구입하고 처음 켜보는 거라 두근두근했어요~ ㅎㅎ


Arduino(아두이노)ّ의 전원을 연결하는 방법은 USB Port, DC barrel jack, Vin pin으로 크게 3가지가 있습니다.

아두이노 vin 9v - adu-ino vin 9v
USB 케이블
아두이노 vin 9v - adu-ino vin 9v
DC barrel jack 전원 어댑터

① USB 포트 (Port)

USB Port는 컴퓨터와 USB 케이블(표준형 USB B Type 케이블)로 연결하는 방법으로 컴퓨터로부터 전원(5V)을 공급받습니다. 또한 USB Port를 통해 컴퓨터와 통신을 하기 때문에 Arduino에 코딩한 프로그램을 전송하는데 반드시 필요합니다. USB 타입의타입의 5V 출력 스마트폰 충전기나 보조배터리를 USB Port와 연결해도 USB 케이블을 통해 전원 공급을 할 수 있습니다. 이때 충전기 어댑터나 보조배터리의 출력이 반드시 5V 인지 확인하셔야 합니다.

아두이노 vin 9v - adu-ino vin 9v
USB Port에 USB 케이블로 연결

② DC 배럴잭 (barrel jack)

두번째 방법으로 DC 배럴잭을 통해 전원을 공급하는 방법입니다. 컴퓨터와 연결하지 않고 아두이노 보드에 전원을 공급하는 용도로 DC 배럴잭(사이즈: 5.5x2,1mm)을 사용합니다. 아두이노는 외부로부터 6~20V 범위로 전원을 받을 수 있는데 일반적으로 7~12V로 공급되는 게 좋습니다. 7~12V 전원이 공급되더라도 레귤레이터를 통해 5V로 변환되어 아두이노 보드에 공급되기 때문에 걱정하지 않으셔도 됩니다. 대부분 우리나라 전원은 AC 220V이기 때문에 AC-DC 어댑터가 필요합니다. 어댑터의 정격 용량은 1A 이상의 DC 9V제품을 사용하는 것을 추천합니다(7V 미만은 보드 불안정, 12V이상은 레귤레이터 손상 가능하기 때문에...)

AC-DC 어댑터 사용 시 주의사항으로 어댑터 극성을 꼭 확인해야 합니다. 그림과 같이 Positive polarity를 사용해야 합니다. Negative polarity를 사용하시면 아두이노 보드가 타거나 고장 날 수 있습니다. DC barrel jack으로 건전지를 연결하여 전원을 공급할 수도 있습니다.

아두이노 vin 9v - adu-ino vin 9v
DC barrel jack에 전원 어댑터로 연결
아두이노 vin 9v - adu-ino vin 9v
아두이노 vin 9v - adu-ino vin 9v
아두이노 vin 9v - adu-ino vin 9v
아두이노 vin 9v - adu-ino vin 9v
건전지 사용 예시 (사진 출처 : bbangpan.tistory.com/52)

③ Vin 핀(pin) 

세 번째 방법으로 Vin pin을 통한 방법으로 보드의 VinGND에 점퍼선을 사용 Vin에 '+'전원을, GND에 '-'전원을 연결하여 외부 전원을 공급할 수 있습니다. Vin pin을 사용하면 레귤레이터를 통하지 않기 때문에 원하는 전원만큼 아두이노 보드에 전원을 공급하게 됩니다. 전원을 원하는 대로 공급 가능하지만 그만큼 과전압을 사용하지 않게 주의하셔야 합니다. 또한 배럴잭과 동시에 사용하지 않아야 합니다. 부주의시 역전압이 발생하여 폭발이나 화재의 위험이 있습니다.

아두이노 vin 9v - adu-ino vin 9v
Vin pin을 통한 Power 연결

여기까지 아두이노(Arduino)에 전원을 공급하는 방법을 알아보았습니다. 이제 전원이 들어오긴 했는데 어떻게 작동을 해야 할까요?? ^^ 기본적으로 아두이노 보드는 프로그램을 통해 제어되는데 '스케치(Sketch)'라는 통합개발환경(Integrated Development Environment, IDE) 소프트웨어를 통해서 프로그램을 코딩하고 보드로 업로드하는 일을 수행합니다. 스케치는 아두이노 홈페이지에서 무료로 제공되고 있기 때문에 추가적인 비용은 들지 않습니다. 

그럼 다음 포스팅에는 스케치를 설치하고 아두이노를 처음 동작을 하는 방법에 대해 알아보겠습니다.