Site icon Renzo Mischianti

esp12 esp07 (esp8266): flash, pinout, specs and Arduino IDE configuration – 6

Spread the love

esp12 E: programming, specifications, Arduino IDE configuration

Here another article about esp8266, now we are going to introduce the single module, It can be used without integrated developer board, but to program we must do some wiring and get an adapter.

esp-12 and esp-07

esp-12 esp-07 Aliexpress esp-12 - Aliexpress esp-07

esp12 E pinout low resolution

esp12 E pinout hight resolution

esp07 pinout low resolution mischianti

esp07 pinout hight resolution

Specs

3D printed adapter

A good and fast solution is to print one adapeter. Exists a lot of adapter, but I think this is a good choice.

Socket for esp12 and esp07 

Socket for esp12 and esp07 with V base 

Wiring

There are some connection to do to correctly use the board, first we must power and pull up and pull down some pins.

Normal start

With this configuration you enable the single-player (PULL-UP EN), and the reset is prevented and a low GPIO0 or FLASH is prevented to prevent enisci in programming mode.

esp12 programming basic connection

Enter flash mode

Now to put in programming mode you must add 2 button, one to reset the device (put to ground RST), and one to send LOW signal to GPIO0.

So pull up RST and GPIO0 with resistor, and attach a button that put the pin to GROUND like the schema.

To enter boot mode you must:

esp12 programming module connection without serial,

Programming with FTDI (USB to Serial converter)

To program the device it is necessary to use a FTDI converter, there are various types, some that transmit and receive only, and others that also provide a supply voltage (selectable).

Here some model of FTDI USB to TTL CH340G - USB to TTL FT232RL


Now you must share Ground pin, and put RX of FTDI to TX of esp and TX to RX.

esp12 flashing module connection breadboard

Here the breadboard result.

Programming circuit on breadboard with adapter for esp12
ModeGPIO15GPIO0GPIO2
UARTLowLowHigh
Flash BootLowHighHigh

Configure IDE

esp12

In the Arduino IDE you must install esp8266 environment, refer to “WeMos D1 mini (esp8266), pinout, specs and IDE configuration“, so you need to configure the settings on the card, for ESP12 you need to set up:

esp12-E Arduino IDE configuration

esp07

For the esp07 I’m going to use this settings

esp07 programming specifications arduino IDE configuration

Upload a simple blink sketch

Now you must only:

// the setup function runs once when you press reset or power the board
void setup() {
	Serial.begin(115200);
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  Serial.println("HIGH");
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  Serial.println("LOW");
  delay(1000);                       // wait for a second
}

Here the console log

Connect to serial port COM18 at 115200
LOW
HIGH
LOW
HIGH
LOW
HIGH
LOW
HIGH
LOW
HIGH

Programming board PCB

I also share the programming board PCB, I’m going to do an article on It.

esp07 programming board pcb

esp-12 esp-07 (esp8266) programming board and breadboard adapter

Thanks

  1. WeMos D1 mini (esp8266), specs and IDE configuration
  2. WeMos D1 mini (esp8266), integrated SPIFFS Filesystem
  3. WeMos D1 mini (esp8266), debug on secondary UART
  4. WeMos D1 mini (esp8266), the three type of sleep mode to manage energy savings
  5. WeMos D1 mini (esp8266), integrated LittleFS Filesystem
  6. esp12 esp07 (esp8266): flash, pinout, specs and IDE configuration
  7. Firmware and OTA update management
    1. Firmware management
      1. esp8266: flash firmware binary (.bin) compiled and signed
      2. esp8266: flash firmware and filesystem binary (.bin) compiled with GUI tools
    2. OTA update with Arduino IDE
      1. esp8266 OTA update with Arduino IDE: filesystem, signed and password
    3. OTA update with Web Browser
      1. esp8266 OTA update with Web Browser: firmware, filesystem and authentication
      2. esp8266 OTA update with Web Browser: sign the firmware and HTTPS (SSL/TLS)
      3. esp8266 OTA update with Web Browser: custom web interface
    4. Self OTA uptate from HTTP server
      1. esp8266 self OTA update firmware from server
      2. esp8266 self OTA update firmware from server with version check
      3. esp8266 self OTA update in HTTPS (SSL/TLS) with trusted self signed certificate
    5. Non standard Firmware update
      1. esp8266 firmware and filesystem update from SD card
      2. esp8266 firmware and filesystem update with FTP client
  8. esp32 and esp8266: FAT filesystem on external SPI flash memory
  9. i2c esp8266: how to, network 5v, 3.3v, speed, and custom pins
  10. […]


Spread the love
Exit mobile version