![]() |
データシートサーチシステム |
|
WRL-13287 データシート(PDF) 6 Page - SparkFun Electronics |
|
|
WRL-13287 データシート(HTML) 6 Page - SparkFun Electronics |
6 / 15 page ![]() As an example exercise, here are a series of commands you might type to connect a WiFi access point and get your IP address: > AT+CWOMDE=1 OK > AT+CWJAP="MySSID","MyPSK" WIFI CONNECTED WIFI GOT IP OK > AT+CIFSR +CIFSR:STAIP,"192.168.0.101" +CIFSR:STAMAC,"18:fe:34:9d:b7:d9" Custom GPIO Commands We’ve taken Espressif’s AT command firmware and added a few additional functions which give you control over the ESP8266’s unused digital GPIO. In all, there are 9 GPIO to be digitally controlled: 0, 2, 4, 5, 12, 13, 14, 15, and 16 (XPD). The custom commands allow you to set a pin to input or output (or input with pullup resistor), digitally write high or low, or read the pin’s state: Function Command Example Notes Pin Mode AT+PINMODE=<pin>,<mode> AT+PINMODE=5,o Mode: • o : OUTPUT • i : INPUT • p : INPUT_PULLUP Digital Write AT+PINWRITE=<pin>,<state> AT+PINWRITE=5,h State: • h : HIGH • l : LOW Digital Read AT+PINREAD=<pin> AT+PINREAD=0 Response: 0 or 1 for LOW or HIGH. Hardware Assembly Before you can use the ESP8266 Shield, you’ll need to solder a few headers in so it can interface with your Arduino. Stackable headers are always a good option for shields, especially if you plan on stacking more shields or plugging in jumper wires. You can also opt for the more form-factor-friendly male headers, if stacking isn’t as important to you. Page 6 of 15 |
同様の部品番号 - WRL-13287 |
|
同様の説明 - WRL-13287 |
|
|
リンク URL |
プライバシーポリシー |
ALLDATASHEET.JP |
ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | リンク交換 | メーカーリスト All Rights Reserved©Alldatasheet.com |
Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
Family Site : ic2ic.com |
icmetro.com |