New ESP gadget

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: New ESP gadget

#251 Post by enesbcs » 08 Jul 2017, 21:24

Anyone seen Xenon WiFi Touch Switch? It's more expensive than Sonoff Touch...

User avatar
renearts
New user
Posts: 9
Joined: 26 May 2016, 13:31
Location: Volkel, NL
Contact:

Re: New ESP gadget

#252 Post by renearts » 13 Jul 2017, 17:05

enesbcs wrote: 08 Jul 2017, 08:21
renearts wrote: 07 Jul 2017, 16:36 ...
Would love to flash them with ESPEasy, as it is a real delight to work with, and easier to keep all devices around the house on one system.
The most important code regarding the Dual from Espurna seems to be this snippet:
...
I hope I can find some time somewhere in the next weeks to fiddle a bit around with the dual.
I'm looking forward to the testers of plugin 165... :)
https://www.letscontrolit.com/forum/vie ... 380#p17380

There are also a direct approach of the Sonoff Dual control by bryan:
https://www.letscontrolit.com/forum/vie ... 258#p17196
Oh that's great, must have overlooked this one. I hope I can find some spare time the next coming days to give this a try!

darek2
New user
Posts: 3
Joined: 12 Apr 2017, 20:13

Re: New ESP gadget

#253 Post by darek2 » 07 Aug 2017, 19:09


papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#254 Post by papperone » 07 Aug 2017, 22:18

what's the point? more expensive than a sonoff and it requires an external power supply... :?
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

pverburg
New user
Posts: 2
Joined: 14 Apr 2017, 04:50

Re: New ESP gadget

#255 Post by pverburg » 13 Aug 2017, 03:55

Thanks for your off topic information.

I now have my pow reporting in to domoticz with your help still lots to learn.
ESPurna works great and I do see the POW as separate to the other sonoff products I'm running.
Life control circuits need to be handled with respect.

Paul V.

costo wrote: 03 May 2017, 16:39
BounceMeister wrote: 02 May 2017, 23:10 I tried ESPurna, but i can't get it to work on my Sonoff Dual. It fails at the start, while trying to connect.
I'll just forget about this Sonoff stuff. It sounded great, but it's just a disappointment to me now.

Now i have to figure out a way to flash the original firmware back onto it.
Did you try to flash the compiled source as it is published by the maker of espurna ?
You can find all the Sonoff precompiled firmware bin_files here:
https://bitbucket.org/xoseperez/espurna/downloads/
I think it can work on your dual relais or 4 channel relais very well if you follow the right steps.


Now I will go offtopic a little but this is my very positive experience with espurna:

I flashed my Sonoff-POW with Espurna and it works great. I compiled it myself with Atom editer and PlatformIO plugin. I work under linux and followed this guide:
http://www.cnx-software.com/2016/12/03/ ... ss-switch/

In linux or windows:
After flashing you login on 192.168.4.1 , username is admin and password is fibonacci. The first thing the firmware wants you to do is create a new password.
New password needs minimal 8 characters with at least 1 Capital and 1 Number.
Than you enter your own user/pass for your local WiFi network and go to there.
There fill in your MQTT Server_IP and Topic_name (I left topic unchanged).

As I use Domoticz I went to the Domoticz tab on sonoff-pow internal webserver and filled in 5 Idx numbers earlier created in Domoticz as Virtual sensors.
1 Power sensor type: Usage_Electric , registers in Watt
2 Energy_Increment type: Counter_Incremental , registers in kWh (WattHours)
3 Voltage type: Voltage , registers in Volt
4 Current type: Ampere(1 phase) , registers in Ampere
5 Switch type: Switch
Enabled a Domoticz hardware device called: MQTT Client Gateway with Lan Interface. IP is IP of my local RasPi server and the port is 1883. The publish topic i set to ´out +/´ .
You can even calibrate the Sonoff-pow in the webinterface by connecting a known resistive device (lamp or heater) and fill in the measured Watts, Current and Voltage in the Power tab and update these values.

I think Espurna is great software and, as most Sonoff´s are dedicated devices, there is no real need to integrate any of the Sonoff devices in ESPEasy. You can so easy use the precompiled source code from Xose Perez from bitbucket.

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: New ESP gadget

#256 Post by enesbcs » 10 Sep 2017, 18:47

papperone wrote: 07 Aug 2017, 22:18
what's the point? more expensive than a sonoff and it requires an external power supply... :?
And with internal power supply? (50x33x22mm)
http://www.ebay.com/itm/AC-220V-Wifi-Re ... EBIDX%3AIT

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: New ESP gadget

#257 Post by enesbcs » 10 Sep 2017, 18:52

Anyone tried DiFi ESP8266? Seems nice, altough it's price is higher than a Raspberry Pi Zero W. :)
https://www.aliexpress.com/item/DiFi-ES ... 45026.html

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#258 Post by papperone » 10 Sep 2017, 21:06

enesbcs wrote: 10 Sep 2017, 18:47
papperone wrote: 07 Aug 2017, 22:18
what's the point? more expensive than a sonoff and it requires an external power supply... :?
And with internal power supply? (50x33x22mm)
http://www.ebay.com/itm/AC-220V-Wifi-Re ... EBIDX%3AIT
Have you look the distance between relay pins (NO/COM/NC) and the ESP pins?
Would you consider have main live so close to the digital pins of the microcontroller? Not me!
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: New ESP gadget

#259 Post by enesbcs » 11 Sep 2017, 17:30

papperone wrote: 10 Sep 2017, 21:06
enesbcs wrote: 10 Sep 2017, 18:47 And with internal power supply? (50x33x22mm)
http://www.ebay.com/itm/AC-220V-Wifi-Re ... EBIDX%3AIT
Have you look the distance between relay pins (NO/COM/NC) and the ESP pins?
Would you consider have main live so close to the digital pins of the microcontroller? Not me!
Good point. What is the appropriate distance according to you?

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#260 Post by papperone » 11 Sep 2017, 21:00

enesbcs wrote: 11 Sep 2017, 17:30
papperone wrote: 10 Sep 2017, 21:06 Have you look the distance between relay pins (NO/COM/NC) and the ESP pins?
Would you consider have main live so close to the digital pins of the microcontroller? Not me!
Good point. What is the appropriate distance according to you?
In my design I use minimum 15mm or if this is not possible I add a "cut/hole" in between to separate high/low voltage traces...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

MonkeyTown
Normal user
Posts: 25
Joined: 08 May 2016, 02:29

Re: New ESP gadget

#261 Post by MonkeyTown » 27 Oct 2017, 04:45

Just in case anyone is running into problems after flashing the new Sonoff S20 plugs (or maybe others as well)

Sonoff flashes as usual, but after reset (plugging in AC) there is now Wifi AP as the device just hangs. New boards are either delivered with ESP8285 or need DOut reset mode.

viewtopic.php?f=4&t=3615&p=20211#p20211

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: New ESP gadget

#262 Post by enesbcs » 20 Nov 2017, 18:19

Not new, but anyone has tested the followin ESP relay?
https://www.ebay.com/itm/ESP8266-ESP-01 ... 2864309446
It has a greater brother that has a serial MCU between the relay and the ESP-01, but this smaller version (yellow socket, no serial pins) is working similarly?

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: New ESP gadget

#263 Post by manjh » 20 Nov 2017, 18:26

enesbcs wrote: 20 Nov 2017, 18:19 Not new, but anyone has tested the followin ESP relay?
https://www.ebay.com/itm/ESP8266-ESP-01 ... 2864309446
It has a greater brother that has a serial MCU between the relay and the ESP-01, but this smaller version (yellow socket, no serial pins) is working similarly?
As far as I can see it is 8266 based!
See this one at Banggood:
https://www.banggood.com/search/esp-01s ... odule.html
I think that would take this unit:
https://www.banggood.com/Upgraded-Versi ... rehouse=CN
So the ebay offer is not bad at all!

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: New ESP gadget

#264 Post by enesbcs » 20 Nov 2017, 18:33

manjh wrote: 20 Nov 2017, 18:26 As far as I can see it is 8266 based!
See this one at Banggood:
https://www.banggood.com/search/esp-01s ... odule.html
I think that would take this unit:
https://www.banggood.com/Upgraded-Versi ... rehouse=CN
So the ebay offer is not bad at all!
The pictures at banggood are better.. I do not see other MCU, the relay perhaps directly changed by GPIO0 of the ESP-01?

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: New ESP gadget

#265 Post by manjh » 20 Nov 2017, 19:02

enesbcs wrote: 20 Nov 2017, 18:33
manjh wrote: 20 Nov 2017, 18:26 As far as I can see it is 8266 based!
See this one at Banggood:
https://www.banggood.com/search/esp-01s ... odule.html
I think that would take this unit:
https://www.banggood.com/Upgraded-Versi ... rehouse=CN
So the ebay offer is not bad at all!
The pictures at banggood are better.. I do not see other MCU, the relay perhaps directly changed by GPIO0 of the ESP-01?
It looks like a very simple device, so I assume you are right.... anyway, the risk is low (only a few Euro's).

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#266 Post by papperone » 20 Nov 2017, 20:42

Wouldn't be better a Sonoff then?
As far as you need to drive 230VAC load you can't find better deals...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: New ESP gadget

#267 Post by enesbcs » 20 Nov 2017, 20:59

papperone wrote: 20 Nov 2017, 20:42 Wouldn't be better a Sonoff then?
As far as you need to drive 230VAC load you can't find better deals...
I am sure that a Sonoff would be better, but it's size is impressive: 37 x 25mm.
It's in my shopping cart more than an hour, viewing pictures from every angle, thinking about it... then i realize the truth in manjh's post and buy one. :) I'll see what can this be used for.

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: New ESP gadget

#268 Post by manjh » 20 Nov 2017, 22:25

enesbcs wrote: 20 Nov 2017, 20:59
papperone wrote: 20 Nov 2017, 20:42 Wouldn't be better a Sonoff then?
As far as you need to drive 230VAC load you can't find better deals...
I am sure that a Sonoff would be better, but it's size is impressive: 37 x 25mm.
It's in my shopping cart more than an hour, viewing pictures from every angle, thinking about it... then i realize the truth in manjh's post and buy one. :) I'll see what can this be used for.
I ordered one minutes after I read your post, mainly to see what it can be used for :) .

The argument about Sonoff is valid, but Sonoff has different features.
It is powered directly from 230V, which can be an advantage. On the other hand it can also be a disadvantage if I want to switch anything else than 230V mains.
Also, the Sonoff is bigger. This unit could be easier to build into a device, provided there is a 5V power source available (or enough room to add a small 5V power supply).
So: there is no winner, both devices are different and useful (I hope).

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#269 Post by papperone » 20 Nov 2017, 23:48

manjh wrote: 20 Nov 2017, 22:25 I ordered one minutes after I read your post, mainly to see what it can be used for :) .

The argument about Sonoff is valid, but Sonoff has different features.
It is powered directly from 230V, which can be an advantage. On the other hand it can also be a disadvantage if I want to switch anything else than 230V mains.
Also, the Sonoff is bigger. This unit could be easier to build into a device, provided there is a 5V power source available (or enough room to add a small 5V power supply).
So: there is no winner, both devices are different and useful (I hope).
I agree there's no winner, I was assuming that if you need to switch AC load, then sonoff is more self-contained and for this other board you need external 5VDC to be supplied (that will make not easy to fit the units, considering as well the power supply).
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: New ESP gadget

#270 Post by toffel969 » 21 Nov 2017, 00:18

As an idea, if you need to have the relay on a different purpose than switching mains, one can cut the traces to mains.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: New ESP gadget

#271 Post by manjh » 21 Nov 2017, 10:12

toffel969 wrote: 21 Nov 2017, 00:18 As an idea, if you need to have the relay on a different purpose than switching mains, one can cut the traces to mains.
On a Sonoff you can't, since the power supply for the ESP part is drawn from mains.
On the little device in this topic: you don't need to, since the relay will only be used for switching, so it doesn't really care what is attached.

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: New ESP gadget

#272 Post by toffel969 » 21 Nov 2017, 16:55

manjh wrote: 21 Nov 2017, 10:12
toffel969 wrote: 21 Nov 2017, 00:18 As an idea, if you need to have the relay on a different purpose than switching mains, one can cut the traces to mains.
On a Sonoff you can't, since the power supply for the ESP part is drawn from mains.
On the little device in this topic: you don't need to, since the relay will only be used for switching, so it doesn't really care what is attached.
That is exactly what I am trying to point out. You can achieve the same functionality with a Sonoff, you just need to cut the traces connecting mains from input clamps to the relay. Then you can switch anything.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: New ESP gadget

#273 Post by manjh » 21 Nov 2017, 17:06

toffel969 wrote: 21 Nov 2017, 16:55
manjh wrote: 21 Nov 2017, 10:12
toffel969 wrote: 21 Nov 2017, 00:18 As an idea, if you need to have the relay on a different purpose than switching mains, one can cut the traces to mains.
On a Sonoff you can't, since the power supply for the ESP part is drawn from mains.
On the little device in this topic: you don't need to, since the relay will only be used for switching, so it doesn't really care what is attached.
That is exactly what I am trying to point out. You can achieve the same functionality with a Sonoff, you just need to cut the traces connecting mains from input clamps to the relay. Then you can switch anything.
Sounds tricky, since you would need to keep the leads to the power supply intact! Remember the ESP part of the Sonoff is powered that way.
Also, you would have to make new connections to the relay.
I think I would rather go for a separate NodeMCU with a relay board, which is effectively just what this small device is.

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: New ESP gadget

#274 Post by toffel969 » 21 Nov 2017, 17:18

manjh wrote: 21 Nov 2017, 17:06
toffel969 wrote: 21 Nov 2017, 16:55
manjh wrote: 21 Nov 2017, 10:12
On a Sonoff you can't, since the power supply for the ESP part is drawn from mains.
On the little device in this topic: you don't need to, since the relay will only be used for switching, so it doesn't really care what is attached.
That is exactly what I am trying to point out. You can achieve the same functionality with a Sonoff, you just need to cut the traces connecting mains from input clamps to the relay. Then you can switch anything.
Sounds tricky, since you would need to keep the leads to the power supply intact! Remember the ESP part of the Sonoff is powered that way.
Also, you would have to make new connections to the relay.
I think I would rather go for a separate NodeMCU with a relay board, which is effectively just what this small device is.
Sure, I got nothing against the small device, and if you buy for the purpose, it is undoutbely better than "open heart surgery" on a sonoff.
However, often one finds the situation where you just have a sonoff lying around and want to switch "something DC"... then cutting the traces and making a new connection can be an option.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#275 Post by papperone » 21 Nov 2017, 17:44

I've my own custom made solution, which is way better than sonoff, up to 3 relays and can control anything from 230VAC down to 5VDC :mrgreen:
https://www.letscontrolit.com/wiki/inde ... ule3xRelay
It's small enough (80x60 mm) and I just need to design an enclosure fro external use (not top priority as I'm already using many of those inside junction boxes)

PS: it also has a full ESP8266 with 4Mb flash mem and all pinout brough out to pinheaders for easy connection of additional devices (I use those pins for temperature sensors and PIR devices)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: New ESP gadget

#276 Post by toffel969 » 21 Nov 2017, 18:08

papperone wrote: 21 Nov 2017, 17:44 I've my own custom made solution, which is way better than sonoff, up to 3 relays and can control anything from 230VAC down to 5VDC :mrgreen:
https://www.letscontrolit.com/wiki/inde ... ule3xRelay
It's small enough (80x60 mm) and I just need to design an enclosure fro external use (not top priority as I'm already using many of those inside junction boxes)

PS: it also has a full ESP8266 with 4Mb flash mem and all pinout brough out to pinheaders for easy connection of additional devices (I use those pins for temperature sensors and PIR devices)
In deed, this is better. Do you sell your pcb?
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#277 Post by papperone » 21 Nov 2017, 21:52

toffel969 wrote: 21 Nov 2017, 18:08
papperone wrote: 21 Nov 2017, 17:44 I've my own custom made solution, which is way better than sonoff, up to 3 relays and can control anything from 230VAC down to 5VDC :mrgreen:
https://www.letscontrolit.com/wiki/inde ... ule3xRelay
It's small enough (80x60 mm) and I just need to design an enclosure fro external use (not top priority as I'm already using many of those inside junction boxes)

PS: it also has a full ESP8266 with 4Mb flash mem and all pinout brough out to pinheaders for easy connection of additional devices (I use those pins for temperature sensors and PIR devices)
In deed, this is better. Do you sell your pcb?
never thought about it, if you are able to assemble it I can share the gerber files but consider all discrete components are SMD...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: New ESP gadget

#278 Post by LisaM » 22 Nov 2017, 03:26

papperone wrote: 21 Nov 2017, 17:44 I've my own custom made solution, which is way better than sonoff, up to 3 relays and can control anything from 230VAC down to 5VDC :mrgreen:
https://www.letscontrolit.com/wiki/inde ... ule3xRelay
It's small enough (80x60 mm) and I just need to design an enclosure fro external use (not top priority as I'm already using many of those inside junction boxes)

PS: it also has a full ESP8266 with 4Mb flash mem and all pinout brough out to pinheaders for easy connection of additional devices (I use those pins for temperature sensors and PIR devices)
One of the most densly packed esp8266 i ever saw: https://github.com/JanGoe/esp8266-wifi-relay
48x48mm...
I once asked itead for even more densely packed 8266, an micro module. Never heard back from them...

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#279 Post by papperone » 22 Nov 2017, 07:00

LisaM wrote: 22 Nov 2017, 03:26 One of the most densly packed esp8266 i ever saw: https://github.com/JanGoe/esp8266-wifi-relay
48x48mm...
I once asked itead for even more densely packed 8266, an micro module. Never heard back from them...
I know this design Lisa but IMHO it's too packed with several issues:
1) the ESP8266 antenna is somehow blocked and I'm certain the quality of WiFi can't be that good
2) GPIO15 pulldown is done without resistor :o
3) Resistor to the mosfet gate is too big (100K?)
4) No RESET button (and with module connected to MAIN I wonder how you can do it in a safer way
5) CH_PD is pulled high without resistor :o
6) GPIO0/2 shoudl be pulled high at boot for proper boot
7) GPIO0 is floating and I'm sure this can lead to random issues
8) Relays are driven directly while I believe an optocoupler gives better protection to spikes
9) SDA/SCL signals are not pulled HIGH and this can cause issues with some I2C devices

I'm sure there are other issues but above list is long enough for me to classify this module as "I don't like it" :D
Last edited by papperone on 22 Nov 2017, 10:18, edited 1 time in total.
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: New ESP gadget

#280 Post by TD-er » 22 Nov 2017, 09:17

toffel969 wrote: 21 Nov 2017, 16:55
manjh wrote: 21 Nov 2017, 10:12
toffel969 wrote: 21 Nov 2017, 00:18 As an idea, if you need to have the relay on a different purpose than switching mains, one can cut the traces to mains.
On a Sonoff you can't, since the power supply for the ESP part is drawn from mains.
On the little device in this topic: you don't need to, since the relay will only be used for switching, so it doesn't really care what is attached.
That is exactly what I am trying to point out. You can achieve the same functionality with a Sonoff, you just need to cut the traces connecting mains from input clamps to the relay. Then you can switch anything.
Just cutting traces on mains power lines is not a good idea.
For 230V you need to keep a gap of at least 3 mm or else it could create an arc between the copper lines and thus isn't safe to touch.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: New ESP gadget

#281 Post by grovkillen » 22 Nov 2017, 09:56

papperone wrote: 22 Nov 2017, 07:00 2) GOPIO15 pulldown is done without resistor :o
5) CH_PD is pulled high without resistor :o
Sorry for my ignorance but what is the main error with doing it this way? I have an ESP-01 that I'm trying to control my projector with and I pull the CH_PD high with no resistor.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#282 Post by papperone » 22 Nov 2017, 10:17

grovkillen wrote: 22 Nov 2017, 09:56
papperone wrote: 22 Nov 2017, 07:00 2) GOPIO15 pulldown is done without resistor :o
5) CH_PD is pulled high without resistor :o
Sorry for my ignorance but what is the main error with doing it this way? I have an ESP-01 that I'm trying to control my projector with and I pull the CH_PD high with no resistor.
Connecting 3V3 directly to a PIN basically you are not limiting the current that can flow, thus you can damage the (delicate!) pin of the ESP8266...
I know it's not commonly to happen but, with the cost of a resistor I think it's worth to protect the MC, which is a pain in the a$$ if you need to replace it (talking about ESP-12F)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: New ESP gadget

#283 Post by grovkillen » 22 Nov 2017, 11:21

Thanks! I will remember this in future builds :)
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: New ESP gadget

#284 Post by Shardan » 22 Nov 2017, 14:38

papperone wrote: 22 Nov 2017, 10:17
grovkillen wrote: 22 Nov 2017, 09:56
papperone wrote: 22 Nov 2017, 07:00 2) GOPIO15 pulldown is done without resistor :o
5) CH_PD is pulled high without resistor :o
Sorry for my ignorance but what is the main error with doing it this way? I have an ESP-01 that I'm trying to control my projector with and I pull the CH_PD high with no resistor.
Connecting 3V3 directly to a PIN basically you are not limiting the current that can flow, thus you can damage the (delicate!) pin of the ESP8266...
I know it's not commonly to happen but, with the cost of a resistor I think it's worth to protect the MC, which is a pain in the a$$ if you need to replace it (talking about ESP-12F)
On Top:
GPIO15 needs "low" at startup for booting from the correct memory (GPIO15 = "high" says boot from SD-Card which ist not supported by ESPEasy).
If the ESP is running GPIO15 is a usable GPIO. If you connect GPIO15 directly to GND it can't be used for anything.
It should be possible to connect GPIO15 to GND with a 10 KOhm resistor and with a pushbutton to +3.3V so you can use it as a button input for example.
Just on Bootup the button should not be pressed.

It's same as with GPIO0, just GPIO0 has to be "high" on boot or you'll run into flash mode.

Regards
Shardan
Regards
Shardan

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: New ESP gadget

#285 Post by LisaM » 22 Nov 2017, 15:46

papperone wrote: 22 Nov 2017, 07:00 I know this design Lisa but IMHO it's too packed with several issues:
1) the ESP8266 antenna is somehow blocked and I'm certain the quality of WiFi can't be that good
2) GPIO15 pulldown is done without resistor :o
3) Resistor to the mosfet gate is too big (100K?)
4) No RESET button (and with module connected to MAIN I wonder how you can do it in a safer way
5) CH_PD is pulled high without resistor :o
6) GPIO0/2 shoudl be pulled high at boot for proper boot
7) GPIO0 is floating and I'm sure this can lead to random issues
8) Relays are driven directly while I believe an optocoupler gives better protection to spikes
9) SDA/SCL signals are not pulled HIGH and this can cause issues with some I2C devices

I'm sure there are other issues but above list is long enough for me to classify this module as "I don't like it" :D
If you make it this size, i'll buy ten! https://goo.gl/images/XHULxd
Anything (much) bigger then that means it no longer fits and then size no longer matters. It's the reason i still have zwave, all others zwave modules are phased out in favor of esp.

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#286 Post by papperone » 22 Nov 2017, 17:45

LisaM wrote: 22 Nov 2017, 15:46 If you make it this size, i'll buy ten! https://goo.gl/images/XHULxd
Anything (much) bigger then that means it no longer fits and then size no longer matters. It's the reason i still have zwave, all others zwave modules are phased out in favor of esp.
That's beyond an hobbysitc approach :)
I'm sure it's doable, but the investment behind (time and money) won't be affordable if not aiming to a commercial product line...
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: New ESP gadget

#287 Post by enesbcs » 22 Nov 2017, 19:13

papperone wrote: 22 Nov 2017, 17:45
LisaM wrote: 22 Nov 2017, 15:46 If you make it this size, i'll buy ten! https://goo.gl/images/XHULxd
Anything (much) bigger then that means it no longer fits and then size no longer matters. It's the reason i still have zwave, all others zwave modules are phased out in favor of esp.
That's beyond an hobbysitc approach :)
I'm sure it's doable, but the investment behind (time and money) won't be affordable if not aiming to a commercial product line...
Regrettable, because i am also interested in very small size - european 65mm wall box compatible relays, which i am unable to find. :( I have no intentions to make one on my own, but if something can be hacked easily, i am interested.. :)

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#288 Post by papperone » 22 Nov 2017, 21:42

I'm not familiar with northern EU standard, in Italy the junction boxes are 10x10cm (9x9 internal space) and standard wall plug is 85x55mm so plenty of space :)
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: New ESP gadget

#289 Post by manjh » 22 Nov 2017, 22:26

enesbcs wrote: 22 Nov 2017, 19:13
papperone wrote: 22 Nov 2017, 17:45
LisaM wrote: 22 Nov 2017, 15:46 If you make it this size, i'll buy ten! https://goo.gl/images/XHULxd
Anything (much) bigger then that means it no longer fits and then size no longer matters. It's the reason i still have zwave, all others zwave modules are phased out in favor of esp.
That's beyond an hobbysitc approach :)
I'm sure it's doable, but the investment behind (time and money) won't be affordable if not aiming to a commercial product line...
Regrettable, because i am also interested in very small size - european 65mm wall box compatible relays, which i am unable to find. :( I have no intentions to make one on my own, but if something can be hacked easily, i am interested.. :)
I've used several KlikAanKlikUit modules that fint into the wall socket behind a standard switch device. It works, but in my experience the reception is slightly less than the plug-in devices. Probably has something to do with cables and metal (of the switch) taking some of the RF reception away.
So using a small device with an even smaller antenna, that is also partly covered.... not sure! Maybe Wifi signals are not as much hit by this effect.

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: New ESP gadget

#290 Post by LisaM » 23 Nov 2017, 01:16

manjh wrote: 22 Nov 2017, 22:26 I've used several KlikAanKlikUit modules that fint into the wall socket behind a standard switch device. It works, but in my experience the reception is slightly less than the plug-in devices. Probably has something to do with cables and metal (of the switch) taking some of the RF reception away.
So using a small device with an even smaller antenna, that is also partly covered.... not sure! Maybe Wifi signals are not as much hit by this effect.
Zwave is using 868MHz, Wifi 2.4GHz. So in theorie wifi should operate better in a wall then zwave due to the shorter wavelength. Zwave is working just fine at my home, so wifi should do better.

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: New ESP gadget

#291 Post by LisaM » 23 Nov 2017, 01:20

enesbcs wrote: 22 Nov 2017, 19:13 Regrettable, because i am also interested in very small size - european 65mm wall box compatible relays, which i am unable to find. :( I have no intentions to make one on my own, but if something can be hacked easily, i am interested.. :)
The only one i could find is in the link i shared, that is small enough (barely though). Papperone's southern europe's junction boxes are hugh compared to mine (nothern european) boxes, they will never fit.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: New ESP gadget

#292 Post by TD-er » 23 Nov 2017, 09:37

LisaM wrote: 23 Nov 2017, 01:16 [...]
Zwave is using 868MHz, Wifi 2.4GHz. So in theorie wifi should operate better in a wall then zwave due to the shorter wavelength. Zwave is working just fine at my home, so wifi should do better.
Shorter wavelength depends more on a "line of sight".

manjh
Normal user
Posts: 516
Joined: 08 Feb 2016, 11:22

Re: New ESP gadget

#293 Post by manjh » 23 Nov 2017, 09:46

TD-er wrote: 23 Nov 2017, 09:37
LisaM wrote: 23 Nov 2017, 01:16 [...]
Zwave is using 868MHz, Wifi 2.4GHz. So in theorie wifi should operate better in a wall then zwave due to the shorter wavelength. Zwave is working just fine at my home, so wifi should do better.
Shorter wavelength depends more on a "line of sight".
Wifi? Line of sight? I don't think so...

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: New ESP gadget

#294 Post by LisaM » 23 Nov 2017, 15:33

TD-er wrote: 23 Nov 2017, 09:37 Shorter wavelength depends more on a "line of sight".
It would take a vertical metal plate to do this kind of shielding, due to the low bandwidth requirements from espeasy an echo would be enough to connect to the ap.
I have three unifi's with overlapping reach sharing the same ssid, so it would still connect to another ap in the case something would block one side. To make it unreachable, you would need to have a faraday cage...

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: New ESP gadget

#295 Post by enesbcs » 21 Dec 2017, 18:57

I found a very interesting gadget, at first sight i think it is a Sonoff... after zooming in, i saw that "Smart Home" is the brand.. :) Has someone met it already? Is it ESP based?
https://www.ebay.com/itm/Remote-Control ... 1457073840

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: New ESP gadget

#296 Post by grovkillen » 21 Dec 2017, 19:08

enesbcs wrote: 21 Dec 2017, 18:57 I found a very interesting gadget, at first sight i think it is a Sonoff... after zooming in, i saw that "Smart Home" is the brand.. :) Has someone met it already? Is it ESP based?
https://www.ebay.com/itm/Remote-Control ... 1457073840
Seems like a device that could hold an esp8266 inside. For that price it might be worth testing?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#297 Post by papperone » 21 Dec 2017, 19:21

enesbcs wrote: 21 Dec 2017, 18:57 I found a very interesting gadget, at first sight i think it is a Sonoff... after zooming in, i saw that "Smart Home" is the brand.. :) Has someone met it already? Is it ESP based?
https://www.ebay.com/itm/Remote-Control ... 1457073840
I bet it's a Sonoff-clone, which is funny as now Chinese clone their own products :mrgreen:
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: New ESP gadget

#298 Post by enesbcs » 21 Dec 2017, 20:58

papperone wrote: 21 Dec 2017, 19:21 I bet it's a Sonoff-clone, which is funny as now Chinese clone their own products :mrgreen:
Every successful product is worth copying. :)
grovkillen wrote: 21 Dec 2017, 19:08 Seems like a device that could hold an esp8266 inside. For that price it might be worth testing?
Yes, almost the same price than an ESP Dev Board, but it has a plastic case. :)
I hope it's not made with an RTL based chip.. I just ordered one for testing.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: New ESP gadget

#299 Post by Shardan » 22 Dec 2017, 12:56

USD 3.71 for a copy with questionable content and quality vs USD 4.85 for the genuine Sonoff basic (actual price from the Itead.cc website https://www.itead.cc/sonoff-wifi-wireless-switch.html )

Guys, really..... :roll:

Have a Merry Christmas everyone

Shardan
Regards
Shardan

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: New ESP gadget

#300 Post by papperone » 22 Dec 2017, 13:59

Shardan wrote: 22 Dec 2017, 12:56 USD 3.71 for a copy with questionable content and quality vs USD 4.85 for the genuine Sonoff basic (actual price from the Itead.cc website https://www.itead.cc/sonoff-wifi-wireless-switch.html )

Guys, really..... :roll:

Have a Merry Christmas everyone

Shardan
+1 and Merry Christmas as well :mrgreen:
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 30 guests