ESP8266 ESP-12F 230V/5-12V 1Ch 10A USB Wifi Relæ Module har en indgangs spænding på 230V eller 5-12V, og bliver kontrolleret af ESP8266 ESP-12F chippen.
Tekniske detaljer:
Model: LC-Relay-ESP12-1R-MV
Work Voltage:AC90-250V/DC7-12V/USB5V
WIFI IC: ESP8266 ESP-12F
Communication Protocol:UART
Load voltatge:AC 250V or DC 30V(Max)
Load current:10A(Max)
Work Temperature:-25℃~85℃
Work Humidity:5%~95%RH
Size:80*50*19mm
Support both AC and DC Input
Built-in 4M Byte Flash
UART Communication Protocol
Installere ESP package (Arduino IDE)
- Åben Arduino IDE (Download her)
- Klik “Fil/Egenskaber”
- Indtast dette link i feltet “Additionel Board Manager URL’s”
- Link “http://arduino.esp8266.com/stable/package_esp8266com_index.json“
- Klik OK
- Åben “Værktøj/Board/Boards manager” (Lad programmet opdatere)
- Find “ESP8266” og installere
- Klik derefter “Værktøj/Board” og find (NodeMCU 0.9 (ESP-12 Module))
- “Værktøj/Programmer” skal være “AVR ISP”
- Du er nu klar til at sende en kode
Program Upload: (Arduino IDE)
Da dette modul ikke har en USB interface, skal der bruges en “TTL Serial Adapter Module” som sender programmet over i chippen. Du kan købe den her:
GPIO Pinout port introduce:
NO. | Name | Function | NO. | Name | Function |
1 | GND | Power ground | 13 | IO10 | GPIO10 |
2 | Relay | Relay drive port , using IO5 drive by default. If need use other I/O drive relay, please remove R14, then use the I/O connected to this relay pin. | 14 | MISO | Slave output master input |
3 | IO2 | GPIO2; UART1_TXD | 15 | IO13 | GPIO13; HSPI_MOSI; UART0_CTS |
4 | IO4 | GPIO4 | 16 | IO14 | GPIO14; HSPI_CLK |
5 | RX | UART0_RXD; GPIO3 | 17 | ADC | A/D Conversion result. Input voltage range 0~1V, ranging from 0 to 1024 |
6 | 3V3 | 3.3V power | 18 | 3V3 | 3.3V power |
7 | SCLK | CLOCK | 19 | MOSI | Master output Slave input |
8 | IO15 | GPIO15; MTDO; HSPICS; UART0_RTS | 20 | IO9 | GPIO9 |
9 | IO0 | GPIO0 | 21 | CS0 | chip select |
10 | IO5 | GPIO5 | 22 | IO12 | GPIO12; HSPI_MISO |
11 | TX | UART0_TXD; GPIO1 | 23 | IO16 | GPIO16 |
12 | 5V | 5V power | 24 | GND | Power ground |
Inden koden kan uploades skal IO0 forbindes til GND imens koden uploades.
Relay output:
NC: normally closed end, the relay is short circuited with com before closing and suspended after closing.
COM: public end.
No: normal opened end, the relay is suspended before closing, and it is short circuited with com after closing.
Kontakt os
Du er altid velkommen til at kontakte os på info@ardustore.dk, eller sende os en besked via messenger (Klik her) og vi vil hjælpe dig.
Anmeldelser
Der er endnu ikke nogle anmeldelser.