Search found 176 matches

by p0lyg0n1
02 Mar 2017 14:42
Forum: Z-Uno
Topic: BH1750 issues
Replies: 2
Views: 1719

Re: BH1750 issues

The problem is in code for reading light level. It wasn't updated to match new Wire library. The fast fix is https://github.com/Z-Wave-Me/Z-Uno-Core/commit/20503d41af7764d8102fabf49d94f9f2baf09535 inside BH1750 library. You can do it manually: 1. Open folder with preferences.txt of ArduinoIDE (hyper...
by p0lyg0n1
02 Mar 2017 00:24
Forum: Z-Uno
Topic: IR Library in 2.07
Replies: 15
Views: 6598

Re: IR Library in 2.07

The hardware limit is 15 bytes in the case we get the maximum amount (511) of raw bytes to IR controller. I Don't think that you really need 18 bytes. Can you sniff sequence with logic analyzer?
by p0lyg0n1
24 Feb 2017 01:18
Forum: Z-Uno
Topic: Z-Uno on a Telldus Znet v2 with 8 sensors
Replies: 1
Views: 1388

Re: Z-Uno on a Telldus Znet v2 with 8 sensors

Did you try "10 channels" example? If you have problems with it too then you have to seek for the problem inside your controller. This sketch was certified and works right.
by p0lyg0n1
24 Feb 2017 01:12
Forum: Z-Uno
Topic: Control from PC or phone
Replies: 3
Views: 2036

Re: Control from PC or phone

Z-Uno is a slave(like any other relay module/sensor/ etc.) in the terms of Z-Wave network, so you need a Z-Wave controller between Z-Uno and your PC/phone.
by p0lyg0n1
26 Jan 2017 13:04
Forum: Z-Uno
Topic: SPI does not work after self-wakeup
Replies: 3
Views: 2428

Re: SPI does not work after self-wakeup

I made my own code for SPI, before I see yours... So, here is my code for Mega2560(SPI SLAVE) #include <SPI.h> #define COMMAND_READADC 0x40 #define COMMAND_PININ 0x20 #define COMMAND_PINOUTLOW 0x30 #define COMMAND_PINOUTHIGH 0x50 #define COMMAND_PINGET 0x70 #define COMMAND_READDATA 0xA0 #define PACK...
by p0lyg0n1
25 Jan 2017 12:30
Forum: Z-Uno
Topic: Makefile for the Z-Uno
Replies: 4
Views: 2028

Re: Makefile for the Z-Uno

I use Sublime editor for thiss: Here is my environment(MacOS X, sublime): 1. Build file (.sublime-build): "shell": false, "working_dir" : "$file_path", "selector": "source.c", "cmd": ["zme_zunocompiler","build","${file_path}/${file_name}","-r","/Users/alexander/WholeEnvironment/Z-Uno/hardware/zw8051...
by p0lyg0n1
25 Jan 2017 11:55
Forum: Z-Uno
Topic: Unstable I2C communication
Replies: 4
Views: 2828

Re: Unstable I2C communication

I tried fixed Wire library with this: Sketch that uploaded to my Arduino Mega 2560(I2C slave): #include <Wire.h> #define COMMAND_READADC 0x40 #define COMMAND_PININ 0x20 #define COMMAND_PINOUTLOW 0x30 #define COMMAND_PINOUTHIGH 0x50 #define COMMAND_PINGET 0x70 void setup() { Wire.begin(8); // join i2...
by p0lyg0n1
18 Jan 2017 10:12
Forum: Z-Uno
Topic: SPI does not work after self-wakeup
Replies: 3
Views: 2428

Re: SPI does not work after self-wakeup

So, you give me another test case:) I will try it too!
by p0lyg0n1
18 Jan 2017 10:09
Forum: Z-Uno
Topic: Unstable I2C communication
Replies: 4
Views: 2828

Re: Unstable I2C communication

Hi,
Never try Arduino with Z-Uno as I2C slave. So, looks like it's time to do it... Anyway we fixed some problems during 2.0.7 in I2C already.
I will try your case before 2.0.8 release. Thank you.
by p0lyg0n1
26 Dec 2016 16:09
Forum: Z-Uno
Topic: Z-UNO UART at 115200bps
Replies: 18
Views: 7313

Re: Z-UNO UART at 115200bps

Hi,
First of all:
1. Don't do this:

Code: Select all

char serialBuffer[100000];
you have only 2KB of RAM.

2. Use correct speed 115200
Now you try this:

Code: Select all

Serial1.begin(115000);