ESP12F | volt |
---|---|
Vcc | 3.3v |
GND | GND |
CH_PD | 3.3V |
TX | RX |
RX | TX |
GPIO0 | HISH(LOW when upload) |
Reset | HIGH(LOW when used) |
ENC28J60 | Volt |
---|---|
Vcc | 3.1V~3.6V(3.3V typical) |
GND | GND |
❗❗❗
ESP8266 use 3.3V BUT! you can use a voltage regulator ([ASM1117-3.3](http://www.advanced-monolithic.com/pdf/ds1117.pdf )) AMS1117-3.3 Vin=5V, Vout=3.3V
So you can use 5V voltage.
Type | Parameter |
---|---|
Board | Generic ESP8266 Module |
Flash Mode | QIO |
Flash Frequency | 40MHz |
CPU Frequency | 80MHz |
Flash size | 4M(1M SPIFFS) |
Debug port | disabled |
Debug Level | None |
Reset Method | ck |
Upload Speed | 115200 |
- ESP8266 by ESP8266 Community ver 2.4.2
[UIPEthernet/utility/uipethernet-conf.h]
#define UIP_SOCKET_NUMPACKETS 2
#define UIP_CONF_MAX_CONNECTIONS 2
#define UIP_CONF_UDP_CONNS 1 //reduce memory usage
#define UIP_CONNECT_TIMEOUT 5
[pubsubclient/src/PubSubClient.h]
#define MQTT_MAX_PACKET_SIZE 512
用bs170替換寫Init()- arduinojson library update to 6.10.1 version
- Pubsubclient library update from 2.6.0 to 2.7.0
- ServerIP/host : char array, global variable
- ServerPort : #define , global variable
1.make sure that memory usage and point are used carefully