Search found 176 matches

by p0lyg0n1
27 Nov 2016 12:21
Forum: Z-Uno
Topic: Unknown error
Replies: 23
Views: 9224

Re: Unknown error

Hi, Andreas.
I did this now in several variations... First I tried with byte, there were a lot error saying that the enum can't be assign with a type of byte
Please post the one of them. I need a whole source to understand this.
by p0lyg0n1
16 Nov 2016 13:54
Forum: Z-Uno
Topic: Unknown error
Replies: 23
Views: 9224

Re: Unknown error

Hi, I just have the first "quick look" to your code. And I have some recipes for you: 1. You have to define SS pin number. Z-Uno can use any IO pin for this. Compiler said about it: Compiling /Users/alexander/Code/ZUno/compilerCXX/tests/Tests_Builds/MFRC522/ZUNO_MFRC522_sdcpp_.cpp ... ZUNO_MFRC522_s...
by p0lyg0n1
15 Nov 2016 02:01
Forum: Z-Uno
Topic: Unknown error
Replies: 23
Views: 9224

Re: Unknown error

Try to use byte/int instead of StatusCode type in the function parameters
by p0lyg0n1
26 Oct 2016 12:01
Forum: Z-Uno
Topic: bmp180 reading of values
Replies: 31
Views: 11860

Re: bmp180 reading of values

Hello, I can provide the first "draft" version of Wire and BMP180 libraries. You can get it from my dropbox: https://www.dropbox.com/s/5gq0hzz1dd67vq9/WireBMP180.zip?dl=0 Here you will find: updated Wire.cpp/Wire.h updated BMP180 library (in folder ZUNO_BMP180) python script (bmp_math_test.py) to te...
by p0lyg0n1
26 Oct 2016 11:19
Forum: Z-Uno
Topic: Z-Uno - negative temperature value from DS18B20
Replies: 12
Views: 5958

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: 1369

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: 11860

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. The proble...
by p0lyg0n1
20 Oct 2016 14:01
Forum: Z-Uno
Topic: bmp180 reading of values
Replies: 31
Views: 11860

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: 11747

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: 7464

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...