Search found 1116 matches

by Shardan
22 Sep 2019, 17:20
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 11
Views: 397

Re: electrical power outage detection

Just a very simple idea I had for this purpose. Just pull up the GPIO 16 (Deepsleep) with a 10K resistor - let it sleep until triggered, then run once and get back to sleep. For triggering the reset input can be used with a relay and some addon parts. . Powerloss_detection.jpg . The relay uses the "...
by Shardan
22 Sep 2019, 13:15
Forum: ESP Easy: Hardware
Topic: SONOFF MINI
Replies: 5
Views: 5496

Re: SONOFF MINI

No experience with it, but flashing ESPEasy appears to be possible. It has a ESP8265 (1MB) and four solder pads for the serial interface. See PCB photos here: https://fccid.io/2APN5-MINI/Internal-Photos/Internal-Photos-4291787 The bad news is that the photos show that most GPIO pins don't have conv...
by Shardan
22 Sep 2019, 11:23
Forum: ESP Easy: General Discussion
Topic: DS18b20.....again
Replies: 5
Views: 117

Re: DS18b20.....again

Hi Sascha, we used electrolytic caps just because they were in the shelf. You may use any 10µf capacitor you have at hand. Just make sure the capacitance is really 10µF, not 10 nF. Just remember that another pullup resistor comes with the ready made levelshifter. 10 KOhm in parallel with your 4,7KOh...
by Shardan
21 Sep 2019, 18:55
Forum: ESP Easy: General Discussion
Topic: DS18b20.....again
Replies: 5
Views: 117

Re: DS18b20.....again

Hi Sascha, to my experiences there are no settings needed for high/low on the GPIO's. 4K7 resistor is correct, at least following datasheet. I did some testing with DS18B20 and have a sensor chain running at my company with 5 sensors on a 12 m cable. First, microphone cable did not work for us, it j...
by Shardan
12 Sep 2019, 19:44
Forum: ESP Easy: Software
Topic: switch without gpio
Replies: 3
Views: 460

Re: switch without gpio

Are you talking about inputs or outputs? Switch inputs are limited as an input needs a task - tasks are limited to 12. Up to 12 inputs can be used with two PCF8574 or one MCP23017 (8 port and 16 port IO expanders) Outputs are not limited by tasks as they don't need a task at all, they are just drive...
by Shardan
04 Sep 2019, 21:32
Forum: ESP Easy: General Discussion
Topic: Feedback required: New sets of plugins/controllers
Replies: 12
Views: 1021

Re: Feedback required: New sets of plugins/controllers

You really think that is a solution for a normal user? Sorry, but if ESPeasy should grow into a business or something alike it needs solutions a normal user can handle. Vagrant in a virtual machine is far away from that. For a normal user the Arduino IDE incl. adding libs and core is near the limits...
by Shardan
04 Sep 2019, 15:09
Forum: ESP Easy: General Discussion
Topic: Feedback required: New sets of plugins/controllers
Replies: 12
Views: 1021

Re: Feedback required: New sets of plugins/controllers

Hello, Something similar to this will work the best : https://nodemcu-build.com/ User can choose their components and system will provide the image. -D This would be my favorite. There are already such webpages compiling a complete set, even for ESP8266 IoT. A less nice but possible way would be a ...
by Shardan
26 Aug 2019, 14:33
Forum: ESP Easy: Hardware
Topic: Solar Power Supply
Replies: 59
Views: 3015

Re: Solar Power Supply

I'm wondering if a Buck/burst converter type might work... A small converter like this: https://www.aliexpress.com/item/32639625554.html?spm=a2g0s.9042311.0.0.27424c4dwlzGg5 Note it has two IC's and can convert up and down. I've checked several powerbanks, these are simply a LiIon or LiPo battery wi...
by Shardan
25 Aug 2019, 20:30
Forum: ESP Easy: Software
Topic: Standalone mode
Replies: 18
Views: 1349

Re: Standalone mode

https://www.deltakit.net/product/i2c-rtceprom-board/ https://www.itead.cc/iic-eeprom-and-rtc-module.html https://www.elecrow.com/rtc-eeprom-module-ds3231-at24c32-p-863.html Or from Ali: https://www.aliexpress.com/item/2037934408.html?spm=a2g0o.productlist.0.0.2e5555d2bPBiDV&algo_pvid=7a0f0cbb-7aa2-4...
by Shardan
25 Aug 2019, 19:12
Forum: ESP Easy: Hardware
Topic: pcf8574 can not actuate a relay (only it's LED)
Replies: 8
Views: 1068

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

The example uses a resistor for the thermistor, not for relay if i see that right. The problem is simple: The PCF8574 outputs use a "constant current" source to pull up to Vcc (5V in your case). The current is limited to 100µA internally, so that's the maximum you can get out of the PCF. The relay u...
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: 1068

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: 1863

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: 1863

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: 1863

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

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: 1875

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: 1508

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 "TaskValueSet,3,1,5" (Task 3...
by Shardan
10 Aug 2019, 18:57
Forum: Introduce yourself
Topic: Hi from Scotland
Replies: 3
Views: 117

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: 1323

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 goes to 5V, The "base" goe...
by Shardan
04 Aug 2019, 22:16
Forum: Experimental
Topic: Pro Mini Extender "Advanced" concept
Replies: 8
Views: 2104

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: 1642

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: 1642

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

Re: Hello from sweden

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

Re: Hello!

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

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: 84

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: 6078

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: 3973

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: 157
Views: 13805

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: 3401

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: 157
Views: 13805

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

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 without the quotation marks please.
by Shardan
01 Jul 2019, 19:17
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 157
Views: 13805

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: 157
Views: 13805

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

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 several seconds to refresh, sometime...
by Shardan
26 Jun 2019, 17:36
Forum: ESP Easy: General Discussion
Topic: Hardware Watchdog Reboots
Replies: 157
Views: 13805

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: 157
Views: 13805

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: 157
Views: 13805

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: 4319

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: 3973

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

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: 5294

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

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: 4
Views: 891

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: 252

Re: introduction

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

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: 6078

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

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: 10
Views: 825

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