007 en
007 en
0
Block coding program for Arduino platforms
Arduino WEB
ESP 8266 01
12 projects
ardublock.ru
№1 - Connecting the ESP 8266 ArduBlock 2.0
RX - 10 pin 3.3v
TX - 9 pin GND
Examination:
Connect the Arduino board to your computer.
Congratulations!
ESP is ready to go!
№2 - WIFI search ArduBlock 2.0
Reset ESP.
Network search.
Start broadcasting.
Congratulations!
We found the name of the WiFi router!
№3 - Connecting to a WIFI router ArduBlock 2.0
Login
Password
WIFI router.
header
WEB page.
WEB pages.
IP address of ESP.
Board model. Port: COM4.
WiFi connection.
If ip 0.0.0.0 ? error,
then ESP 8266 failed
connect to the router!
Reboot Arduino!
IP address of ESP.
Open web.
Download the first
empty page.
Congratulations!
We connected to the WiFi router and loaded the first Web page!
№4 - Connecting to ESP 8266 ArduBlock 2.0
WEB page.
Block to create
WEB pages.
IP address of ESP.
Board model. Port: COM4.
IP address of ESP.
Connection block.
Congratulations!
We have displayed the text on the Web page!
№6 - Web - Button ArduBlock 2.0
Connection block.
Congratulations!
We have displayed the text on the Web page!
№7 - Web - Variable value ArduBlock 2.0
W variable.
W variable.
Temp: “+String(W)+”
Congratulations!
We have displayed the temperature value on the Web page!
№8 - Web - Header ArduBlock 2.0
Kode:
<h1>ArduBlock</h1>
<h2>ArduBlock</h2>
<h3>ArduBlock</h3>
<h4>ArduBlock</h4>
<h5>ArduBlock</h5>
<h6>ArduBlock</h6>
Congratulations!
We've rendered the title on the Web page!
№9 - Web - Variable text ArduBlock 2.0
Numeric variable.
Text variable.
Reading values
from DS18B20.
Thermometer DS18B20
Result:
Congratulations!
We've rendered a text variable on a Web page!
№10 - Web - Page update ArduBlock 2.0
Numeric variable.
Text variable.
Reading values
with DS18B20.
Page update!
Congratulations!
We've set automatic updates to the Web page!
№11 - Web - Link ArduBlock 2.0
<a href=’http://ardublock.ru’>ArduBlock</a>
Congratulations!
We have created a link on the Web page!
№12 - Web - Arduino pin link ArduBlock 2.0
GND
<a href=’/i/1’>ON</a>
<a href=’/i/2’>OFF</a>
<a href=’/i/3’>ON</a>
<a href=’/i/4’>OFF</a>
<a href=’/i/5’>ON</a>
<a href=’/i/6’>OFF</a>
<a href=’/i/7’>ON</a>
<a href=’/i/8’>OFF</a>
<a href=’/i/9’>ON</a>
<a href=’/i/0’>OFF</a>