Search found 28 matches

by knst08
25 Nov 2017 22:28
Forum: Z-Uno
Topic: Controller does not get ack from z-uno
Replies: 22
Views: 18974

Re: Controller does not get ack from z-uno

My code is hardly applicable to your case - your sketch does not send unsolicited reports. And I do not see why adding another channel may slow down the communication. But try to move everything but variable set from setter to loop insead of byte switchValue1 = 0; void loop() { } void setterSwitch1(...
by knst08
25 Nov 2017 13:12
Forum: Z-Uno
Topic: Controller does not get ack from z-uno
Replies: 22
Views: 18974

Re: Controller does not get ack from z-uno

Thank you! How to use a lot of "ZUNO_SWITCH_BINARY"? Can use the delay ? I store an array of last reported values and each loop call finds one channel that needs to be reported (comparing actual and last reported value), reports and updates last reported value. Also there is a check to ru...
by knst08
22 Nov 2017 01:04
Forum: Z-Uno
Topic: Controller does not get ack from z-uno
Replies: 22
Views: 18974

Re: Controller does not get ack from z-uno

Found the problem - due to the bug zuno was constantly sending unsolicited reports. After bug was fixed problem has gone. Obviously endless report sending was overloading the communication ether radio channel or more likely core zuno z-wave implementation.
by knst08
19 Nov 2017 23:28
Forum: Z-Uno
Topic: Controller does not get ack from z-uno
Replies: 22
Views: 18974

Controller does not get ack from z-uno

I've set up 9 binary switches (+1 multilevel power sensor). Controller (Fibaro HC2) registers the device without any problem, but if change switches state from controller UI fast enough e.g. turn all switches one by one or switch single one on/off several times controller losses connection with the ...
by knst08
19 Nov 2017 22:00
Forum: Z-Uno
Topic: Strange ADC behaviour
Replies: 5
Views: 6054

Re: Strange ADC behaviour

zunoADCAdvConfig(ZUNO_ADC_ADV_AZP1024); removed spikes so I got enough precision. Actually I now calibrate ACS712 before start using it - constantly get samples within 500ms while there is no current and treat the average as zero while maximum deviation as threshold. So to get current value (AC) I c...
by knst08
18 Nov 2017 21:18
Forum: Z-Uno
Topic: "recipe.c.o.pattern pattern is missing" when compiling sketch in Arduino IDE
Replies: 1
Views: 3991

"recipe.c.o.pattern pattern is missing" when compiling sketch in Arduino IDE

When compiling with Arduino IDE I get the following error ... Making firmware file: C:\Users\knst\AppData\Local\Temp\arduino_build_371438/heating.ino-0211.hex ...packihx: read 974 lines, wrote 1881: OK. Fixing ISR table in C:\Users\knst\AppData\Local\Temp\arduino_build_371438/heating.ino-0211.hex .....
by knst08
16 Nov 2017 10:04
Forum: Z-Uno
Topic: Strange ADC behaviour
Replies: 5
Views: 6054

Strange ADC behaviour

I have a simple set up. A3 channel of ADC is connected to ACS712 current sensor through voltage divider (to get maximum 3v instead of 5v). No current is applied to ACS712 so it constantly outputs 1.5v. Other channels are not connected to anything. I collect values to see them on plotter * int a0= an...
by knst08
12 Nov 2017 14:01
Forum: Z-Uno
Topic: Which EEPROM address range is safe to write to?
Replies: 6
Views: 5887

Re: Which EEPROM address range is safe to write to?

From z-uno source: HLCore.cpp void zunoLoadCFGParam(byte param_number, dword * value) { param_number -= 64; param_number <<= 2; zunoSysCall(ZUNO_FUNC_EEPROM_READ, dword(START_CONFIGPARAM_EEPROM_ADDR + param_number), word(4), value); } ZUNO_Definitions.h: // EEPROM #define START_CONFIGPARAM_EEPROM_AD...
by knst08
12 Nov 2017 13:02
Forum: Z-Uno
Topic: Which EEPROM address range is safe to write to?
Replies: 6
Views: 5887

Re: Which EEPROM address range is safe to write to?

And what are the boundaries? I failed to find it in documentation.
by knst08
11 Nov 2017 23:58
Forum: Z-Uno
Topic: Which EEPROM address range is safe to write to?
Replies: 6
Views: 5887

Re: Which EEPROM address range is safe to write to?

Hang issue was due to stack overflow. Restructuring of the code helped.

But the question regarding EEPROM address range to be used from sketch is actual...