Search found 248 matches

by petergebruers
14 Oct 2017 18:19
Forum: Z-Uno
Topic: Value size limitation
Replies: 4
Views: 1878

Re: Value size limitation

I have not tried your setup, but I noticed something similar when I wrote my BH1750 sketch. Have a look at this piece of code: // petergebruers: Value returned by getter is signed. The Z-Uno reference says to use DWORD. // I cannot make it work with DWORD, but type "long" is OK. long GetterLightLux(...
by petergebruers
14 Oct 2017 13:05
Forum: Z-Uno
Topic: Serial0.write not working
Replies: 4
Views: 2067

Re: Serial0.write not working

Welcome, dawiinci. Good catch... It seems HardwareSerial does not implement writing a buffer, while other classes do implement it. Can you work around it like this? Works for me! uint8_t test[] = { 0x02, 0xFF, 0xFF, 0x01, 0x02 }; uint8_t command[] = { 0x0F, 0x01, 0xF1, 0x00, 0x00 }; void SerialWrite...
by petergebruers
14 Oct 2017 11:46
Forum: Z-Uno
Topic: Z-Uno-FLiRS-LED-DEMO: A Battery Operated LED Light (FLiRS)
Replies: 0
Views: 1252

Z-Uno-FLiRS-LED-DEMO: A Battery Operated LED Light (FLiRS)

I always wanted to have a battery operated Z-Wave device, which I could control... For Instance, an LED light. Apart from a "Siren" and a certain Remotec IR controller, I could not find any other FLiRS implementation. Well, that was 2 years ago and ... now, in 2017, FLiRS thermostats exist and we ha...
by petergebruers
13 Oct 2017 14:20
Forum: Z-Uno
Topic: New 2.1.1 test build is ready!
Replies: 17
Views: 8210

Re: New 2.1.1 test build is ready!

FLIRS problem solved: I probably included the Z-Uno while it was in rescue mode. It is OK when I include my Z-Uno while it runs the user sketch. I noticed updates on github... I did a quick test and I can now build on my windows machine! Looks like there are a lot of memory improvements too, I'll ha...
by petergebruers
07 Oct 2017 12:55
Forum: Z-Uno
Topic: New 2.1.1 test build is ready!
Replies: 17
Views: 8210

Re: New 2.1.1 test build is ready!

Thank you, PoltoS, next week I will toy with custom parameters, battery level, UART0 debugging and I'll try to improve the MH-Z19 CO2 sensor sketch!
by petergebruers
06 Oct 2017 19:10
Forum: Z-Uno
Topic: New 2.1.1 test build is ready!
Replies: 17
Views: 8210

Re: New 2.1.1 test build is ready!

Yes, a typo, but:
petergebruers wrote:
03 Oct 2017 10:04
On my Mac I can compile and upload both under Arduino 1.6.5 and 1.8.5, so I definitely have an issue on my Windows laptop.

I have a specific issue with my BH1750 sketch, I'll post the details in that topic:

viewtopic.php?f=3427&t=25521
by petergebruers
04 Oct 2017 12:36
Forum: Z-Uno
Topic: New 2.1.1 test build is ready!
Replies: 17
Views: 8210

Re: New 2.1.1 test build is ready!

I am trying FLiRS (a few different variants, including one that worked on firmware 2.10...) on Z-Way 2.3.6-rc8. The controller does not detect it as FLiRS, but as "mains". I always do exclude -> push sketch -> include. After reset, the green LED does not blink, so it is probably going to sleep... Wh...
by petergebruers
04 Oct 2017 10:43
Forum: Z-Uno
Topic: Z-UNO blocked after several hours of operation
Replies: 27
Views: 10897

Re: Z-UNO blocked after several hours of operation

I have read your topic right now. In essence: 0x122 * sizof(word) = 580 bytes! 580 > 300 bytes => Overflow. And when using GPT you do not get the expected timing... Hmmm... I have not toyed with the GPT yet. If I ever find an explanation as to why it did not work, I'll let you know... I suppose you'...
by petergebruers
04 Oct 2017 10:31
Forum: Z-Uno
Topic: float conversion
Replies: 18
Views: 7808

Re: float conversion

I think so, can you please have a look at this post for a workaround (printing two integers instead of a float):

viewtopic.php?f=3427&t=25514&start=20
by petergebruers
04 Oct 2017 10:03
Forum: Z-Uno
Topic: I have made an attempt at improving the BH1750 demo sketch and it is available for comment
Replies: 7
Views: 3567

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

Thank you for the compliment. The BH1750 sketch has been running flawlessly since my last post. So now I will move on to other sketches. I think I am going to try the improved FLiRS functionality first. It is difficult choice, there are some many exiting things in 2.1.1 like the error reporting on S...