Search found 1156 matches

by Shardan
25 Aug 2019, 09:36
Forum: ESP Easy: Hardware
Topic: pcf8574 can not actuate a relay (only it's LED)
Replies: 8
Views: 14752

Re: pcf8574 can not actuate a relay (only it's LED)

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?
by Shardan
14 Aug 2019, 22:18
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 20469

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...
by Shardan
13 Aug 2019, 18:53
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 20469

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...
by Shardan
12 Aug 2019, 17:48
Forum: ESP Easy: Software
Topic: [SOLVED]Problem with relays during boot nodeMCU
Replies: 19
Views: 20469

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...
by Shardan
11 Aug 2019, 22:31
Forum: ESP Easy: Software
Topic: Strange problem with BMP180
Replies: 18
Views: 13247

Re: Strange problem with BMP180

I'll do my very best :)
by Shardan
11 Aug 2019, 00:10
Forum: ESP Easy: Software
Topic: Strange problem with BMP180
Replies: 18
Views: 13247

Re: Strange problem with BMP180

need a sample?
by Shardan
10 Aug 2019, 21:46
Forum: ESP Easy: General Discussion
Topic: http request doesn't alter value
Replies: 7
Views: 9401

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...
by Shardan
10 Aug 2019, 18:57
Forum: Introduce yourself
Topic: Hi from Scotland
Replies: 2
Views: 6186

Re: Hi from Scotland

Welcome aboard :)
by Shardan
09 Aug 2019, 08:33
Forum: ESP Easy: Hardware
Topic: Relay is able to turn ON but get stuck at OFF
Replies: 3
Views: 10442

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...
by Shardan
04 Aug 2019, 22:16
Forum: Experimental
Topic: Pro Mini Extender "Advanced" concept
Replies: 8
Views: 37163

Re: Pro Mini Extender "Advanced" concept

TD-er wrote: 03 Aug 2019, 01:16 In my garden I have a setup which has an ATmega in a separate enclosure, connected with a serial wire inbetween (prototype Weather station designed by Shardan)
So I am absolutely convinced there is a need for these kind of setups :)
Indeed there is :)
by Shardan
04 Aug 2019, 22:13
Forum: ESP Easy: Hardware
Topic: Serial Communikation Arduino ->espeasy
Replies: 6
Views: 11666

Re: Serial Communikation Arduino ->espeasy

TD-er wrote: 04 Aug 2019, 19:56 @Shardan
That's also a nice one, to let Arduino generate ESPeasy commands
Honestly i read this solution somewhere here at the forum a while ago... it works.
And it can do more then "taskvalueset" - every command that can be used by serial is possible.
by Shardan
04 Aug 2019, 19:07
Forum: ESP Easy: Hardware
Topic: Serial Communikation Arduino ->espeasy
Replies: 6
Views: 11666

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...
by Shardan
31 Jul 2019, 20:23
Forum: Introduce yourself
Topic: Hello from sweden
Replies: 2
Views: 4996

Re: Hello from sweden

WElcome aboard :)
by Shardan
29 Jul 2019, 19:15
Forum: Introduce yourself
Topic: Hello!
Replies: 1
Views: 4164

Re: Hello!

Welcome aboard :)
by Shardan
29 Jul 2019, 19:12
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 224874

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 ...
by Shardan
21 Jul 2019, 16:28
Forum: Introduce yourself
Topic: hey irfan here
Replies: 1
Views: 3726

Re: hey irfan here

Welcome aboard :)
by Shardan
20 Jul 2019, 18:33
Forum: ESP Easy: Projects / Applications
Topic: Thundermon - A Lightning Detector
Replies: 3
Views: 18266

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.
by Shardan
20 Jul 2019, 18:32
Forum: ESP Easy: Projects / Applications
Topic: Weather Sensor
Replies: 3
Views: 16005

Re: Weather Sensor

Some thundersturms later...

Now I can say that the thunderstorm detector as well as the rain sensor are working reliably.
by Shardan
20 Jul 2019, 14:58
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 224874

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 ...
by Shardan
10 Jul 2019, 19:13
Forum: ESP Easy: Projects / Applications
Topic: Sleeptime
Replies: 24
Views: 24339

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...
by Shardan
10 Jul 2019, 17:08
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 224874

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 "...
by Shardan
04 Jul 2019, 18:31
Forum: ESP Easy: Software
Topic: Not configured in Station Mode!
Replies: 8
Views: 6998

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...
by Shardan
01 Jul 2019, 19:17
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 224874

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.
by Shardan
27 Jun 2019, 21:46
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 224874

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...
by Shardan
27 Jun 2019, 14:45
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 224874

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...
by Shardan
26 Jun 2019, 17:36
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 224874

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.
by Shardan
26 Jun 2019, 13:36
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 224874

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...
by Shardan
25 Jun 2019, 12:59
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 224874

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 ...
by Shardan
23 Jun 2019, 19:26
Forum: ESP Easy: Projects / Applications
Topic: wemos D1 R2 + two HC-SR04
Replies: 9
Views: 18777

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 ...
by Shardan
23 Jun 2019, 17:06
Forum: ESP Easy: Projects / Applications
Topic: Weather Sensor
Replies: 3
Views: 16005

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...
by Shardan
23 Jun 2019, 15:04
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 219
Views: 224874

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...
by Shardan
23 Jun 2019, 13:16
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control video projector and roller screen ?
Replies: 11
Views: 19446

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...
by Shardan
22 Jun 2019, 18:39
Forum: ESP Easy: Projects / Applications
Topic: ESPEasy to control video projector and roller screen ?
Replies: 11
Views: 19446

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/...
by Shardan
22 Jun 2019, 12:00
Forum: ESP Easy: Projects / Applications
Topic: Capacitive Rain Sensor
Replies: 13
Views: 17346

Re: Capacitive Rain Sensor

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
I can't send a sketch, as it is not based on the Arduino IDE.
All PCB's can be obtained from me, later maybe from Grovkillen's shop.
by Shardan
21 Jun 2019, 21:45
Forum: Introduce yourself
Topic: introduction
Replies: 1
Views: 4148

Re: introduction

Welcome aboard
by Shardan
29 May 2019, 20:45
Forum: ESP Easy: Projects / Applications
Topic: Thundermon - A Lightning Detector
Replies: 3
Views: 18266

Re: Thundermon - A Lightning Detector **EXPERIMENTAL*

Update

Meanwhile the serial part is tested and working nicely.
Now I need some more thunderstorms.... :)
by Shardan
23 May 2019, 20:43
Forum: ESP Easy: Projects / Applications
Topic: Thundermon - A Lightning Detector
Replies: 3
Views: 18266

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...
by Shardan
22 May 2019, 17:15
Forum: ESP Easy: Hardware
Topic: Temperature sensors - which are most precise?
Replies: 12
Views: 25912

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...
by Shardan
16 May 2019, 17:25
Forum: ESP Easy: Hardware
Topic: Temperature sensors - which are most precise?
Replies: 12
Views: 25912

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...
by Shardan
14 May 2019, 21:45
Forum: ESP Easy: Hardware
Topic: Temperature sensors - which are most precise?
Replies: 12
Views: 25912

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...
by Shardan
14 May 2019, 16:05
Forum: ESP Easy: Hardware
Topic: Temperature sensors - which are most precise?
Replies: 12
Views: 25912

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 ...
by Shardan
22 Apr 2019, 15:51
Forum: ESP Easy: Hardware
Topic: High Current Relay Suggestion
Replies: 9
Views: 8649

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...
by Shardan
20 Apr 2019, 09:09
Forum: ESP Easy: Hardware
Topic: AC DIMMER PWM NODEMCU
Replies: 4
Views: 11378

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 ...
by Shardan
16 Apr 2019, 23:05
Forum: ESP Easy: Hardware
Topic: AC DIMMER PWM NODEMCU
Replies: 4
Views: 11378

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 ...
by Shardan
20 Mar 2019, 22:19
Forum: ESP Easy: Software
Topic: event without an event
Replies: 6
Views: 3860

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)
by Shardan
16 Mar 2019, 20:30
Forum: ESP Easy: General Discussion
Topic: Rules problem...
Replies: 5
Views: 3901

Re: Rules problem...

definitely right, from my own experience......

:D
by Shardan
16 Mar 2019, 20:25
Forum: ESP Easy: Software
Topic: Rule in espeasy für Hysterese
Replies: 4
Views: 4077

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, ...
by Shardan
16 Mar 2019, 00:59
Forum: ESP Easy: Software
Topic: Rule in espeasy für Hysterese
Replies: 4
Views: 4077

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...
by Shardan
16 Mar 2019, 00:07
Forum: ESP Easy: Projects / Applications
Topic: Capacitive Rain Sensor
Replies: 13
Views: 17346

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...