Search found 181 matches

by p0lyg0n1
30 Mar 2018 15:27
Forum: Z-Uno
Topic: HC-SR04 + DHT11 in same project
Replies: 2
Views: 1210

Re: HC-SR04 + DHT11 in same project

Please use the constants here. I have found that global "s_pin" variables don't work right at this moment. That sketch have to work. // add library #include "ZUNO_DHT.h" // pin connection #define DHTPIN 9 ZUNO_SETUP_CHANNELS( ZUNO_SENSOR_MULTILEVEL( ZUNO_SENSOR_MULTILEVEL_TYPE_DISTANCE, 0, // scale ...
by p0lyg0n1
19 Mar 2018 14:57
Forum: Z-Uno
Topic: Help with my First Project
Replies: 3
Views: 1506

Re: Help with my First Project

Hi, What is your main problem? You didn't define getters getterAmp1/getterAmp2/getterAmp3/getterAmp4 as I see. Looks like you can stuck with this https://forum.z-wave.me/viewtopic.php?f=3427&t=25646&start=10 . We have the issue with ADC when you try to use more then one channel. We add this to roadm...
by p0lyg0n1
19 Mar 2018 02:47
Forum: Z-Uno
Topic: Z-Uno Tricks & Hacks. Dynamic channels. N-channel relay(switch) sketch.
Replies: 1
Views: 1593

Z-Uno Tricks & Hacks. Dynamic channels. N-channel relay(switch) sketch.

Hi, I'll try to share with community some kind of my test-code/sketches that I collected/wrote during the work on Z-Uno project. It could be helpful for some cases. In most cases I have not time to make a full-size tutorial or a blog posts. So, it will be a brief format of the forum posts. The main ...
by p0lyg0n1
19 Mar 2018 01:50
Forum: Z-Uno
Topic: Derived Classes error
Replies: 2
Views: 1181

Re: Derived Classes error

Hi, There are two errors. First one is that you have to return a value in Switch::changeValue. It have to be something like: // ... uint8_t Switch::changeValue(int v) { value = v; return v; } Unfortunately the second error is inside the translator. Thanks to Your code, we were able to find an old bu...
by p0lyg0n1
13 Mar 2018 19:06
Forum: Z-Uno
Topic: Z-uno is running much slower on PC power than on charger
Replies: 19
Views: 6226

Re: Z-uno is running much slower on PC power than on charger

The same results. 2-nd is with external power supply connected to USB. The smallest time period means highest frequency.
by p0lyg0n1
13 Mar 2018 15:02
Forum: Z-Uno
Topic: Z-uno is running much slower on PC power than on charger
Replies: 19
Views: 6226

Re: Z-uno is running much slower on PC power than on charger

Hi, I have checked this issue finally. I slightly modified your source: // LED pin number #define LED_PIN 13 #define START_CODE ((char)0xA9) #define END_CODE ((char)0x9A) static byte lastValue = 0; static byte currentValue = 0; //static const char onCmd[] = { START_CODE, 0x17, 0x2E, 0x00, 0x00, 0x00...
by p0lyg0n1
31 Jan 2018 17:33
Forum: Z-Uno
Topic: Serial strange behaviour
Replies: 26
Views: 9162

Re: Serial strange behaviour

Hi, First of all I checked the documentation to chip and Z-Uno supports for UART0/UART1 only those baudrates: Valid values: 9600  9.6kbaud 14400  14.4kbaud 19200  19.2kbaud 38400 38.4kbaud, 57600  57.6kbaud, 115200  115.2kbaud 230400  230.4kbaud It's a hardware feauture... Do you realy need ba...
by p0lyg0n1
24 Jan 2018 14:20
Forum: Z-Uno
Topic: Z-uno identity
Replies: 5
Views: 2425

Re: Z-uno identity

Hi, you can do it easy using default z-uno toolchain from the console (you can write bash/batch script for your task). So, first of all you have to install Z-Uno package to your IDE, or you can just download complete toolchain manually using these links: Windows http://rus.z-wave.me/files/z-uno/zuno...
by p0lyg0n1
13 Dec 2017 17:56
Forum: Z-Uno
Topic: Config Parameters are note set/received
Replies: 8
Views: 4459

Re: Config Parameters are note set/received

Hi, I am sorry. We have a lot of work with new release and have no time to reply fast. So, I tried your code. It works with my Razberry controller fine (configuration parameters work, I don't have a sensors I just comment all the sensor code). See the attached screenshot. The code is //#include "BH1...
by p0lyg0n1
18 Nov 2017 00:48
Forum: Z-Uno
Topic: Strange ADC behaviour
Replies: 5
Views: 3567

Re: Strange ADC behaviour

Updated. Please, look here viewtopic.php?f=3427&t=25646&start=10. I got 2xACS712 for tests.