Search found 8 matches
- 04 Apr 2017 19:29
- Forum: Z-Uno
- Topic: One DHT22 and a relay
- Replies: 14
- Views: 18066
Re: One DHT22 and a relay
I don't get it. What do you mean? The problem that I have is that I get undeclair variable when try to use the current switch state OUTside the loop. I cannot declare my variable outside the loop. So how can I manage this? I still want rapid response on my relay when changing the state BUT I don't w...
- 03 Apr 2017 23:03
- Forum: Z-Uno
- Topic: One DHT22 and a relay
- Replies: 14
- Views: 18066
Re: One DHT22 and a relay
Okey,
But if I want something like this?
if (newValue > (0) && currentWaterValue > (0)){
But if I want something like this?
if (newValue > (0) && currentWaterValue > (0)){
- 03 Apr 2017 21:55
- Forum: Z-Uno
- Topic: One DHT22 and a relay
- Replies: 14
- Views: 18066
Re: One DHT22 and a relay
Thanks again, sorry for disturbing so much. Now I've got everything working! I need just a little help to get my IF to work. When the waterlevel switch return zero I don't want the relay to turn ON. How can I manage this? I can't get the variable currentWaterValue to function in my void setterRelay ...
- 03 Apr 2017 19:05
- Forum: Z-Uno
- Topic: One DHT22 and a relay
- Replies: 14
- Views: 18066
Re: One DHT22 and a relay
Hi 10der.
Thanks for your reply! I cannot migrate your code correctly. I can't understand the whole the syntax. I'm a noob
Do you think you can help me some more with this?
Thanks for your reply! I cannot migrate your code correctly. I can't understand the whole the syntax. I'm a noob
Do you think you can help me some more with this?
- 29 Mar 2017 21:42
- Forum: Z-Uno
- Topic: One DHT22 and a relay
- Replies: 14
- Views: 18066
Re: One DHT22 and a relay
Thanks droll! You did the trick :) Now I have added a basic switch that I want to monitor on or off state, but I get some debug. And I don't really know how to solve it. debug: unreferenced function argument : 'i' LLCore_arduino.c:256: warning 85: in function delayLoops unreferenced function argumen...
- 28 Mar 2017 22:37
- Forum: Z-Uno
- Topic: One DHT22 and a relay
- Replies: 14
- Views: 18066
One DHT22 and a relay
Hi :) I think this problem is quite simple to you. I'm new to z-uno and I cannot figure out this problem. I have a relay and one DHT22 sensor. But I cannot get my temperatur or humidity to shown in domoticz but in "serial monitor" it shows my realy works like a charm! What have I done wron...
- 06 Mar 2017 00:00
- Forum: Z-Uno
- Topic: Relay bord with z-uno
- Replies: 4
- Views: 8226
Re: Relay bord with z-uno
Thanks for your reply.
I think I figured it out, but I don't know why it appears... But when I drive my relay board with 5V it is always on, but when I change to 3V it react as it should do... Does anyone know why?
I think I figured it out, but I don't know why it appears... But when I drive my relay board with 5V it is always on, but when I change to 3V it react as it should do... Does anyone know why?
- 05 Mar 2017 22:10
- Forum: Z-Uno
- Topic: Relay bord with z-uno
- Replies: 4
- Views: 8226
Relay bord with z-uno
Hi, I new to z-uno but familiar to arduino. I have i relaybord, this kind https://www.m.nu/servo-motorer-robotics/relay-board-5v-logic-level-operation-2-channel-assembled?nosto=searchpage-nosto-1 I thought that I just could hook it up to pinout 13 and run it with the relaycontrol example. But I cann...