Search found 323 matches

by michap
01 May 2018 19:06
Forum: Z-Uno
Topic: FLiRS - flapping digital pins after wakeup
Replies: 15
Views: 2377

Re: FLiRS - flapping digital pins after wakeup

Didn't know about the delay in older versions - have tried before with smaller values in delay, without success.... with higher values it seems to work (BTW: I'm on 2.13 ...) Right, the "old state" in setup I had removed - because for my understanding the setup will be called only once - after that ...
by michap
01 May 2018 17:55
Forum: Z-Uno
Topic: FLiRS - flapping digital pins after wakeup
Replies: 15
Views: 2377

Re: FLiRS - flapping digital pins after wakeup

I already made many devices / sketches with Z-Uno,... but the FLiRS devices do not like me at all :) I have attached a minimal sketch for a FLiRS valve - a simple on/off switch with additional user LED on pin 13. It does not work at all. sometimes it is going to "on" - but will go back to "off", som...
by michap
30 Apr 2018 22:15
Forum: Z-Uno
Topic: FLiRS - flapping digital pins after wakeup
Replies: 15
Views: 2377

Re: FLiRS - flapping digital pins after wakeup

Hi, thanks, I didn't found time to check it in detail ;) This are the same values for wake-up? So, not after reset, but after going sleeping and then wake-up procedure? There maybe a difference - if pin was defined as output - and it was high / low before going sleep. And maybe different if was defi...
by michap
29 Apr 2018 14:03
Forum: Z-Uno
Topic: FLiRS - zunoSetBeamCountWU() question
Replies: 6
Views: 960

Re: FLiRS - zunoSetBeamCountWU() question

It does not help. As I thought before - the Wakeup procedure will be called immediately at first, and then again after defined time in zunoSetBeamCountWU(n). Maybe in some cases it is not critical, but for resetting a state it can not be used. The only way seems to put a delay in loop() or the Wakeu...
by michap
28 Apr 2018 14:30
Forum: Z-Uno
Topic: FLiRS - flapping digital pins after wakeup
Replies: 15
Views: 2377

Re: FLiRS - flapping digital pins after wakeup

Almost all MCUs based on 8051 default to "weak pull up" and I think the Z-Uno is no exception to that rule. No, it isn't the case... Some ports remember about the state - and even if Z-Uno will go into sleep the digital pin is "HIGH" - so LED is still on. But - again, not every port :) And - some p...
by michap
28 Apr 2018 09:52
Forum: Z-Uno
Topic: FLiRS - flapping digital pins after wakeup
Replies: 15
Views: 2377

FLiRS - flapping digital pins after wakeup

Hello, would be nice to know the default state of digital pins after wakeup. Additional - after init via pinMode(x, OUTPUT); would be helpful if the pins would be in definded state - as sample "LOW" without any flapping after init. In this time some pins will change the state itself after init - wha...
by michap
27 Apr 2018 14:57
Forum: Z-Uno
Topic: FLiRS - zunoSetBeamCountWU() question
Replies: 6
Views: 960

Re: FLiRS - zunoSetBeamCountWU() question

No, I'm not about the blink - this I have noticed also. But as sample at pin3 and pin4 it seems not to be a problem. It was my mistake - I have looked at the old FLiRS example (see above) and thought that the state of the pins will be saved - but it isn't.. device is sleeping at all. So if I need to...
by michap
27 Apr 2018 12:06
Forum: Z-Uno
Topic: FLiRS - zunoSetBeamCountWU() question
Replies: 6
Views: 960

Re: FLiRS - zunoSetBeamCountWU() question

Maybe it is something else... by design,... not zunoSetBeamCountWU related. I have tried the old sample with FLiRS switch: https://z-uno.z-wave.me/examples/FLiRSSimpleSwitch/ Have replaced the "ZUNO_SWITCH_BINARY" with "ZUNO_FLOWSTOP" - and it does not work. I think the digital pin status will not b...
by michap
26 Apr 2018 20:52
Forum: Z-Uno
Topic: FLiRS - zunoSetBeamCountWU() question
Replies: 6
Views: 960

FLiRS - zunoSetBeamCountWU() question

Hi, I have attached a simple sketch showing the problem I have with FLiRS device. Want to set a pin to "HIGH" using controller and reset it after 10 seconds to "LOW" (as sample). Using zunoSetBeamCountWU(10) for wake up after 10 seconds to reset the pin - do not want to have the device in waiting st...
by michap
23 Apr 2018 21:38
Forum: Z-Uno
Topic: Opto-Coupler as a switch
Replies: 3
Views: 981

Re: Opto-Coupler as a switch

I would take 3V relay modules, if possible, then the logical level will match.

(same source ;) ...)
https://de.aliexpress.com/wholesale?cat ... lay+module

Michael