Search found 242 matches

by petergebruers
02 Oct 2017 18:29
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 9809

Re: Z-UNO blocked after several hours of operation

I agree... I have been delving in the source code of the Wire, ZUNO_OneWire and ZUNO_OLED_I2C libraries and lst files and it has not become any clearer to me. :? I'll try again later. Maybe it is a stack issue like you said and in that case it might be worth waiting for firmware 2.1.1 because that w...
by petergebruers
02 Oct 2017 14:41
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 9809

Re: Z-UNO blocked after several hours of operation

New observation: if you convert to int, the sketch does not crash. But I only let it run for one minute, the test time is a bit short oled.print(int(counter)); conversion to long and doing math does not crash it within one minute either: oled.print(long(counter*1000)); But printing a float with 0 pr...
by petergebruers
02 Oct 2017 14:31
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 9809

Re: Z-UNO blocked after several hours of operation

Thanks, your information is helpful. Together we will solve this mistery! ;-) I think I have made some progress. I reduced the code and now it crashes randomly in less than 1 minute. Tell me what you think... // OLED test by petergebruers, based on DS18B20 sketch // by Michael Schmidt #include <ZUNO...
by petergebruers
02 Oct 2017 13:30
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 9809

Re: Z-UNO blocked after several hours of operation

I am running this sketch right now, I want to share it so you do not have to run the same test as me. I do not see any flickering. I wonder if it makes a difference if you put zunoSendReport after the oled update... My minimalistic sketch does not have zunoSendReport right now, I'll add it if this t...
by petergebruers
02 Oct 2017 13:11
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 9809

Re: Z-UNO blocked after several hours of operation

I fully agree with what you are saying. I noticed the faint flickering of the green LED too. I will try to write a minimal sketch that only writes to the oled.

I noticed my Z-Uno crashed, so increasing the loop speed and oled printing has the same effect as your sketch... Keep digging!
by petergebruers
02 Oct 2017 12:26
Forum: Z-Uno
Topic: float conversion
Replies: 18
Views: 6996

Re: float conversion

I have some good news... or should I say "bad news"! The green LED stopped blinking! I have now made one change and I have to admit that this is a long shot. But personally I think it makes the display a bit nicer too. Instead of: oled.print(temperature); I now do: oled.print(temperature, 1); For de...
by petergebruers
02 Oct 2017 10:04
Forum: Z-Uno
Topic: I have made an attempt at improving the BH1750 demo sketch and it is available for comment
Replies: 7
Views: 3217

Re: I have made an attempt at improving the BH1750 demo sketch and it is available for comment

Thank you! If you think the sketch is good enough to be mentioned on the Z-Uno site, that is OK. I am flattered!
by petergebruers
02 Oct 2017 10:01
Forum: Z-Uno
Topic: float conversion
Replies: 18
Views: 6996

Re: float conversion

PoltoS, your previous post suddenly made me realize that I am confused again! I installed coco82's sketch and I did not use any other library... It just works, including the OLED display! It has been running for 12h now and it is still display temperature and the green LED is still blinking. Let me ...
by petergebruers
01 Oct 2017 23:40
Forum: Z-Uno
Topic: float conversion
Replies: 18
Views: 6996

Re: float conversion

I have connected a DS18B20 and an OLED display, so now I can fully run and test your sketch. While doing so, I discovered that the DS18B20 example has the 4K7 pull-up and the VCC of the sensor connected to 5.0 V. This injects a small current into the Z-Wave SoC because it is a 3.3V chip (and due to ...
by petergebruers
01 Oct 2017 14:55
Forum: Z-Uno
Topic: I have made an attempt at improving the BH1750 demo sketch and it is available for comment
Replies: 7
Views: 3217

I have made an attempt at improving the BH1750 demo sketch and it is available for comment

Motivation After I've toyed with the Z-Uno demo sketches (see http://z-uno.z-wave.me) for some time, I thought I would show a little ambition and at the same time seek feedback from experienced users. I took the BH1750 sketch and improved the reporting range (from about 13000 to about 79000 Lux), ad...