Search found 128 matches

by p0lyg0n1
16 Jun 2018 18:01
Forum: Z-Uno
Topic: BMP280 / BME280 - new lib for testing
Replies: 12
Views: 3177

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: 13
Views: 3491

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

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?
by p0lyg0n1
27 Apr 2018 18:44
Forum: Z-Uno
Topic: IRcontroller parameters
Replies: 3
Views: 215

Re: IRcontroller parameters

1) IR_FLAGS_INPUT_DETECTCARRIER - Hardware IR controller can detect carrier if you use "raw" receiver (without demodulator). It's not applicable for receivers like TSOP7000 with fixed frequency. 2) IR_FLAGS_OUTPUT_HIGHDRIVE drives up to 12 mA (8mA without this flag)on each IR output pin (you can use...
by p0lyg0n1
27 Apr 2018 17:35
Forum: Z-Uno
Topic: FLiRS - zunoSetBeamCountWU() question
Replies: 6
Views: 253

Re: [solved] FLiRS - zunoSetBeamCountWU() question

Hi, I have an idea. Try to move logic inside the loop instead of handler. Make a small delay in the loop ~5 microseconds. I'll try to check the internals of FLIRS using your sample code till the next release.
by p0lyg0n1
30 Mar 2018 16:31
Forum: Z-Uno
Topic: New 2.1.1 release!
Replies: 13
Views: 2311

Re: New 2.1.1 release!

Z-Uno don't have WProgram.h. It's a very old header from Wiring. Use "Arduino.h" instead.
by p0lyg0n1
30 Mar 2018 15:31
Forum: Z-Uno
Topic: No Random() function in Z-Uno?
Replies: 6
Views: 1234

Re: No Random() function in Z-Uno?

Here is an example:

Code: Select all

void setup() {
  Serial.begin();
}
void loop() {
  Serial.println(rand()%100);
  delay(1000);
}
by p0lyg0n1
30 Mar 2018 15:27
Forum: Z-Uno
Topic: HC-SR04 + DHT11 in same project
Replies: 2
Views: 324

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

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

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