Comments on: ESP32 Weather Station Interface PCB Shield (Temperature, Humidity, Pressure, Date and Time) https://randomnerdtutorials.com/esp32-weather-station-pcb/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 02 Jul 2024 09:35:44 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/esp32-weather-station-pcb/#comment-933226 Tue, 02 Jul 2024 09:35:44 +0000 https://randomnerdtutorials.com/?p=100518#comment-933226 In reply to Zo.

Hi.
In our program we’re also using that address.
If yours is different you can change it in this line
if(!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) {

If you’re not sure about the address of your display, you can run an I2C scanner sketch: https://randomnerdtutorials.com/esp32-i2c-scanner-arduino/

If you’re struggling with using multiple I2C devices simultaneously, you can take a look at our I2C guide: https://randomnerdtutorials.com/esp32-i2c-communication-arduino-ide/

I hope this helps.

Regards,
Sara

]]>
By: Zo https://randomnerdtutorials.com/esp32-weather-station-pcb/#comment-932832 Mon, 01 Jul 2024 12:26:55 +0000 https://randomnerdtutorials.com/?p=100518#comment-932832 I have a BMP280 and AHT20 combo board, im struggling to modify the code so that it takes Temperature and Pressure from BMP and Humidity from AHT

It works but OLED isnt working, mine has 0x3C Address eventhough it is 128 x 64. i cant find where to change the OLED Address in Program

]]>
By: Geoff Darby https://randomnerdtutorials.com/esp32-weather-station-pcb/#comment-557957 Wed, 17 Feb 2021 01:32:29 +0000 https://randomnerdtutorials.com/?p=100518#comment-557957 In reply to Ross Skilleter.

Glad you’ve resolved it !

]]>
By: Ross Skilleter https://randomnerdtutorials.com/esp32-weather-station-pcb/#comment-557955 Wed, 17 Feb 2021 01:25:03 +0000 https://randomnerdtutorials.com/?p=100518#comment-557955 In reply to Ross Skilleter.

Thanks Jeoff,
I didn’t put the two lines in right place last time.
Works now.
Ross.

]]>
By: Ross Skilleter https://randomnerdtutorials.com/esp32-weather-station-pcb/#comment-557400 Tue, 16 Feb 2021 02:24:57 +0000 https://randomnerdtutorials.com/?p=100518#comment-557400 In reply to Geoff Darby.

Thanks Geoff
I think that was tried but will have another go as soon as i can.
Ross.

]]>
By: Geoff Darby https://randomnerdtutorials.com/esp32-weather-station-pcb/#comment-556954 Mon, 15 Feb 2021 09:06:07 +0000 https://randomnerdtutorials.com/?p=100518#comment-556954 In reply to Ross Skilleter.

Someone posted a fix for this a couple of weeks ago. Involves an extra couple of lines of code. Worked fine for me. If you go back up the project comments, I’m sure you’ll find it

]]>
By: Ross Skilleter https://randomnerdtutorials.com/esp32-weather-station-pcb/#comment-556863 Mon, 15 Feb 2021 05:04:57 +0000 https://randomnerdtutorials.com/?p=100518#comment-556863 Hi All,
I am having trouble with the ‘weather sketch’. The first time through every thing is as i
would expect. Next time and all subsequent times the temperature readout is NAN
(Not A Number) reading ,then the next humidity reading is OK on the top of the screen and
the temperature is OK in small print at the bottom of the screen.
I need help.
Ross.

]]>
By: john https://randomnerdtutorials.com/esp32-weather-station-pcb/#comment-540539 Wed, 13 Jan 2021 18:34:02 +0000 https://randomnerdtutorials.com/?p=100518#comment-540539 In reply to Sara Santos.

TwoWire I2Cdisplay = TwoWire(1);
THANK YOU thank you I am 74 and trying to do some of the projects find most ok now I will make sure I have the right board selected.
John UK

]]>
By: bhavin https://randomnerdtutorials.com/esp32-weather-station-pcb/#comment-539029 Sat, 09 Jan 2021 17:39:29 +0000 https://randomnerdtutorials.com/?p=100518#comment-539029 Yes, Great project!

]]>
By: Geoff Darby https://randomnerdtutorials.com/esp32-weather-station-pcb/#comment-538949 Sat, 09 Jan 2021 12:58:45 +0000 https://randomnerdtutorials.com/?p=100518#comment-538949 In reply to John.

Hi John

I’m sure the answer to your problem will be as Sara says below. I have had this message in various forms many times with new projects, and it has always been because the wrong board type is selected in “Tools”. In your excitement to compile, load and see results, it’s very easy to forget to check the setings are right for the board type that you are hoping to compile for … 🙂

]]>