Jump to content

Banner.jpg.b83b14cd4142fe10848741bb2a14c66b.jpg

jiberjaber

Members
  • Posts

    541
  • Joined

  • Last visited

Posts posted by jiberjaber

  1. 11 minutes ago, Gina said:

    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?

    Mines on a side that faces NE - I'm not after super accuracy, just representative of local conditions.  

    My first screen was similar but pre-3d printer so consisted of a lot of plant saucers, spacers and long bolts :) 

     

    • Thanks 1
  2. Just measured whilst making a cuppa...  1.3m from the patio to the top of the blocks, then another 4cm or so to the base of the HEQ5 mount.  It's a little bit of a reach to cap the scope in parked position.

    Perhaps another 10cm taller than the standard tripod? (I'll check that later when I pop down the shed... ) 

    I went for a bit more height to give a bit more reach to the South over the roof.

  3. I using a 'clone' that came with the tripod I am using, it is OK though not able to compare with the iOptron one. Has a few less knobs than the iOptron one; one for rotation, one for the ball itself and one for the camera clamp.  Fairly new so far, so only 2 outings with it so far, time will tell if it starts to slip etc.

     

    Do the two side knobs on the iOptron one tighten against the main ball ? 

  4. 22 minutes ago, Gina said:

    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.

    My DHT22 on my dew controller is on about 2m of cable.  You will need some integration time for the DHT22 plus they are not as robust as some of the other sensors (SHT30 for example) however the SHT30 is I2C so remote mounting slightly complicated.

    • Thanks 1
  5. 1 hour ago, inapottingshed said:

    @jiberjaber what is the height of that pier please?

    I tried to make it the same height as the tripod was but I think I added another 100mm in the end.  I'll try and remember to measure it when I take the cover off later. Each block is about 400mm from memory and the pier adaptor is circa 50mm.

  6. Mine works on a scheduled reading and uses a rolling average for most measurements.  Not sure I'd rely on the web request to trigger measurements, some sensors require some integration time for them to yield a result.

    • Like 1
  7. On 25/07/2020 at 09:11, AndyThilo said:

    Yeah that won't wash with the missus lol, it's got to be reasonable pretty, i.e no breezeblocks

    TBF, I am surprised how mine looks with a coat of paint.

     image.png.a5e112ce39d7eb8d18b1b6265129b99e.png 

    _DSC0840.jpg.475d05480859e975edff11856f37efc8.jpg

     

    During the day it is covered with a large black cover so just looks like some covered garden furniture. 

    • Like 2
  8. It will appear in the Port settings, if you set 

    ArduinoOTA.setHostname(WIFIID);

    Where:  const char* WIFIID = "WXSTATION";

    Then you will get a name that means sense next to the IP if you have multiple ESP devices in the lan.

    image.png.df5ae4784fdbce480fdac61eb9e0dce9.png

  9. 9 minutes ago, Gina said:

    Mine hasn't got OTALeds.

    2138782901_Screenshotfrom2020-07-2811-59-39.png.6e288b0d69552f2c5eb8a41844fdd40c.png

    Yep - no worries, that's just a version of the OTA example, the standard basicOTA is what you want... I was trying to time the capture to get the menu and hadn't noticed the cursor was highlighting the LED version (it's from teh ESP8266 version) - sorry for the confusion :) 

     

    • Thanks 1
  10. I try and keep my code modular so I can reuse bits elsewhere, so I have a tab called Arduino_OTA with the following code in it:

      void Arduino_OTA()
      {
    // Only run 
      
      // Port defaults to 8266
      // ArduinoOTA.setPort(8266);

      // Hostname defaults to esp8266-[ChipID]  DO NOT USE UNDERSCORE IN THE NAME!!!!
      ArduinoOTA.setHostname(WIFIID);

      // No authentication by default
      //ArduinoOTA.setPassword((const char *)"123");

      //DONT FORGET to add  ArduinoOTA.handle(); to main loop

      ArduinoOTA.onStart([]() {
        Serial.println("Start");
      });
      ArduinoOTA.onEnd([]() {
        Serial.println("\nEnd");
      });
      ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
        Serial.printf("Progress: %u%%\r", (progress / (total / 100)));
      });
      ArduinoOTA.onError([](ota_error_t error) {
        Serial.printf("Error[%u]: ", error);
        if (error == OTA_AUTH_ERROR) Serial.println("Auth Failed");
        else if (error == OTA_BEGIN_ERROR) Serial.println("Begin Failed");
        else if (error == OTA_CONNECT_ERROR) Serial.println("Connect Failed");
        else if (error == OTA_RECEIVE_ERROR) Serial.println("Receive Failed");
        else if (error == OTA_END_ERROR) Serial.println("End Failed");
      });
      ArduinoOTA.begin();
      }

    In my Setup I init the OTA server after I have brought up the wifi:

    //Start OTA Client
      Arduino_OTA();

    In my main loop I have the following:

     ArduinoOTA.handle();

     

  11. Over-The-Air

    If you look in the examples you will see an example sketch which shows how you can then load you new code 'over the air' to the device.  It's much quicker than USB/Serial - means unless you have a really big problem, you can update the device remotely as long as it's on the local network.

     

    • Thanks 1
  12. 1 minute ago, Gina said:

    That was it - Done Uploading!   Great - thanks.  onwards and upwards...

    One of the first things I do now is ensure I have OTA coded - not that I have any buttons to press with the ones I use, but it is quicker to get the code on teh device with OTA programming.

  13. 1 minute ago, Gina said:

    Hmm...  Problem...  Following instructions HERE I get as far as uploading the WiFiScan sketch, it compiles OK but the Upload stage fails to connect with the following report :-

     

    I'm not sure which ESP32 you are using but you may have to press a button when powering up to put set the boot mode to be able to programme it. (I think your ESP8266 board had a programme button and reset button on it?)

    • Thanks 1
  14. 31 minutes ago, Gina said:

    I currently have version 1.8.10 of the Arduino IDE, the latest is 1.8.13 but info online says later than 1.8.5 is alright for programing the ESP32 so guess I don't need to upgrade.  I'll try it...

    1.8.10 is where I'm at too.  I have had issues in teh past where I've had to rewrite code after Arduino updates so I don't make the jump now unless I really have to! :) 

    • Thanks 1
  15. That's not too different to my setup, wind speed & direction over a flat 5 core cable plus rain bucket (bell/speaker cable) is on a scaffold pole and the ESP plus temperature and humidity in my Stephenson screen about same distance away.   I did consider i2c over a longer distance but I found it not that reliable once over 20 cm or so though with some passive components I suspect you could extend that.

    • Thanks 1
  16. 13 minutes ago, Gina said:

    ESP-Now does look rather complicated and I have another idea.  The two sensor ESPs are not that far apart and a serial wired connection would be quite feasible I think.  Not difficult to program either.

    There's also the possibility of having independent ESP, both communicating with indoors over WiFi.

    You might have already mentioned but I may have forgotten.... Is the reason for not using one device because of availability of IO pins ?

    I think when I did mine I worked through the sensors individually to prove them working then tried to make the code modular for each sensor and then added them all together, after that it just grew as I added bits on or swapped out sensors... there's always that journey when a sensor you thought was right can't survive the environment! LOL 

     

  17. Looks like ESP-NOW would be fun to look at but not necessarily the easiest solution - I'm not sure you will be able to serve your web page over it, I'd probably get it all working over wifi initially as there is plenty of reference code out there already to get you up and running with a proof of concept.

    I'll going to look into ESP-NOW a bit more but I haven't seen anything about how it plays with Wifi and Bluetooth in the mix also as it seems to be using the same spectrum but might be employing a different way transmission.

     

    • Like 1
×
×
  • 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.