Search found 231 matches

by petergebruers
01 Oct 2017 00:25
Forum: Z-Uno
Topic: DS18B20 in argument
Replies: 1
Views: 1183

Re: DS18B20 in argument

All I can tell you is that the uCxx is a simplified version of C++ and it does not support everything standard C++ does. As you have found out, uCxx translates your code to plain C (that is translated to assembly language and in the end linked into binary code) so that is why you suddenly see a stru...
by petergebruers
30 Sep 2017 23:01
Forum: Device specific
Topic: Fibaro RGBW Controller 0-10V Input
Replies: 3
Views: 4063

Re: Fibaro RGBW Controller 0-10V Input

That is correct... The input is read through the dimmer. This unfortunately means it has only 100 steps, so 0.1 V resolution. It is a pity, because the internal ADC has better resolution, but there is no means to read it...
by petergebruers
30 Sep 2017 21:48
Forum: Z-Uno
Topic: float conversion
Replies: 18
Views: 6244

Re: float conversion

I see, I am sorry that I did not understand that right away, but when I reread this topic it is clear to me! If you get corruption, then I would guess something is writing to the wrong memory address. Maybe something to do with size of variables. I am sorry, I am talking out loud. Probably not very ...
by petergebruers
30 Sep 2017 18:28
Forum: Z-Uno
Topic: float conversion
Replies: 18
Views: 6244

Re: float conversion

Did you rule out a hardware issue? I do not want to underestimate you, because we do not know eachother (yet) I might be asking silly questions. I was thinking maybe you do not have sufficiently low pullup resistors. Or a 5 V - 3.3 V conversion issue. Does your library check the I2C ACK? If it does ...
by petergebruers
29 Sep 2017 19:31
Forum: Z-Uno
Topic: Sleeping Z-Uno - Power consumption
Replies: 17
Views: 8539

Re: Sleeping Z-Uno - Power consumption

Ah, the EEPROM, thanks for bringing that up. I see, so the usable range is 2.8 - 3.6 V. If someone wants to charge a cell in-circuit, you would have to do something to limit the upper voltage... Maybe use a low quiescent regulator, like XC6206 or equivalent.
by petergebruers
29 Sep 2017 18:49
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 8600

Re: Z-UNO blocked after several hours of operation

I see. So you think the issue was introduced by upgrading the framework? I do not know how to test that hypothesis... In that case maybe other user have similar problems. Let us wait and see...
by petergebruers
29 Sep 2017 17:03
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 8600

Re: Z-UNO blocked after several hours of operation

Fair enough! So when you connect pin 17 to ground, the green led stops blinking if you leave it powered for about one day?

If you exclude the Z-Uno, and ground that pin, does it still crash within a day?

What happens if you remove the oled code?
by petergebruers
29 Sep 2017 16:12
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 8600

Re: Z-UNO blocked after several hours of operation

I've loaded your scene. No sensor or OLED attached. So it reports -327.67 °C as I expected, but that is not the issue here... The main thing is that the green LED keeps blinking, it does not crash... Another thing is that your interrupt routine violates a requirement mentioned on the reference pages...
by petergebruers
29 Sep 2017 15:12
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 8600

Re: Z-UNO blocked after several hours of operation

Thank you for sharing your code. I am convinced that sharing code is always interesting, for educational purposes! I'll run your code on my Z-Uno and see if I can find something. At the moment, after a quick look, I'd say the green LED stops blinking if your code hangs in loop() or getter(). The onl...
by petergebruers
29 Sep 2017 10:48
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 8600

Re: Z-UNO blocked after several hours of operation

I run a BH1750 sketch (an improved version of the version published on the forum) and it does not crash. It runs until I reboot the Z-Uno or change the sketch. The longest time between 2 reboots was about 24 hours.

If you could share your code, I'll see if I can find anything suspicious...