Jump to content

NLCbanner2024.jpg.2478be509670e60c2d6efd04834b8b47.jpg

Gina

Beyond the Event Horizon
  • Posts

    45,326
  • Joined

  • Last visited

  • Days Won

    120

Posts posted by Gina

  1. Found the problem - bad connection.  WiFi working again but now have a bad connection to the BME280.  Just using jumper wires and they aren't very tight.  I'll build it on a stripboard shortly.

    1565297982_Screenshotfrom2020-07-2920-49-26.png.5dbdf89ad3dc17346529900e5cf58e9f.png

    Later...  Working again now.
    512999982_Screenshotfrom2020-07-2922-05-21.png.b34c4efcdc56f16f10aeb1372e24a01f.png

  2. Can I have opinions please.  Is the north wall of the observatory the best place for a Stevenson screen for the outside measurements of temperature, humidity and pressure?  Would I get sufficient airflow it?  Or would it be better on a post away from the building?

  3. Having looked into where I would like to put the temperature and humidity sensors in the scope room and outside I'm thinking it may be worth using separate ESP32s.  After all they don't cost much and I don't know how far from the ESP32 I can have the DHT22.  The scope room sensor could then be on the pier giving more accurate data on imaging conditions.

  4. I may install the ESP32 with BME280 and DHT22 in/on the observatory tomorrow.  I'll design and 3D print a tiny Stevenson screen for the outside sensors and mount the scope room sensor just inside on the other side of the north wall.  I think I'll put the BME28- outside in the Stevenson screen as the air pressure may be affected in the obsy by wind blowing through it.

  5. I might go on to add code to store data and make tables generated from logged data.  I think graphs might be pushing it.  I shall need to look into how much data I could store within the ESP32.  I too think it would be better to schedule data acquisition and store it, then let the web access code read the stored data rather than actually take it.  That is the way I have always done things.  You have to do this for wind and rain measurements anyway.

  6. This implementation (either simple or pretty) reads the weather data when the web page is accessed.  With the wind sensors, the anemometer produces interrupts to count revolutions for wind speed, the count being taken and zeroed each second (or could be more).  The wind speed would be updated at each second (or whatever the interval) and this would be read by the web access part of the code.

    Similarly the wind direction would be read at intervals and I propose to add code to effectively "smooth" this fast changing data and have the web access code read this.  I propose to use Consensus Averaging for this.  I expect the internal clock to be accurate enough to provide the interval timing - I don't think it needs an RTC at this stage.  That would only come when I add data logging at a later stage and that would be separate.

  7. I'm wondering if a single ESP32 would be able to handle all the data processing needed for the wind data as well as the web server.  The anemometer will want to use interrupts to count the revolutions (4 counts per revolution to give enough wind speed resolution). 

  8. I now have a framework I can work in to add other weather measurements.  The ESP for the scope room and outside could be an ESP8266 but it may be easier to use an ESP32 as I already have the code for it and know it works.  I don't know if the ESP8266 can handle a web server.

    I shall certainly be using an ESP32 for the wind sensors as I need the number of GPIO pins.  I also will have a fair amount of code to add to process the wind data before making a web page

  9. 28 minutes ago, JamesF said:

    Blimey!  That's more than 5C warmer than it is here!

    James

    But are we comparing outdoors with indoors here?  My ESP32 and BME280 are sitting on my living room table (aka work bench).

  10. I thought these ESP32s were supposed to be low power!  This one is drawing 0.08A on 4.9v according to my bench PSU.  Probably needs coding to put it into a low power mode if you want to save power.  No problem here as I shall be running it off my main obsy supply via a buck converter.  Goes to 0.09A when accessed from browser.

  11. A stage further...  Uploaded Wim's WebServer sketch having set SSID and PW and also connected BME280.  Testing from serial and pressing EN button I get a good result.  Next to connect ESP32 to 5v Vin and see if it all works.

    1038563930_Screenshotfrom2020-07-2816-57-54.thumb.png.c6ca6f473e474fc083dc608145ef7854.png

    • Like 1
  12. I think I need that explaining maybe with some code.  I presume you need to put that in the ArduinoOTA initial code.  Anyway, I can look into that later, I'll be happy if I can get my weather measurements into the house.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.