Tech Note 005 - ESP8266 Webserver and Code

preview_player
Показать описание
An ESP8266 - a WEMOS D1 Mini has been programmed to act as a Web Server. Three Wemos shields are used a MicroSD, DHT11 temperature and humidity sensor and a relay. The web server can control via an HTML Web Page the LED and relay and display files on the SD Card together with displaying temperature and humidity.

Рекомендации по теме
Комментарии
Автор

Yes agreed and I do in the next video along, but what I was trying to demonstrate was a self-contained server that did not need to use an external resource for images. It is much easier to use external sources.

GEJD
Автор

Thank you for the video project very interesting but then all of your videos are very good at 380 lines of code it amazes me how you have so much knowledge to design such a project, as this a stand-alone server like this is the way to go with no external web service is very good I have been trying Tasmota that works ok until power down then on power up it stops working so I think this is so much better

MrBobWareham
Автор

Thank you for the video, it's very helpful

jellykomblog
Автор

Hi G6EJD
Many thanks for bringing the D1 to my attention it looks really good for developing projects. Would it be possible to have a copy of your ESP code. I have had a look at your web site but could not see a link to it.
Best wishes
Arthur

asiw
Автор

Hi

Tnx for your video explenation.

I looked at the code on your Github page.
I think I understand it all butt...
How does ''server.handleClient(); "
Start the index.htm on the SD card?

With "server.on()" you start a void.
With "//server.on("/", [] {}, handle_root); " you could start a start screen but you comment it out.

Please help

Gr Ernst

airbrushernst
Автор

having issues with the compile mainly Arduino: 1.6.13 (Windows 7), Board: "WeMos D1 R2 & mini, 80 MHz, 921600, 4M (3M SPIFFS)"

sketch\Sd2Card.cpp: In member function 'uint8_t Sd2Card::init(uint8_t, uint8_t, int8_t, int8_t, int8_t)':

Sd2Card.cpp:302: error: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment

clkport =

^

Sd2Card.cpp:304: error: cannot convert 'volatile uint32_t* {aka volatile unsigned int*}' to 'volatile uint8_t* {aka volatile unsigned char*}' in assignment

mosiport =

^

sonsofknowing
Автор

Your sound quality is poor it sounds as if you have a motor running and the volume is low but I did like the video was most interesting with the stack thanks

MrBobWareham