CONNECT ESP8266, DEPLOY SKETCH AND CONTROL IN EXTERNAL MODE A LED
3 ビュー (過去 30 日間)
古いコメントを表示
Good evening,
I would like to control a led wireless through Simulink and my wireless module ESP8266-01S.After that I will do more complicated projects.
I have look the pages you have provided on the site.
I want to be sure about the step I have to follow in order .
1 - DEPLOYMENT OF THE SKETCH ON ESP8266
a-Connect Power source at 3.3 V to Vcc of ESP8266 and to CH_PD
b-Connect GND to GND of esp8266
c-Connect TX of ESP8266-01 to RX of Arduino
d-Connect RX of ESP8266-01 to TX of Arduino. (in this step have I to put a voltage divider from the TX of Arduino to the RX of the ESP8266-01?)
After that I have to configure the wireless properties in Hardware Settings.
But i meet some problems...
After selecting the HArdware BOArd (in my case Arduino Uno) i fill the WIFI properties with Wifi HArdware (ESP-8266) , SSID, WPA encryption, WPA password and Hardware Serial port (in my case the only possible choice is Serial 0)
But using Port 0 in the hardware board i have the problem that i cannot select the same port in the serial transmit block (see below)

If I select a different port number I get the following error.

So I have to choose port 0...
Now theoretically I can load my sketch (See below) on the ESP8266-01 (have I to remove the ATMEL328 before this???)

After this in theory I should be able to control my ESP8266 without the arduino in external mode (only using my computer and the ESP8266 and a LED with a resistor).
The ESP8266 GPIO0 is connected to the + terminal of the led.
The problem is that in this sketch I don't specify nothing about the GPIO0 port of the ESP8266 and I don't know how to do.
I have performed the same thing with ESP8266-01, an FTDI to load the sketch and blynk app to control the led and it works perfectly.
Please help me.
Regards
R.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!