Menu

New firmware 129-04 - with the following problem

2022-07-13
2022-07-24
<< < 1 2 (Page 2 of 2)
  • brownrb

    brownrb - 2022-07-23

    Hi Andre

    1. Check board pins match firmware
      header J11, GND, 12V, SIG, TMP, 3V3
      sensor uses 12V and GND
      3V3 and TMP not used
      SIG wired to D32
      SIG wired to R3 100K pulldown
      SIG wired to D2 Zener 1N4728A 3.3V
      // Connect Black wire to PCB J11-GND
      // Connect Blue wire to PCB J11-SIG
      // Connect Brown wire to PCB J11-12V

    If you have a volt meter, you should be measuring about less than 0.4V on the Sig wire from the Adafruit sensor when stationary - not moving. I would not expect it to be any higher.

    When the cups start rotating, you should see a voltage increase from 0.4V all the way up to a maximum of 2V, but I doubt if one can spin the cups manually at that speed.

    regards
    Robert

    PS
    I have attached the latest wind_speed.h file from the next firmware release. Please download this file and replace your existing wind_speed.h file with this updated one.

    When you reprogram the controller, please open Serial port monitor in IDE, as there are serial print messages in the file that will help solve the issue for you.

    let the firmware run for about 30s
    Then move the cups by hand, just one flick to get the cups spinning and then wait till the cops are stationary.

    Copy and paste the serial output into a file and please send it to me

    regards
    Robert

     

    Last edit: brownrb 2022-07-23
  • Andre Heidemann

    Andre Heidemann - 2022-07-23

    Hi Robert,

    i checked the connection of the anemometer to the board. It is the same, as you decribed.

    The next step was the measurement of the voltage. If the cups are not moving, there is 0.43 volts.
    If i rotate Adafruit a little bit, it goes up to 0.50.

    After the download your new wind_speed.h file, i replaced it to the project. I compiled it but there was the following error in the IDE:

    Arduino: 1.8.19 (Windows 10), Board: "ESP32 Dev Module, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None"
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    C:\Users\Admin\Desktop\Andre\mySQM-Projekt\ESP-Firmware\IDE-Firmware\mysqmplus-firmware-129-04\mysqmplus-firmware-129-04\mysqmplus-firmware-129-04.ino: In function 'void setup()':
    
    mysqmplus-firmware-129-04:3032:3: error: 'int_rainvoltagesensors' was not declared in this scope
    
       int_rainvoltagesensors();
    
       ^~~~~~~~~~~~~~~~~~~~~~
    
    C:\Users\Admin\Desktop\Andre\mySQM-Projekt\ESP-Firmware\IDE-Firmware\mysqmplus-firmware-129-04\mysqmplus-firmware-129-04\mysqmplus-firmware-129-04.ino:3032:3: note: suggested alternative: 'init_windspeedvoltagesensors'
    
       int_rainvoltagesensors();
    
       ^~~~~~~~~~~~~~~~~~~~~~
    
       init_windspeedvoltagesensors
    
    Mehrere Bibliotheken wurden für "mySSD1306Ascii.h" gefunden
    
     Benutzt: C:\Users\Admin\Documents\Arduino\libraries\myOLED
    
     Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\myOLED
    
     Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\mysqmplus-firmware-129-04
    
    Mehrere Bibliotheken wurden für "WiFiServer.h" gefunden
    
     Benutzt: C:\Users\Admin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.4\libraries\WiFi
    
     Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\WiFi
    
    Mehrere Bibliotheken wurden für "ArduinoJson.h" gefunden
    
     Benutzt: C:\Users\Admin\Documents\Arduino\libraries\ArduinoJson
    
     Nicht benutzt: C:\Users\Admin\Documents\Arduino\libraries\arduino_713731
    
    exit status 1
    
    'int_rainvoltagesensors' was not declared in this scope
    
    
    
    Dieser Bericht wäre detaillierter, wenn die Option
    "Ausführliche Ausgabe während der Kompilierung"
    in Datei -> Voreinstellungen aktiviert wäre.
    

    Thanks a lot...

    Best regards

    André

     
  • brownrb

    brownrb - 2022-07-24

    Hi Andre
    Yes, there is an error there, It is fixed in the next release, but that invokes another fix in another file as well.

    So not a simple matter of replacing the two files that need to be altered.

    Please email me at gmail.com and I will add permission for you to access the RC for the next release. Look for address in firmware or pdf.

    regards
    Robert

     
<< < 1 2 (Page 2 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.