Interrupts example

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
vs5067
Posts: 3
Joined: 30 Sep 2016 13:51

Interrupts example

Post by vs5067 »

Is it possible to use standard Arduino interrupts examples? If not are any examples exist?
User avatar
PoltoS
Posts: 7562
Joined: 26 Jan 2011 19:36

Re: Interrupts example

Post by PoltoS »

Not yet. This will be added later on.
vs5067
Posts: 3
Joined: 30 Sep 2016 13:51

Re: Interrupts example

Post by vs5067 »

Does it mean that interrupts are not supported yet or example does not exist?
User avatar
PoltoS
Posts: 7562
Joined: 26 Jan 2011 19:36

Re: Interrupts example

Post by PoltoS »

You can only wake up Z-Uno from sleep using INT1 or key scanner interrupt. But you can not yet attach handlers - we do not support this yet.
affanalhakam
Posts: 5
Joined: 30 Sep 2016 09:26

Re: Interrupts example

Post by affanalhakam »

I was using INT1 and key scanner for waking up Z-Uno from sleep. But, that's not working at all. I think the problem is that's not supported attach handlers yet.
Can you please give us a simple example for INT1?
affanalhakam
Posts: 5
Joined: 30 Sep 2016 09:26

Re: Interrupts example

Post by affanalhakam »

Got it! :D Thanks
vs5067
Posts: 3
Joined: 30 Sep 2016 13:51

Re: Interrupts example

Post by vs5067 »

Could you please share the example?
p0lyg0n1
Posts: 242
Joined: 04 Aug 2016 07:14

Re: Interrupts example

Post by p0lyg0n1 »

Hi. We need some time to do it. Z-Uno differs from Arduino board significantly. It uses special layer between user sketch and hardware. This layer makes all z-wave tasks, works with hardware interfaces and so on. Just say this layer is a small RTOS. Your sketch is a task of it. So, at this moment it has no ability to share interrupt vectors with user sketch. I hope we will do it in the next release. You can use INT1 input of Z-Uno to wakeup sleeping device. To this purpose you can use builtin keypad controller too, but you can't handle any hardware interrupt directly.
affanalhakam
Posts: 5
Joined: 30 Sep 2016 09:26

Re: Interrupts example

Post by affanalhakam »

You can use the example from zuno website. The point is, once your zuno board is connected to the controller, It will wake up when you press the service button.
droll
Posts: 48
Joined: 20 Dec 2013 01:37

Re: Interrupts example

Post by droll »

Any idea when the new firmware revision will be available that supports user interrupt routines?
Post Reply