Search found 165 matches

by p0lyg0n1
28 Jun 2018 23:46
Forum: Z-Uno
Topic: Serial strange behaviour
Replies: 26
Views: 5556

Re: Serial strange behaviour

Start bit is always 0, stop bit is always 1. So, the first 0 is the start of transition. It's a main rule of UART protocol. So we have to work twice faster to follow the theorem of discretization. Looks like you could use the simple 8N1 UART. I don't understand why it's not work for you. Could you c...
by p0lyg0n1
27 Jun 2018 17:23
Forum: Z-Uno
Topic: New 2.1.4 beta
Replies: 49
Views: 8628

Re: New 2.1.4 beta

Hi, Hi, Thank you very much for this beta version. I installed this version with the bootloader too (you never know). I forced it with downgrade 2.1.1 then 2.1.4 (It can also be done by changing the security S2->S0->S2) digitalRead, zunoSaveCFGParam and zunoLoadCFGParam works fine ! Thanks ! Here ar...
by p0lyg0n1
25 Jun 2018 20:16
Forum: Z-Uno
Topic: Compile problem
Replies: 6
Views: 1033

Re: Compile problem

It's a problem of the first beta. Please remove all from packages/Z-Uno & staging/packages and reload board from test-ucxx repository.
by p0lyg0n1
25 Jun 2018 06:07
Forum: Z-Uno
Topic: ZUNO_THERMOSTAT - Returning temperature
Replies: 5
Views: 888

Re: ZUNO_THERMOSTAT - Returning temperature

Yes, they have a mode parameter. Returns/set ups always 2bytes and one decimal precision. The prototypes for temperature destination point are: WORD thermPointGetter(BYTE mode){ return ...; } void thermPointSetter(BYTE mode,WORD point){ } You have to use zunoSendReport(channel_number), to update poi...
by p0lyg0n1
24 Jun 2018 18:21
Forum: Z-Uno
Topic: New 2.1.4 beta
Replies: 49
Views: 8628

Re: New 2.1.4 beta

Eric,
thank you!
We have found both problems:
  • zunoSaveCFGParam in autogenerated code.
  • digitalRead(), when the parameter is a variable.
They will be fixed in beta3.
by p0lyg0n1
24 Jun 2018 17:43
Forum: Z-Uno
Topic: Serial strange behaviour
Replies: 26
Views: 5556

Re: Serial strange behaviour

Here is a modified version of Library. Place it to libraries folder an use like this:

Code: Select all

#include <SoftwareSerial7N1.h>
SoftwareSerial7N1 swserial(11, 12);
// ...
by p0lyg0n1
24 Jun 2018 17:03
Forum: Z-Uno
Topic: Serial strange behaviour
Replies: 26
Views: 5556

Re: Serial strange behaviour

You can't read 7n1 with this, cause it has different timing. Stop bit will be "too early". I can give an idea how to modify the code of library for your purposes. How many bytes do you have in one portion of data? At this moment library uses 32 bytes for cyclic buffer.
by p0lyg0n1
16 Jun 2018 18:01
Forum: Z-Uno
Topic: BMP280 / BME280 - new lib for testing
Replies: 15
Views: 6171

Re: BMP280 / BME280 - new lib for testing

I have made my own version of BMP280 library. It have to be lighter, 'cause it uses fixed point calculation instead of float.
https://forum.z-wave.me/posting.php?mod ... 34#preview
by p0lyg0n1
16 Jun 2018 17:57
Forum: Z-Uno
Topic: adding library to toolchain
Replies: 15
Views: 6498

Re: adding library to toolchain

Finally I have a little time to port the library. I completely reworked code from Bosh & Ada Fruit. I hope It have to be the most compact one... ;) The library attached to this message. I tried it with BME280 & BMP280. It works ok with my devices. If anyone could try it I'll be glad ) The example: #...
by p0lyg0n1
23 May 2018 08:58
Forum: Z-Uno
Topic: I2C - Bus master clock stretching
Replies: 2
Views: 566

Re: I2C - Bus master clock stretching

Hi,
Z-Uno has software implementation of I2C and It able to be a master only. I don't think that you have some problems with clock stretching in this case. Could you send me the datasheet for your sensor?