전자기기 E.E/IoT

[IoT] NodeMCU?? ESP8266?? 보드 종류??

재미좀보자 2019. 12. 26. 14:36

 

 

NodeMCU? ESP8266?

  • NodeMCU는 ESP8266에 올라가있는 펌웨어.
  • ESP8266은 Microcontroller (SoC)로 ESP8266-01부터 ESP8266-12 등 다양하게 존재하고, 흔히 줄여서 ESP-12로 쓴다. Espressif Systems에서 제조.

ESP8266-12 보드 종류

Generation Version 'Nominal' version Microcontroller
1st 0.9 V1 ESP-12
2nd 1.0 V2 ESP-12E or ESP-12F
2nd 1.0 V3 ESP-12E or ESP-12F

0.9버전은 찾아보기 쉽지않으며 대부분 1.0인 V2와 V3가 유통되고 있음.

 

보통 V2보다 V3가 크기가 더 크며

V2는 UART chip (USB와 TTL간의 변환)을 CP2102 쓰는 반면, V3는 CH340을 쓴다고 알려짐

CP2102 is far more reliable than ch340

 

우선, 0.9 또는 V1 버전은 무조건 거르고, ESP-12E를 사용하면서 CP2102를 사용하는 모델을 찾아쓰면 될듯

 

하지만 본인은 aliexpress에서 ch340이 달린 V3를 두개 구입하여 쓰고있는데, 전혀 문제가 발생한 적이 없다.

 

 


Example

아래는 aliexpress에서 판매하고 있는 보드 중 하나. 이름에서 알 수 있듯이 V3가 표기되어있다

 

 

아래는 Amazon에서 판매중인 보드. 좀 더 V2, V3인지는 안써있지만 ESP-12를 사용하고 UART chip은 CP2102를 사용하고 있다.


처음 코드 작성 시 주의사항

일반적으로 위의 V2 또는 V3을 구입하게 될 것이고, 해당 보드에 script를 올리려고 할때 아래와 같이 두 가지 선택안이 나올 것이다. 

아래는 VSCode의 PlatformIO를 이용해 project를 만들 때 나오는 pop up창이고, Arduino IDE를 이용해도 비슷하게 두 가지 선택안이 나올 것이다.

이 때 'NodeMCU 1.0'을 선택하면 된다

 

 

 


참고자료

https://frightanic.com/iot/comparison-of-esp8266-nodemcu-development-boards/

 

Comparison of ESP8266 NodeMCU development boards • my2cents

This comparison of ESP8266 NodeMCU development boards also includes a comparison of ESP8266 chips used on those boards. The names can be confusing.

frightanic.com

https://www.letscontrolit.com/wiki/index.php/Basics:_ESP8266_Types_and_Boards#Esp-12

 

Basics: ESP8266 Types and Boards - Let's Control It

You may hear some construction noise in the background... Basics: ESP8266 Types and Boards There are a lot of different ESP types on the market. Bare chips as the ESP-12E, embedded types as the Sonoff devices and development boards as the nodeMCU or WeMos

www.letscontrolit.com

https://www.esp8266.com/wiki/doku.php?id=esp8266-module-family#modules

 

esp8266-module-family [ESP8266 Support WIKI]

Modules ESP-WROOM-02 By Espressif Systems CE of ESP-WROOM-02 FCC of ESP-WROOM-02 ESP-01 Note: Some batches of this module ship with LED Current limiting resistors of the wrong value (47Ohm vs 4.7KOhm). This usually results in the power LED vanishing in a p

www.esp8266.com