Search found 1144 matches

by Shardan
15 Feb 2020, 10:41
Forum: ESP Easy: Hardware
Topic: can not get BMP280 to work
Replies: 7
Views: 255

Re: can not get BMP280 to work

If the picture shows the board you use exactly I won't use 5V. I can't see any voltage regulator, just some capacitors and resistors. Following datasheet the BMP280 has a max. Vcc of 3,6V! For I²C the datasheet shows this circuit: . BMP280-I2C.jpg . Many modules connect Vdd and Vddio internaly, that...
by Shardan
12 Feb 2020, 13:11
Forum: ESP Easy: General Discussion
Topic: How to reset the RDIF Wiegand code
Replies: 15
Views: 1604

Re: How to reset the RDIF Wiegand code

Original thread is 2017..... many things changed since then.

And i'm not sure if a "taskrun,2" works at all...
Can't test or check atm, but the command reference says "taskrun,task-nr,device-nr" if i remember right.
by Shardan
11 Feb 2020, 19:11
Forum: ESP Easy: General Discussion
Topic: How to reset the RDIF Wiegand code
Replies: 15
Views: 1604

Re: How to reset the RDIF Wiegand code

Try to add a "taskrun <task/devicenr>" after taskvalueset
by Shardan
09 Feb 2020, 18:38
Forum: ESP Easy: Hardware
Topic: optimyze deep sleep with PCF8591
Replies: 5
Views: 402

Re: optimyze deep sleep with PCF8591

Using a GPIO to switch on/of the PCF might not work. The PCF8591 uses the I²C-interface. I²C runs an initialization process when the ESP boots up. This init process might run before you can start up the PCF via GPIO. So initializing I²C will not find the PCF in this case. Just an Idea I had when rea...
by Shardan
09 Feb 2020, 18:14
Forum: ESP Easy: Hardware
Topic: optimyze deep sleep with PCF8591
Replies: 5
Views: 402

Re: optimyze deep sleep with PCF8591

Ooops.. double post, sorry.
by Shardan
31 Jan 2020, 13:06
Forum: ESP Easy: General Discussion
Topic: Measure Rectified 50Hz Voltage Using Analog Input
Replies: 2
Views: 652

Re: Measure Rectified 50Hz Voltage Using Analog Input

Hello, several possible ways I think. First and most simple way: Use the output of your FET sensor, decouple via a diode and use a capacitor to get a true DC on your ADC Input. It's same circuit as a simple rectifying in a power supply. A second possibility would be a magnetic transformer on the AC ...
by Shardan
23 Jan 2020, 17:38
Forum: ESP Easy: General Discussion
Topic: Problems with push button , self activation
Replies: 11
Views: 1072

Re: Problems with push button , self activation

A capacitor "slows down" a connection. The capacitor needs a specific amount of time to load or unload, the time depends on the resistor you use. This combination just has a few miliseconds changing time. So if for examples spikes from the mains voltage line come across to your wire - it works like ...
by Shardan
23 Jan 2020, 14:27
Forum: ESP Easy: General Discussion
Topic: Problems with push button , self activation
Replies: 11
Views: 1072

Re: Problems with push button , self activation

Use an external low pull-up/pull-down Rrsistor, around 10 KOhm.
The internal resistors of ESP are "weak" and due to my experience sometimes not sufficient.

Connect a capacitor of about 47nf...100nF from GPIO to ground (May slow down very fast switchings, usually it has no effects.).
by Shardan
17 Jan 2020, 19:25
Forum: ESP Easy: Projects / Applications
Topic: ModeMCU + ADS1115 + 3xSCT-013-030
Replies: 16
Views: 1477

Re: ModeMCU + ADS1115 + 3xSCT-013-030

What do you mean with "How to power a multiplexer with 3 or 5V?" ?

Nice to hear it works better now.
by Shardan
13 Jan 2020, 13:25
Forum: ESP Easy: Projects / Applications
Topic: ModeMCU + ADS1115 + 3xSCT-013-030
Replies: 16
Views: 1477

Re: ModeMCU + ADS1115 + 3xSCT-013-030

I'd suggest to re-use the removed resistors or new resistors with same value.
Every sensor coil has it's specific value for the burden resistor (or load resistor, same),
so using the original manufacturer value seems best idea to me.
by Shardan
12 Jan 2020, 14:28
Forum: ESP Easy: Projects / Applications
Topic: ModeMCU + ADS1115 + 3xSCT-013-030
Replies: 16
Views: 1477

Re: ModeMCU + ADS1115 + 3xSCT-013-030

Didn't find a schematic but a very informative offer on AliExpress:
https://www.aliexpress.com/item/4000109096239.html

Look at the picture from that offer:
HW670_DurrentSensor_Output.jpg
HW670_DurrentSensor_Output.jpg (40.48 KiB) Viewed 1323 times
.
Sorry to say: That module just amplifies the AC output but does not rectify it.
by Shardan
12 Jan 2020, 12:03
Forum: ESP Easy: Projects / Applications
Topic: ModeMCU + ADS1115 + 3xSCT-013-030
Replies: 16
Views: 1477

Re: ModeMCU + ADS1115 + 3xSCT-013-030

I can't say anything about that module as i don't have any schematics.
Even basic data is missing.. Output DC or AC?
Withhout schematic it's difficult to even say if it is possible to use your SCT's.
by Shardan
11 Jan 2020, 19:45
Forum: ESP Easy: Projects / Applications
Topic: ModeMCU + ADS1115 + 3xSCT-013-030
Replies: 16
Views: 1477

Re: ModeMCU + ADS1115 + 3xSCT-013-030

Honestly I'd be surprised if any standard ADC would be able to handle AC. I'm doing a lot with electronics but never saw an ADC that was able to handle AC directly. May i suggest to take a look at the ESPeasy wiki: https://letscontrolit.com/wiki/index.php?title=Basics:_Analog_to_Digital_Converters I...
by Shardan
10 Jan 2020, 18:40
Forum: ESP Easy: Projects / Applications
Topic: ModeMCU + ADS1115 + 3xSCT-013-030
Replies: 16
Views: 1477

Re: ModeMCU + ADS1115 + 3xSCT-013-030

Nope, that won't work. The two resistors from your circuit will give a huge offset from zero.
by Shardan
09 Jan 2020, 21:18
Forum: ESP Easy: Projects / Applications
Topic: ModeMCU + ADS1115 + 3xSCT-013-030
Replies: 16
Views: 1477

Re: ModeMCU + ADS1115 + 3xSCT-013-030

Did you realize that the SCT-013-030 is a transformer? The output is AC, not DC. The ADS1115 isn't able to work with AC. It will measure at a random point of the sine wave resulting in changing values. The Circuit you showed is made for AC capable sensing. I'd use a bridge rectifier made from Schott...
by Shardan
29 Dec 2019, 13:34
Forum: ESP Easy: General Discussion
Topic: MQ-7 support
Replies: 7
Views: 1740

Re: MQ-7 support

Hello again. First, the circuit looks good to me. I've copied the signal diagram from the MQ-9 datasheet: . MQ-9_Signal.jpg . The upper line is the heating/measuring voltage, the lower one is the output signal. Looking at this diagram I think taking the value at the end of the measurement period sho...
by Shardan
28 Dec 2019, 16:58
Forum: ESP Easy: General Discussion
Topic: MQ-7 support
Replies: 7
Views: 1740

Re: MQ-7 support

The AD input of ESP's works from 0..1 V, dividing this into values from 0..1023. So 0,5V will give an output of 512 from the AD. Further info in my "Basics" at ESPEasy Wiki: https://letscontrolit.com/wiki/index.php?title=Basics:_Analog_to_Digital_Converters I'll try to make up an example. Please kee...
by Shardan
27 Dec 2019, 21:26
Forum: ESP Easy: General Discussion
Topic: MQ-7 support
Replies: 7
Views: 1740

Re: MQ-7 support

A plugin is not really necessary for MQ-7, as far as i can see from the datasheet. Timing can be done with the internal timer commands of ESP. Use a timer for 5V-heating, setting a GPIO to switch to 5V via a transistor. At the end of 5V-heating start a timer for measuring period. The value could be ...
by Shardan
22 Dec 2019, 19:50
Forum: ESP Easy: General Discussion
Topic: Beginner problems
Replies: 8
Views: 1973

Re: Beginner problems

According to the picture the board below the ESP-board contains a 8-pin chip. It seems this is a STC15F104, a mcrocontroller unit (mcu) made by ST Micro. I don't have such a module at hand so I just can guess... These mcu's are often used as a serial relay controller located between the ESP and the ...
by Shardan
20 Dec 2019, 11:59
Forum: ESP Easy: Projects / Applications
Topic: dosing pump for fish tank
Replies: 7
Views: 3609

Re: dosing pump for fish tank

Makes senso for industrial chemical processing for example.
For a fishtanks fertilizer pump it is just a senseless and expensive overhead.
by Shardan
16 Dec 2019, 16:33
Forum: ESP Easy: Hardware
Topic: Creating a paper-mail to email gateway
Replies: 2
Views: 1712

Re: Creating a paper-mail to email gateway

Differences between ESP-12F and ESP-07S: - IPEX connector instead of PCB antenna - some fewer pins on ESP-07s (which is no problem as they are not recommended for ESPEasy anyways) Besides this the ESP-07S and ESP-12F are same! Just use an ESP-07S, do NOT use the older ESP-07 as it has 512KB memory o...
by Shardan
16 Dec 2019, 16:25
Forum: ESP Easy: Hardware
Topic: Unable to solve RPC server.
Replies: 6
Views: 1804

Re: Unable to solve RPC server.

.. would not open that link.....
by Shardan
10 Nov 2019, 19:03
Forum: ESP Easy: Projects / Applications
Topic: dosing pump for fish tank
Replies: 7
Views: 3609

Re: dosing pump for fish tank

Hello again, can't say anything about that Wemos board, it is definitely not the classical D1 but an Arduino like version. I don't know if the motor shield works backpacked to this board. The shield was made with Arduino Uno or similar in mind - these have 5V GPIO. The Ali offer just says it can be ...
by Shardan
08 Nov 2019, 14:30
Forum: ESP Easy: Projects / Applications
Topic: dosing pump for fish tank
Replies: 7
Views: 3609

Re: dosing pump for fish tank

Hello TungstenE2, well, I didn't with ESPeasy, but I've developed such pumps for my former company (we developed fish tanks, pH control, light, heating, analytics etc...) some years ago so I can give you some hints that might be usefull. The type of the pump: Using a stepper isn't really necessary, ...
by Shardan
17 Oct 2019, 16:04
Forum: ESP Easy: Software
Topic: What am I doing wrong with the ESP32 module?
Replies: 17
Views: 2404

Re: What am I doing wrong with the ESP32 module?

Testing will be lonely when there is no HowTo for flashing...
I gave in meanwhile, didn't get any ESP32 to run.
by Shardan
13 Oct 2019, 14:57
Forum: ESP Easy: Software
Topic: What am I doing wrong with the ESP32 module?
Replies: 17
Views: 2404

Re: What am I doing wrong with the ESP32 module?

I'd really like some advice how to flash an ESP32.
Sadly I have no clue how to do that.
I could write a wiki about that but at this time my job
takes every minute so I lack time to find out everything by myself.

I've some ESP32-nodeMCUs here waiting......
by Shardan
06 Oct 2019, 21:46
Forum: ESP Easy: Software
Topic: What am I doing wrong with the ESP32 module?
Replies: 17
Views: 2404

Re: What am I doing wrong with the ESP32 module?

Any usefull "HowTo flash ESp32"? Nothing in the Wiki, afaik.
by Shardan
27 Sep 2019, 08:33
Forum: ESP Easy: General Discussion
Topic: Issue with PCF8574 & Relays
Replies: 19
Views: 5951

Re: Issue with PCF8574 & Relays

These 8-Relay-boards have a diode in parallel to the relay coil. It's easily visible on the PCB next to the relay. If this diode wouldn't exist the transistor switching the coil just would blow at first power-off of the relay coil. A problem might be caused by the ground connections. Even using opto...
by Shardan
22 Sep 2019, 17:20
Forum: ESP Easy: Projects / Applications
Topic: electrical power outage detection
Replies: 13
Views: 6482

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: 30
Views: 19954

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: 6
Views: 5389

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: 6
Views: 5389

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

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: 20
Views: 7963

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: 20
Views: 7963

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: 61
Views: 7421

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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