Search found 24 matches

by Black Cat
22 Jun 2017 09:30
Forum: Z-Uno
Topic: Define ZUNO Channel
Replies: 0
Views: 3

Define ZUNO Channel

The simple sensor example http://z-uno.z-wave.me/examples/SimpleSensor/ uses: / channel number #define ZUNO_CHANNEL_NUMBER_ONE 1 which I assume is a definition? I don't see any reference to this in the Reference Section, there is a ZUNO_SET_CHANNELS which is used later but not the above. Further in ...
by Black Cat
22 Jun 2017 07:40
Forum: Z-Uno
Topic: Download current sketch on Z-UNO
Replies: 0
Views: 3

Download current sketch on Z-UNO

Is it possible to download a current sketch that I have on a Z-UNO? I managed to code a switch example, but didn't save it locally. I then starting writing a code for a double switch but couldn't get it working (another error). I then wanted duplicate my first effort, I get a compile error without a...
by Black Cat
20 Jun 2017 08:20
Forum: Z-Uno
Topic: Help with a (probably very easy) button sketch!
Replies: 8
Views: 306

Re: Help with a (probably very easy) button sketch!

I returned to this example and have managed to compile it with some changes. I added some definitions and slowly worked through it until it compiled. I'm not sure if the code will work as I'm yet to upload it to Z-UNO. Here it is if anyone else wants to test it. #define Button_PIN_1 14 //Button 1 #d...
by Black Cat
19 Jun 2017 10:06
Forum: Z-Uno
Topic: converting from Arduino to Z-UNO simple code help needed
Replies: 1
Views: 21

converting from Arduino to Z-UNO simple code help needed

Hello from a frustrated Z-UNO user. I have a simple Switch and Relay example from My Sensors site that will not compile in Z-UNO. Can anyone please help in converting this from Arduino to Z-UNO, apart from deleting the Radio, I'm lost concerning libraries required etc. * The MySensors Arduino librar...
by Black Cat
18 Jun 2017 00:10
Forum: Z-Uno
Topic: z-uno projet from a standard uno board
Replies: 2
Views: 50

Re: z-uno projet from a standard uno board

I think this is a valid point raised. There are many working examples of working projects written for Ardunio/Uno already in existence. The My Sensors site is full of them and has a very nice 16 Zone Irrigation Controller (amongst other projects) that would be more than useful with a ZUNO, but how d...
by Black Cat
17 Jun 2017 02:35
Forum: Z-Uno
Topic: Sketch not uploading
Replies: 2
Views: 95

Re: Sketch not uploading

I found that a Factory reset eventually worked. Still took a long time, the Z-UNO instructions on Factory reset and Rescue Mode don't seem to be very clear in this respect.
by Black Cat
14 Jun 2017 01:53
Forum: Z-Uno
Topic: Sketch not uploading
Replies: 2
Views: 95

Sketch not uploading

I have a sketch uploaded on ZUNO, however if I try to over write this with another different sketch, the original remains. The upload doesn't indicate failure however the new sketch is not uploaded. Something is preventing overwriting. How can I erase the sketch that is in ZUNO and upload a new sket...
by Black Cat
13 Jun 2017 05:54
Forum: Z-Uno
Topic: 4 Ch. Relay with Switches Some help required with sketch
Replies: 9
Views: 186

Re: 4 Ch. Relay with Switches Some help required with sketch

Got it half working.

Relays will set state from UI, there is a problem with the loop as it doesn't detect the button when it is pushed.

The only other change was that I put a pullup resistor in the circuit for the buttons.
by Black Cat
13 Jun 2017 05:18
Forum: Z-Uno
Topic: 4 Ch. Relay with Switches Some help required with sketch
Replies: 9
Views: 186

Re: 4 Ch. Relay with Switches Some help required with sketch

Found it. I used mixed Uppercase and lower case.
by Black Cat
13 Jun 2017 05:01
Forum: Z-Uno
Topic: 4 Ch. Relay with Switches Some help required with sketch
Replies: 9
Views: 186

Re: 4 Ch. Relay with Switches Some help required with sketch

/* * * 4 Relays controlled thouth resistors 220Omh and optocouplers 817С 4 On/Off Switches * Off - HIGH * On - LOW */ // Pins definitions #define RelayPin1 9 #define RelayPin2 10 #define RelayPin3 11 #define RelayPin4 12 #define BTN_PIN1 19 // switch pin19 #define BTN_PIN2 20 // switch pin20 #defin...