Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Is WD Software WeeWX compatible?
#31

Quote:Tried the EEPROM.write procedure. What happens is: after the second reprogram, after around two minutes, the RX hangs for a few seconds and then reboots alone..

In those few seconds it is just filling the two eprooms with zeros.
This step has performed normally.

Quote:When it comes back, after a while, it hangs one more time (without self rebooting, I have to unplug the power) and then apparently starts to work normally.

Hanging at this step, is not normal! At this step is when it writes important data to both eeproms.
If you repeat the procedure, it always hangs here?

Just to check add this three lines before line 334

Code:
Serial.println(Ext_eepromReadInt(0x29));
Serial.println(Ext_eepromReadInt(0x2B));
Serial.println(Ext_eepromReadInt(0x2D));

and see what you get with serial monitor.
It should return:
62
81
xx - Your defined Archive Period (1, I think)

Reply
#32

Quote:If you repeat the procedure, it always hangs here?
Yes. Always.

Quote:Just to check add this three lines before line 334
and see what you get with serial monitor.
It returns
0
0
0
Reply
#33

We are getting close! This is why WeewX never starts, it always read zeros from the eeprom. I suspect of that, when I saw the Weewx logs.

For some reason, your system is not able to write to the eeprom on the RTC module. I can't see why.
Or the eeprom on the RTC is faulty, or it are using a not common address.

At least, now we know what is the problem!

Give me some time, to try to find a procedure for testing the access to the RTC eeprom.

Reply
#34

Does this help? (i2c_scanner)

Scanning...
I2C device found at address 0x27 !
I2C device found at address 0x56 !
I2C device found at address 0x68 !
I2C device found at address 0x77 !
done

or (alternative I2C scanner):

Scanning ...
Found address: 39 (0x27) -> LCD
Found address: 86 (0x56) -> Should be eeprom?
Found address: 104 (0x68) -> RTC
Found address: 119 (0x77) -> Bosch Pressure
Done.
Found 4 device(s).
Reply
#35

Maybe we have discovered a not so funny thing! Confused

All my old RTC modules, have the eeprom at address 0x57, but it seems this is no more a constant.

So hold on!

PS: A note to everyone that is reading this topic. A lot of what is wrote in the last posts does not apply to any published software version. Current versions don't make use of the eeprom on the RTC module.
Discussion of this matter should continue on the Test / Development forum, we come back later on the subject of this thread.

Reply
#36

Updating the answer to the question which made me start this post: Is WeatherDuino WeeWX compatible?

The answer is YES. WeatherDuino is WeeWX compatible. I have it running successfully right now.

Things we found in the process:

-> In ebay you may find for sale Real Times Clock modules which do not seem to comply with default values expected by Arduino libraries and once plugged show an address which is slightly different.

The problematic ones seem to differ in that they do not exhibit the inscription "ZS-042". So, try to make sure the RTC module you purchase has "ZS-042" inscribed.

Werk_AG found a way to get around this and make the software work with modules with an 0x56 address but better try to avoid it. These chips are likely fake and a source of trouble.


-> FTDI usbserial chips/adapters have better support in Linux
. The driver seems to be more robust. To play on the safe side if you are planning to connect your RX unit to a Linux box try to get at least one Nano with an original FTDI chip (they cost just a bit more).
Reply
#37

Thank you hvalentim
This info could be important for everyone that wish to use WeewX with the WeatherDuino pro2 system.

Reply
#38

Hi,
I've just ordered TX and RX boards  Big Grin  . And I'm hoping to use WeeWX.
I'm still gathering the components and I was hoping to confirm my understanding of which RTC to purchase.

Should it be one of these? (This one I can see ZS-042 written on the board in the pictures)

1PCS DS3231 AT24C32 IIC Precision RTC Real Time Clock Memory Module new original

Or
Precision DS3231 Real Time Clock Module RTC DS3231 3.3V/5V with Battery for Raspberry Pi

Cheers,
Michael
Reply
#39

(23-08-2018, 04:27)mikeyk Wrote:  Hi,
I've just ordered TX and RX boards  Big Grin  . And I'm hoping to use WeeWX.
I'm still gathering the components and I was hoping to confirm my understanding of which RTC to purchase.

Should it be one of these? (This one I can see ZS-042 written on the board in the pictures)

1PCS DS3231 AT24C32 IIC Precision RTC Real Time Clock Memory Module new original

Or
Precision DS3231 Real Time Clock Module RTC DS3231 3.3V/5V with Battery for Raspberry Pi

Cheers,
Michael

Hi Michael,

I suppose you ordered Pro2 PLUS, so the second choice should be the right ...
http://www.meteocercal.info/forum/Thread...Parts-List

A lot of fun in the building!

Best Regards
Zdenek

Brandys/L Weather
Reply
#40

Hi,
      This is the one I bought from Ebay a while ago.
Ebay no. 262828567746

https://www.ebay.co.uk/sch/i.html?_from=...6&_sacat=0

I did get get WD to work with WEEWX using it.

Regards Derek
Reply




Users browsing this thread: 1 Guest(s)