Search found 242 matches

by p0lyg0n1
26 Oct 2016 11:19
Forum: Z-Uno
Topic: Z-Uno - negative temperature value from DS18B20
Replies: 12
Views: 14541

Re: Z-Uno - negative temperature value from DS18B20

Sergey, please look here: http://z-uno.z-wave.me/getting-started/troubleshooting
You have to boot z-uno in recovery mode if you have "sleeping" sketch uploaded.
Just hold "rst" and "btn" and then release "rst" and then release "btn".
by p0lyg0n1
25 Oct 2016 07:53
Forum: Z-Uno
Topic: Decimals always 00 in example OneWire temp sensor DS18B20
Replies: 1
Views: 3475

Re: Decimals always 00 in example OneWire temp sensor DS18B2

Thank you, added to uCxx issues. Looks like constructor cast working for first token only.
by p0lyg0n1
24 Oct 2016 22:27
Forum: Z-Uno
Topic: bmp180 reading of values
Replies: 31
Views: 29537

Re: bmp180 reading of values

You are right, Wire was broken when I moved it from firmware to "s_pins". Found problems with ack/nack during reading and problems with stop sequence in the middle of transmission. Fix this. Now I am testing math code of bmp180. I will publish fixes tomorrow. Thank you for help with that. ...
by p0lyg0n1
20 Oct 2016 14:01
Forum: Z-Uno
Topic: bmp180 reading of values
Replies: 31
Views: 29537

Re: bmp180 reading of values

First of all we can read "Raw Data" (readRawPressure method). We can check if "true" value changes in another way then raw data.

Try to check it myself.
by p0lyg0n1
20 Oct 2016 13:36
Forum: Z-Uno
Topic: Compatibility with Fibaro HC2 - Problem Corrected
Replies: 27
Views: 25582

Re: Compatibility with Fibaro HC2

Hi, Greg. I try your sketch and found some logic errors and fix them. But it works right with Z-Way (Razberry). It shows all 10 channels. I will try it with our HC later. The sketch may be simplified if we use arrays(please fix your pins only): /* * This scretch was certified by the Z-Wave Alliance ...
by p0lyg0n1
19 Oct 2016 21:19
Forum: Z-Uno
Topic: adding library to toolchain
Replies: 15
Views: 18344

Re: adding library to toolchain

I found datasheet for BMP280 which contains fix-math code for it. http://ru.mouser.com/ds/2/621/BST-BMP280-DS001-09-371189.pdf I think it will be helpful for you. See section 8.2 Compensation formula in 32 bit fixed point . This code uses types BMP280_S32_t and BMP280_U32_t. In our case it will be l...
by p0lyg0n1
19 Oct 2016 16:59
Forum: Z-Uno
Topic: adding library to toolchain
Replies: 15
Views: 18344

Re: adding library to toolchain

First of all: - don't pass parameters by reference, use pointers instead. uCxx doesn't support references yet. - don't use "double". It's not an error cause SDCC will automatically replace it with "float", but you have to know. i8051 too small to deal with 64bit float point value...
by p0lyg0n1
19 Oct 2016 12:54
Forum: Z-Uno
Topic: Compatibility with Fibaro HC2 - Problem Corrected
Replies: 27
Views: 25582

Re: Compatibility with Fibaro HC2

Hello,
Can you give more details to us?
What sketch do you use?
We can try this with our HC2.
by p0lyg0n1
19 Oct 2016 12:46
Forum: Z-Uno
Topic: adding library to toolchain
Replies: 15
Views: 18344

Re: adding library to toolchain

looks like you try to call method with another argument types... May be it's a "mangling" problem of compiler. Please send me your code. It will be really cool if we catch and fix maximum amount of compiler's problems for the next release...
by p0lyg0n1
18 Oct 2016 16:01
Forum: Z-Uno
Topic: GPIO inputs without pullup (HiZ) problem
Replies: 12
Views: 15865

Re: GPIO inputs without pullup (HiZ) problem

Looks like you are right. Pull-up controll was broken till 0.68. I will add an issue to tracker.