Search found 62 matches
- 20 Jun 2017 08:20
- Forum: Z-Uno
- Topic: Help with a (probably very easy) button sketch!
- Replies: 8
- Views: 10450
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...
- 19 Jun 2017 10:06
- Forum: Z-Uno
- Topic: converting from Arduino to Z-UNO simple code help needed
- Replies: 5
- Views: 6871
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...
- 18 Jun 2017 00:10
- Forum: Z-Uno
- Topic: z-uno project from a standard uno board
- Replies: 3
- Views: 4800
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...
- 17 Jun 2017 02:35
- Forum: Z-Uno
- Topic: Sketch not uploading
- Replies: 2
- Views: 3721
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.
- 14 Jun 2017 01:53
- Forum: Z-Uno
- Topic: Sketch not uploading
- Replies: 2
- Views: 3721
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...
- 13 Jun 2017 05:54
- Forum: Z-Uno
- Topic: 4 Ch. Relay with Switches Some help required with sketch
- Replies: 9
- Views: 9217
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.
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.
- 13 Jun 2017 05:18
- Forum: Z-Uno
- Topic: 4 Ch. Relay with Switches Some help required with sketch
- Replies: 9
- Views: 9217
Re: 4 Ch. Relay with Switches Some help required with sketch
Found it. I used mixed Uppercase and lower case.
- 13 Jun 2017 05:01
- Forum: Z-Uno
- Topic: 4 Ch. Relay with Switches Some help required with sketch
- Replies: 9
- Views: 9217
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...
- 13 Jun 2017 03:45
- Forum: Z-Uno
- Topic: 4 Ch. Relay with Switches Some help required with sketch
- Replies: 9
- Views: 9217
- 13 Jun 2017 03:43
- Forum: Z-Uno
- Topic: 4 Ch. Relay with Switches Some help required with sketch
- Replies: 9
- Views: 9217
Re: 4 Ch. Relay with Switches Some help required with sketch
In the sketch the /b is not present. I have edited it out above.