A short question first:
Has the relay board an active-low or an active-high type input?
You may test this (and the relay board at all) by putting a jumper cable on the input and touch ground and +5V.
Which one, ground or +5V, triggers the relay active?
Search found 1156 matches
- 25 Aug 2019, 09:36
- Forum: ESP Easy: Hardware
- Topic: pcf8574 can not actuate a relay (only it's LED)
- Replies: 8
- Views: 15061
- 14 Aug 2019, 22:18
- Forum: ESP Easy: Software
- Topic: [SOLVED]Problem with relays during boot nodeMCU
- Replies: 19
- Views: 20885
Re: Problem with relays during boot nodeMCU
Yes, but with this solution (when the jumper is set to trigger low) you have a voltage of 5V at the relay module input. Certainly given by some resistor but it is 5V. Of course, I'm writing about modules that I bought, working on 5V. So the expander will work out of specification, because it is pow...
- 13 Aug 2019, 18:53
- Forum: ESP Easy: Software
- Topic: [SOLVED]Problem with relays during boot nodeMCU
- Replies: 19
- Views: 20885
Re: Problem with relays during boot nodeMCU
I'd prefer the MCP23017 over the PCF8574 for a simple reason. {snip} I've tried to drive a NPNJ transistor (2N2222, BC547) with a relay.. it is not reliable. The MCP23017 is a nice chip and I've used it in my projects. But in defense of the PCF8574, the weak output sourcing current is a feature, ra...
- 12 Aug 2019, 17:48
- Forum: ESP Easy: Software
- Topic: [SOLVED]Problem with relays during boot nodeMCU
- Replies: 19
- Views: 20885
Re: Problem with relays during boot nodeMCU
No problem. I'd prefer the MCP23017 over the PCF8574 for a simple reason. I've cut the simplified output schematic for an output pin of the PCF8574 from datasheet . PCF8574-Output_Circuit.jpg . If you take a closer look you'll notice a circle with "100µA" noted beside it. The circle is the...
- 11 Aug 2019, 22:31
- Forum: ESP Easy: Software
- Topic: Strange problem with BMP180
- Replies: 18
- Views: 13423
Re: Strange problem with BMP180
I'll do my very best
- 11 Aug 2019, 00:10
- Forum: ESP Easy: Software
- Topic: Strange problem with BMP180
- Replies: 18
- Views: 13423
Re: Strange problem with BMP180
need a sample?
- 10 Aug 2019, 21:46
- Forum: ESP Easy: General Discussion
- Topic: http request doesn't alter value
- Replies: 7
- Views: 9466
Re: http request doesn't alter value
Hm... Honestly I can't see what you're doing with the "event,httpvalue=5" command in your rules... "event" creates an event so you can for example test what happens if a temperature goes to a certain value. For changing a dummy value I'd use TaskValueSet, in your example "Ta...
- 10 Aug 2019, 18:57
- Forum: Introduce yourself
- Topic: Hi from Scotland
- Replies: 2
- Views: 6233
Re: Hi from Scotland
Welcome aboard
- 09 Aug 2019, 08:33
- Forum: ESP Easy: Hardware
- Topic: Relay is able to turn ON but get stuck at OFF
- Replies: 3
- Views: 10462
Re: Relay is able to turn ON but get stuck at OFF
Relays usually run on 5V or higher. The ESP runs on 3.3V. This combination runs into problems under certain circumstances. As you set GPIO2 to "0"" to set the Relay on it is likely the relay uses a PNP transistor or maybe an opto coupler The "emitter" of the PNP transistor g...
- 04 Aug 2019, 22:16
- Forum: Experimental
- Topic: Pro Mini Extender "Advanced" concept
- Replies: 8
- Views: 37613
- 04 Aug 2019, 22:13
- Forum: ESP Easy: Hardware
- Topic: Serial Communikation Arduino ->espeasy
- Replies: 6
- Views: 11752
- 04 Aug 2019, 19:07
- Forum: ESP Easy: Hardware
- Topic: Serial Communikation Arduino ->espeasy
- Replies: 6
- Views: 11752
Re: Serial Communikation Arduino ->espeasy
If you want to set values inside ESPEasy there is a workaround to get serial running: - define a dummy variable inside ESPEasy. - program a serial routine in the arduino sketch that sendsa "taskvalueset,x,y,z" (X=Task nummer, y=Task value number, z=value to set the task value to() For exam...
- 31 Jul 2019, 20:23
- Forum: Introduce yourself
- Topic: Hello from sweden
- Replies: 2
- Views: 5019
Re: Hello from sweden
WElcome aboard
- 29 Jul 2019, 19:15
- Forum: Introduce yourself
- Topic: Hello!
- Replies: 1
- Views: 4189
Re: Hello!
Welcome aboard
- 29 Jul 2019, 19:12
- Forum: ESP Easy: General Discussion
- Topic: Hardware Watchdog Reboots
- Replies: 219
- Views: 248683
Re: Hardware Watchdog Reboots
I did some testings as described here in the thread. Moved all ESP devices to a separate access point, set wifi to run permanently etc., see above. My test devices ran for about 14 days without a problem, then I got WD restarts on all three devices. As far as I can say there is at least one problem ...
- 21 Jul 2019, 16:28
- Forum: Introduce yourself
- Topic: hey irfan here
- Replies: 1
- Views: 3751
Re: hey irfan here
Welcome aboard
- 20 Jul 2019, 18:33
- Forum: ESP Easy: Projects / Applications
- Topic: Thundermon - A Lightning Detector
- Replies: 3
- Views: 18300
Re: Thundermon - A Lightning Detector
Some thundersturms later...
Now I can say that the thunderstorm detector as well as the rain sensor are working reliably.
Now I can say that the thunderstorm detector as well as the rain sensor are working reliably.
- 20 Jul 2019, 18:32
- Forum: ESP Easy: Projects / Applications
- Topic: Weather Sensor
- Replies: 3
- Views: 16086
Re: Weather Sensor
Some thundersturms later...
Now I can say that the thunderstorm detector as well as the rain sensor are working reliably.
Now I can say that the thunderstorm detector as well as the rain sensor are working reliably.
- 20 Jul 2019, 14:58
- Forum: ESP Easy: General Discussion
- Topic: Hardware Watchdog Reboots
- Replies: 219
- Views: 248683
Re: Hardware Watchdog Reboots
After some days of testing I think the reason is located with the WiFi reconnects. As posted above I'm runing three nodes with the 0630-version. These nodes were resetted by WD after a few hours. The following steps made them working far more stable: Usually I run a Ubiquiti Unifi Long Range AP for ...
- 10 Jul 2019, 19:13
- Forum: ESP Easy: Projects / Applications
- Topic: Sleeptime
- Replies: 24
- Views: 25220
Re: Sleeptime
Ok, meanwhile I have follow your idea with the LiION; I have many of them for my E-Shisha... I set the ESP to sleep 295 seconds and stay awaked for 5 seconds. I Also have figure out how to swith on a port while booting and switch it of before it goes back to sleep. For that it seems to be important...
- 10 Jul 2019, 17:08
- Forum: ESP Easy: General Discussion
- Topic: Hardware Watchdog Reboots
- Replies: 219
- Views: 248683
Re: Hardware Watchdog Reboots
The reboots and "hangs" are at least partly caused by WiFi reconnects Usually all WiFi in my appartment run on one Unifi Long Range AP. Two nodes with Mega had permanent problems rebooting after 1...3 hours, hanging, showing blank web page etc. The Unifi controller diagnostic told me "...
- 04 Jul 2019, 18:31
- Forum: ESP Easy: Software
- Topic: Not configured in Station Mode!
- Replies: 8
- Views: 7258
Re: Not configured in Station Mode!
If i remember this right... If you use serial to set SSID and Key it is not stored permanently. After "WifiSSID abcdefgh" and "WifiKey verySecretPasswd" use a "WifiConnect" to check if the connection works, then send a "save" via Serial to store config. All wi...
- 01 Jul 2019, 19:17
- Forum: ESP Easy: General Discussion
- Topic: Hardware Watchdog Reboots
- Replies: 219
- Views: 248683
Re: Hardware Watchdog Reboots
Just to make it a bit more complex....
My three devices I used for testing behave nicely atm... up for 1,5...6 days.....
Don't ask me why. I have no acceptable explanation.
My three devices I used for testing behave nicely atm... up for 1,5...6 days.....
Don't ask me why. I have no acceptable explanation.
- 27 Jun 2019, 21:46
- Forum: ESP Easy: General Discussion
- Topic: Hardware Watchdog Reboots
- Replies: 219
- Views: 248683
Re: Hardware Watchdog Reboots
Well, the "race condition" thing was just an idea of mine, remembering long ago times :) Honestly I'm far away from a programmer nowadays, I never learned C or C++ so I can only guess. The heap is used by many firmware parts so heap fragmentation issues might show these random effects: I h...
- 27 Jun 2019, 14:45
- Forum: ESP Easy: General Discussion
- Topic: Hardware Watchdog Reboots
- Replies: 219
- Views: 248683
Re: Hardware Watchdog Reboots
I was monitoring the devices closely these days due to these resets just by refreshing the "devices"- and "main" pages now and then. I've noticed some strange things: Short time before reset occurs the web pages get incredibly slow. The "Devices" page can take up severa...
- 26 Jun 2019, 17:36
- Forum: ESP Easy: General Discussion
- Topic: Hardware Watchdog Reboots
- Replies: 219
- Views: 248683
Re: Hardware Watchdog Reboots
Now the device rebooted again (Without button.. )
Manual reboot - Hardware Watchdog.
Still the one with biggest heap fragmentation (12% atm) is the one with most restarts..
May be related or not, IDK. I'm not that deep into programming, to say nicely.
Manual reboot - Hardware Watchdog.
Still the one with biggest heap fragmentation (12% atm) is the one with most restarts..
May be related or not, IDK. I'm not that deep into programming, to say nicely.
- 26 Jun 2019, 13:36
- Forum: ESP Easy: General Discussion
- Topic: Hardware Watchdog Reboots
- Replies: 219
- Views: 248683
Re: Hardware Watchdog Reboots
Now three devices running with 20190607 on 2.5.2 core as the 0523 version has shown too many problems. One is a room sensor, just with a SI7021 and a DS18B20, no rules at all: Many restarts, every 2..3 hours for now, heap fragmentation 11% - 12%, free mem 18936, free stack 3600, heap max free 16960...
- 25 Jun 2019, 12:59
- Forum: ESP Easy: General Discussion
- Topic: Hardware Watchdog Reboots
- Replies: 219
- Views: 248683
Re: Hardware Watchdog Reboots
Now three devices running with 20190607 on 2.5.2 core as the 0523 version has shown too many problems. One is a room sensor, just with a SI7021 and a DS18B20, no rules at all: Many restarts, every 2..3 hours for now, heap fragmentation 11% - 12%, free mem 18936, free stack 3600, heap max free 16960 ...
- 23 Jun 2019, 19:26
- Forum: ESP Easy: Projects / Applications
- Topic: wemos D1 R2 + two HC-SR04
- Replies: 9
- Views: 18961
Re: wemos D1 R2 + two HC-SR04
hello, I think this is my problem I have read that hc-SR04 works on 5v, so I connect each one on +5v and gnd on the board do you have a enample how must they to be connected ? thank you Hello, take a look here: https://letscontrolit.com/wiki/index.php?title=Level_Converter If you scroll down a bit ...
- 23 Jun 2019, 17:06
- Forum: ESP Easy: Projects / Applications
- Topic: Weather Sensor
- Replies: 3
- Views: 16086
Weather Sensor
Hello all, as I had a working rain sensor already ( https://www.letscontrolit.com/forum/viewtopic.php?f=2&t=6540 ) it was self-evident to integrate the rain sensor into a weather sensor. Another long pending project was integrated too: A lightning detector. What's in the box: - Temperature, Humi...
- 23 Jun 2019, 15:05
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy to control video projector and roller screen ?
- Replies: 11
- Views: 19562
- 23 Jun 2019, 15:04
- Forum: ESP Easy: General Discussion
- Topic: Hardware Watchdog Reboots
- Replies: 219
- Views: 248683
Re: Hardware Watchdog Reboots
Hello all, I'm using a lot of X5R/X7R MLCC capacitors all over the board of my weather sensor, of course near the ESP8266 too. Even when using my big lab power supply I get a lot of restarts. So I don't think power supply and/or capacitors are reasons for resets in general. With the ESP_Easy_v2.0-20...
- 23 Jun 2019, 13:16
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy to control video projector and roller screen ?
- Replies: 11
- Views: 19562
Re: ESPEasy to control video projector and roller screen ?
Not sure about that, i never used the Excel sheet. Sadly the codes from your remotes are not identified by IRrecvDump ("unknown") so it can't give a code sequence directly. With many remotes you get a code reading like "NEC, 32,ABCDEF" instead of "unknown" Give it a try...
- 22 Jun 2019, 18:39
- Forum: ESP Easy: Projects / Applications
- Topic: ESPEasy to control video projector and roller screen ?
- Replies: 11
- Views: 19562
Re: ESPEasy to control video projector and roller screen ?
I've done that with some remotes using an Arduino sketch to get the exact codes. The program is called IRrecvDump V2, I ran it on an Arduino Uno Rev.3 with a TSOP sensor. I just took the code I got sending a HTTP request from my home automation. See the description at https://letscontrolit.com/wiki/...
- 22 Jun 2019, 12:00
- Forum: ESP Easy: Projects / Applications
- Topic: Capacitive Rain Sensor
- Replies: 13
- Views: 18236
Re: Capacitive Rain Sensor
I can't send a sketch, as it is not based on the Arduino IDE.SzuR wrote: ↑22 Jun 2019, 11:06 Hi
Great project can you please send me pcb's and sketch?
My email is mszura1@gmail.com
All PCB's can be obtained from me, later maybe from Grovkillen's shop.
- 21 Jun 2019, 21:45
- Forum: Introduce yourself
- Topic: introduction
- Replies: 1
- Views: 4180
Re: introduction
Welcome aboard
- 29 May 2019, 20:45
- Forum: ESP Easy: Projects / Applications
- Topic: Thundermon - A Lightning Detector
- Replies: 3
- Views: 18300
Re: Thundermon - A Lightning Detector **EXPERIMENTAL*
Update
Meanwhile the serial part is tested and working nicely.
Now I need some more thunderstorms....
Meanwhile the serial part is tested and working nicely.
Now I need some more thunderstorms....
- 23 May 2019, 20:43
- Forum: ESP Easy: Projects / Applications
- Topic: Thundermon - A Lightning Detector
- Replies: 3
- Views: 18300
Thundermon - A Lightning Detector
There are some lightning detector chips on the market. Most used is the AS3935, which is a highly sensitive "Franklin detector". The algorithm implemented into this chip allows for checking distances of lightnings, eliminating false positives etc. So why making another, less exact lightnin...
- 22 May 2019, 17:15
- Forum: ESP Easy: Hardware
- Topic: Temperature sensors - which are most precise?
- Replies: 12
- Views: 26218
Re: Temperature sensors - which are most precise?
BME 280 shows higher temp sometimes? I'm not sure how the plugins handle the SI7021 and the BME280. Both sensors have an internal heating to dry down the humidity sensor gel pad. This should be used in some interval to keep the sensor working and precise. The heating obviously influences temperature...
- 16 May 2019, 17:25
- Forum: ESP Easy: Hardware
- Topic: Temperature sensors - which are most precise?
- Replies: 12
- Views: 26218
Re: Temperature sensors - which are most precise?
Precise metering has a (high) price. Don't expect a BME280 from Aliexpress (usually a cheap copy of the genuine Bosch sensor) to be as accurate as the Bosch type. I wouldn't be so sure about someone's ability to copy Bosch's MEMS technology. Even if someone in China could mimic it, I don't see a ma...
- 14 May 2019, 21:45
- Forum: ESP Easy: Hardware
- Topic: Temperature sensors - which are most precise?
- Replies: 12
- Views: 26218
Re: Temperature sensors - which are most precise?
Hello, i don't have a HTU21 at hand so I can't test. My SI7021's are working fine. Usually they should (!) be compatible. Anyways, many sellers say SHT21, HTU21 and SI7021 are same which is definitely not correct. Try both settings, SI70021 and SHT21, maybe one works if the module isn't broken. It's...
- 14 May 2019, 16:05
- Forum: ESP Easy: Hardware
- Topic: Temperature sensors - which are most precise?
- Replies: 12
- Views: 26218
Re: Temperature sensors - which are most precise?
Hello, excuse me if i might sound like a teacher, but some basics first. Every sensor (and every thermometer) has a tolerance. It's unavoidable, we're not living in a perfect world... If you want to check a sensor, the reference you use must be one class better at least . What does this say? If you ...
- 22 Apr 2019, 15:51
- Forum: ESP Easy: Hardware
- Topic: High Current Relay Suggestion
- Replies: 9
- Views: 9160
Re: High Current Relay Suggestion
Careful on your choice of ultra cheap SSR! i purchased some from ebay a while back and it turned out they were fakes, labeled as 30A but were more like 10A! I can confirm this definitely. Had three such relays, all died quickly. On top some points usually are not mentioned by the sellers: - This re...
- 20 Apr 2019, 09:09
- Forum: ESP Easy: Hardware
- Topic: AC DIMMER PWM NODEMCU
- Replies: 4
- Views: 12062
Re: AC DIMMER PWM NODEMCU
And on top to papperone's post, the circuit has definitely no protection to voltage spikes. Not even a poor & cheap R/C-combo. Happy triac killing ?! But basically that's one possible way to do the job with some electronics around. A firmware for the ATTiny does not need witchcraft. It might be ...
- 16 Apr 2019, 23:05
- Forum: ESP Easy: Hardware
- Topic: AC DIMMER PWM NODEMCU
- Replies: 4
- Views: 12062
Re: AC DIMMER PWM NODEMCU
Hello, due to the schematics pulished with the dimmer it's just a triac driven via an opto coupler. It just can switch on and off without any special circuit around. For controling standard bulbs it uses phase controlled modulation. This would need a control from ESP exactly syncronized with the 50 ...
- 20 Mar 2019, 22:19
- Forum: ESP Easy: Software
- Topic: event without an event
- Replies: 6
- Views: 3940
Re: event without an event
Which version are you using?
I'm just working on some Rules depending on a dummy variable and I'm able to set the the time intervall without problems?
(Tested with mega-20190311)
I'm just working on some Rules depending on a dummy variable and I'm able to set the the time intervall without problems?
(Tested with mega-20190311)
- 16 Mar 2019, 20:30
- Forum: ESP Easy: General Discussion
- Topic: Rules problem...
- Replies: 5
- Views: 3960
Re: Rules problem...
definitely right, from my own experience......
- 16 Mar 2019, 20:25
- Forum: ESP Easy: Software
- Topic: Rule in espeasy für Hysterese
- Replies: 4
- Views: 4096
Re: Rule in espeasy für Hysterese
A dummy is a task without any sensor or actor. Let's say you use task No. 5 and define it as a dummy as you define an usual sensor or actor. A dummy has 4 "outputs", var1...var4. It can be set from rules with the command taslvalueset <tasknr>,<valuenr>,<value> So create a dummy in task 5, ...
- 16 Mar 2019, 00:59
- Forum: ESP Easy: Software
- Topic: Rule in espeasy für Hysterese
- Replies: 4
- Views: 4096
Re: Rule in espeasy für Hysterese
Maybe something easy helps It should be possible to calculate a hysteresis into the rules. I can't say if calculations can be done within the "if"... if so, it should be possible to use something like on 1#Temperature do if [1#Temperature] > ( [2#Temperature] + 5 ) gpio,5,0 endif if ( [1#T...
- 16 Mar 2019, 00:07
- Forum: ESP Easy: Projects / Applications
- Topic: Capacitive Rain Sensor
- Replies: 13
- Views: 18236
Re: Capacitive Rain Sensor
I still want to make some changes to the firmware. It works nice, the ESP does the heating control well... But the setting of threshhold values by recompiling and flashing firmware isn't to my likings. It should be possible to read the values from serial and store them into the EEprom area of the ch...