LoginSignup
5
2

More than 5 years have passed since last update.

NodeMCU Amica

Last updated at Posted at 2018-02-22

IMG_7316.jpg

http://arduino.esp8266.com/stable/package_esp8266com_index.json

Boards manager link:

add Boards
Kobito.KydXuU.png

Lチカ

/*
 ESP8266 Blink by Simon Peter
 Blink the blue LED on the ESP-01 module
 This example code is in the public domain

 The blue LED on the ESP-01 module is connected to GPIO1 
 (which is also the TXD pin; so we cannot use Serial.print() at the same time)

 Note that this sketch uses LED_BUILTIN to find the pin with the internal LED
*/

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);     // Initialize the LED_BUILTIN pin as an output
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, LOW);   // Turn the LED on (Note that LOW is the voltage level
                                    // but actually the LED is on; this is because 
                                    // it is active low on the ESP-01)
  delay(3000);                      // Wait for a second
  digitalWrite(LED_BUILTIN, HIGH);  // Turn the LED off by making the voltage HIGH
  delay(2000);                      // Wait for two seconds (to demonstrate the active low LED)
}

IMG_7316.jpg

IMG_7317.jpg

error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

FLAHボタンを押しながらリセットで書き込みモードに入る
それでもダメならFLASHボタンおしっぱなし

参考

Arduino IDE に Stable ( Staging )版 ESP8266 ボードをインストールする方法 | mgo-tec電子工作

Comparison of ESP8266 NodeMCU development boards • my2cents

esp8266-nodemcu-dev-kit-v1-pins.png

NodeMCUを使ってみる

Espressif ESP8266 Arduino互換でスケッチが使える ESP-12Eモジュール基板 (Espressif ESP8266 ESP-12-E NodeMCU V1 ESP12 CP2102)

5
2
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2