Page 1 of 1
Simple emitter with ESP8266?
Posted: Monday 24 July 2017 21:35
by sebitop
Dear All
I found the ESP8266 promising and after having 20 tabs opened in chrome i'm still struggling to find a simple way to make and emitter with the ESP8266
for which use ? example : when I open my gate I would like it so send a signal to domoticz and to send another one when closed (just a simple contact 1 or 0)
why ? : I have today some DI.O modules but when I was a power failure at home or if I cut the power to do something, when I start it back the DI.O power socket switch to learning mode receiving ramdoms signals from my DI.O emitters. to avoid that I would like to use a different protocol (and morerealiable as I have a big WIFI antenna on my roof)
anyone as an idea to do so ? (or another idea without the ESP ?)
thanks !!
seb
Re: Simple emitter with ESP8266?
Posted: Monday 24 July 2017 21:45
by freijn
Go for an EasyEsp
https://www.letscontrolit.com/wiki/index.php/ESPEasy
Make it an SwitchInput and voila..
Using it now for a few months for Temp and Pir sensor and love it!
Re: Simple emitter with ESP8266?
Posted: Monday 24 July 2017 22:15
by sebitop
Thanks Freijn
I read this site and am I correct to say that I could generate mutiple signal using one single for example wemos d1 mini by adressing each gpio separately ?
this is really interesting !
Re: Simple emitter with ESP8266?
Posted: Monday 24 July 2017 22:34
by jvdz
Yes you can have multiple devices supported by a wemos d1 mini by configuring them and using the GPIO ports available.
Jos
Re: Simple emitter with ESP8266?
Posted: Monday 24 July 2017 22:52
by randytsuch
You can also add port expanders if you need more GPIO's.
I'm using I2C port expanders on a couple ESP easy projects.
Re: Simple emitter with ESP8266?
Posted: Monday 24 July 2017 23:02
by sebitop
the only thing is how to power it ?
I read it's a 3.3v operating card so again the need to put a regulator before...
should be so easy with 5v...
Re: Simple emitter with ESP8266?
Posted: Monday 24 July 2017 23:11
by freijn
if you go for :
NodeMCU development board for ESP-12E from ESP8266/esp 12E Lua
https://www.aliexpress.com/store/produc ... 01146.html
Its a little bit bigger but you feed it with 5 volts and a mini usb
or use
https://www.aliexpress.com/item/5PCS-5V ... -LDO-800MA
Re: Simple emitter with ESP8266?
Posted: Monday 24 July 2017 23:21
by sebitop
thanks,
but i have a doubt, I think the Wemos D1 mini is 5v powerable

if you plug a mini usb or a 5v voltage on the 5v pin I think the card manage to regul the voltage to 3.3 for the ESP
am i correct ?
Re: Simple emitter with ESP8266?
Posted: Monday 24 July 2017 23:27
by zak45
Wemos mini or Nodemcu have a mini usb, so 5 V as input, no problem.
You just need to make sure that you never have more than 3.3 V on GPIO.
Have just begin to "play" with and must say that with espeasy firmware, you have so much possibility... and integration with Domoticz... could not be easiest!!!
Re: Simple emitter with ESP8266?
Posted: Tuesday 25 July 2017 1:23
by randytsuch
I have a Wemos mini d1 and mini d1 pro running from 5V.
I use little USB plugs. I did have some problems when I tried to power with the micro usb jack, and then use the 5V to power a relay card too.
So I cut up a USB cable, and hardwired/soldered the 5V directly, and no problems after that.
Re: Simple emitter with ESP8266?
Posted: Sunday 30 July 2017 22:45
by sebitop
I will try this
I found some regulator to decrease voltage from max 24v to 5v wich could perfectly fit the wemos
thanks for your help !!!!!
Re: Simple emitter with ESP8266?
Posted: Monday 07 August 2017 13:18
by mjdb
You ask after power-supply.
I have several ESP8266 devices, most of them Wemos D1.
I power them with a Hi-Link PCB Voeding (5 Euro).
See:
https://www.tinytronics.nl/shop/nl/voed ... a-hlk-pm01
I use these power supplies (or their 1 Amp version) also for Arduino, Raspberry Pi etc.
For an example with ESp8266 and switch-detecting see
https://www.domoticz.com/forum/viewtopi ... 38&t=18756