ESP8266 模組註記
ESP8266
- 註:
- 當 flash size 4Mb 時,規劃上使用 FS:2MB,OTA:1MB,會得到最大的 FreeSketchSpace
ESP-07
- Board:Generic ESP8266 module
- UR:115200
- CPU:80/160 MHz
- Crystal:26 MHz
- Flash:1MBytes
- Flash freq:80MHz
- EN pin 空接
ESP-07S
- Board:Generic ESP8266 module
- UR:115200
- CPU:80/160 MHz
- Crystal:26 MHz
- Flash:4MBytes
- Flash freq:80MHz
- EN pin pull-high 12K
ESP-12F
- Board:Generic ESP8266 module
- UR:115200
- CPU:80/160 MHz
- Crystal:26 MHz
- Flash:4MBytes
- Flash freq:80MHz
- EN pin 空接
ESP-12S
- Board:Generic ESP8266 module
- UR:115200
- CPU:80/160 MHz
- Crystal:26 MHz
- Flash:4MBytes
- Flash freq:80MHz
- EN pin pull-high 12K
ESP8266-unknown1
- Board:Generic ESP8266 module
- UR:115200
- CPU:80/160 MHz
- Crystal:26 MHz
- Flash:1MBytes
- Flash freq:80MHz
- 除了 RST 有 pull-high,其餘全空接
- ADC 1V


ESP-M3
- 70~80mA 工作電流。
其他註記
- 傳聞設成 160MHz 後,運行,其他常駐模組,例如 WiFi,可能會將時脈設回來 80MHz。
- 即便設成 160MHz,GPIO 的驅動仍受限於 80MHz,即,於 80MHz 下,設定 GPIO 狀態,將耗用一個時脈週期,而於 160MHz 下,將耗用兩個時脈週期,即 CPU 處於 blocked waiting 狀態。此由 nonblocking IIC 實驗中遇到;加倍 CPU 時脈,並不能使 bit-rate 加倍。
void cmp_cpu_freq(unsigned tnow=0){
// purpose: when esp initing, called once. when during runtime called with parameter to check if freq been switched back.
uint32_t a, start, end;
float f, g;
unsigned t=0;
Serial.println();
for (int i=0; i<10; i++){
if (!tnow){
if (t^=1) system_update_cpu_freq(SYS_CPU_80MHZ);
else system_update_cpu_freq(SYS_CPU_160MHZ);
}
g=10e37f;
start = micros();
for (a=0; a<100; a++){
f = g/1.31415926f; // just an MCU-intense time-waster
g = f/1.31415926f; // just an MCU-intense time-waster
}
end = micros();
printf("[%dMHz s[%u] e[%u] diff[%u] v[%f]]\r\n", (t? 80: 160), start, end, end-start, g);
delay(100);
}
}
規格簡介
以下圖表,是從商品頁上看到介紹比較詳細的。










發佈留言