Comments on: Build an All-in-One ESP32 Weather Station Shield https://randomnerdtutorials.com/build-an-all-in-one-esp32-weather-station-shield/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Wed, 11 Oct 2023 15:27:15 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Uwe https://randomnerdtutorials.com/build-an-all-in-one-esp32-weather-station-shield/#comment-865150 Wed, 11 Oct 2023 15:27:15 +0000 http://randomnerdtutorials.com/?p=51833#comment-865150 In reply to Catarino.

Hallo Catarino,
… how about if you let us share and publish the code …
greeting
Uwe

]]>
By: Steve https://randomnerdtutorials.com/build-an-all-in-one-esp32-weather-station-shield/#comment-834549 Sat, 13 May 2023 09:41:52 +0000 http://randomnerdtutorials.com/?p=51833#comment-834549 In reply to Sara Santos.

Hi thanks for the reply,
I shall follow and read the about SPIFFS, But I did find a way of doing it.

I’ve removed this part:
/*
webFile = SD.open(“/index.html”);
if (webFile) {
while(webFile.available()) {
// send web page to client
client.write(webFile.read());
}
webFile.close();
}
}
*/
and replaced it with this:
client.write(index_html);// client.write(webFile.read());//”/Index2.html”

Then added a file called Index.h and then added
const char index_html[] PROGMEM = R”rawliteral(
rawliteral”;
And placed the html code in between the brakcets.
Not sure if its the best way to do it but it seems to work ok.
Kind regards,
Steve

]]>
By: Sara Santos https://randomnerdtutorials.com/build-an-all-in-one-esp32-weather-station-shield/#comment-834474 Fri, 12 May 2023 20:52:05 +0000 http://randomnerdtutorials.com/?p=51833#comment-834474 In reply to Steve.

Hi.
Yes.
You can save all the files on the ESP32 filesystem (SPIFFS).
Learn about using SPIFFS in a webserver here: https://randomnerdtutorials.com/esp32-web-server-spiffs-spi-flash-file-system/
Regrds,
Sara

]]>
By: Steve https://randomnerdtutorials.com/build-an-all-in-one-esp32-weather-station-shield/#comment-834244 Wed, 10 May 2023 21:57:33 +0000 http://randomnerdtutorials.com/?p=51833#comment-834244 Hi I came across this while searching read through everything and I must say all your tutorials are very well laid out and explained in great detail , I’ve built it up and everything is working perfectly.
The question is it possible to remove the SD card and load the web page direct from the ESP32 instead of having an SD card ?
Thanks

]]>
By: Matt https://randomnerdtutorials.com/build-an-all-in-one-esp32-weather-station-shield/#comment-814648 Wed, 01 Feb 2023 19:50:55 +0000 http://randomnerdtutorials.com/?p=51833#comment-814648 I just wanted to go with an sth31 via the I2C connection. Do I need pull up resistors?
My sht31 basically gives back errors 9 out of 10 times.

]]>
By: Sara Santos https://randomnerdtutorials.com/build-an-all-in-one-esp32-weather-station-shield/#comment-794171 Tue, 25 Oct 2022 16:25:42 +0000 http://randomnerdtutorials.com/?p=51833#comment-794171 In reply to tom luken.

Hi.
Double-check your connections and make sure the wires you’re using are in good condition.
Also, double-check if the MicroSD card is well inserted into the slot.
Regards,
Sara

]]>
By: tom luken https://randomnerdtutorials.com/build-an-all-in-one-esp32-weather-station-shield/#comment-793993 Mon, 24 Oct 2022 15:37:49 +0000 http://randomnerdtutorials.com/?p=51833#comment-793993 hi rui and sara
still just a beginner
try as i might, cant get past mounting the sd, everything is connected per the schematic but still get “Card Mount Failed” after uploading. any suggestions?
com4 read

ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET), boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5856
entry 0x400806a8
Card Mount Failed

thanks for any help

tom luken

]]>
By: Al https://randomnerdtutorials.com/build-an-all-in-one-esp32-weather-station-shield/#comment-726021 Mon, 14 Feb 2022 02:26:58 +0000 http://randomnerdtutorials.com/?p=51833#comment-726021 Hello, this is a great project to monitor the conditions around a solar array, I was thinking of adding a new Lightning sensor I came across. do I add it into the code as a float and then the same as the other sensors that update often, ie cl.print(“whatever”) and does it matter which GPIO its on? I know my questions are kind of vague. I guess it can be a certain number of lightning strikes to trigger an interrupt. Im seeing SparkFun has a library for the sensor and it will be data through the SPI. Im just not sure where to code it in I guess.

]]>
By: David Wreski https://randomnerdtutorials.com/build-an-all-in-one-esp32-weather-station-shield/#comment-724848 Wed, 09 Feb 2022 02:28:56 +0000 http://randomnerdtutorials.com/?p=51833#comment-724848 In reply to Paul.

Hello Paul,
I have 5 coming, you are welcome to one.
Contact me if interested.
dawreski@sccoast.net

]]>
By: Sara Santos https://randomnerdtutorials.com/build-an-all-in-one-esp32-weather-station-shield/#comment-694090 Thu, 04 Nov 2021 23:53:39 +0000 http://randomnerdtutorials.com/?p=51833#comment-694090 In reply to Daniel Cook.

Thank you so much.
I’m really glad that you find our tutorials useful.
I hope you are now fully recovered and can work on your electronics projects.
Regards,
Sara

]]>