Simple emitter with ESP8266?

Everything about esp8266 and more.
Post Reply
sebitop
Posts: 161
Joined: Sunday 08 June 2014 20:31
Target OS: Raspberry Pi
Domoticz version:
Location: Toulouse France
Contact:

Simple emitter with ESP8266?

Post by sebitop » Monday 24 July 2017 21:35

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
domoticz on Raspberry Pi + RFXcom LAN moded
RSL / Blyss / DI.O / Wemos / homemade

freijn
Posts: 288
Joined: Friday 23 December 2016 17:40
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands Purmerend
Contact:

Re: Simple emitter with ESP8266?

Post by freijn » Monday 24 July 2017 21:45

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!

sebitop
Posts: 161
Joined: Sunday 08 June 2014 20:31
Target OS: Raspberry Pi
Domoticz version:
Location: Toulouse France
Contact:

Re: Simple emitter with ESP8266?

Post by sebitop » Monday 24 July 2017 22:15

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 !
domoticz on Raspberry Pi + RFXcom LAN moded
RSL / Blyss / DI.O / Wemos / homemade

User avatar
jvdz
Posts: 1295
Joined: Tuesday 30 December 2014 20:25
Target OS: Raspberry Pi
Domoticz version: Stable
Location: Westland/Netherlands
Contact:

Re: Simple emitter with ESP8266?

Post by jvdz » Monday 24 July 2017 22:34

Yes you can have multiple devices supported by a wemos d1 mini by configuring them and using the GPIO ports available.

Jos

randytsuch
Posts: 94
Joined: Sunday 20 March 2016 19:56
Target OS: Raspberry Pi
Domoticz version: Beta
Location: LA, Ca USA
Contact:

Re: Simple emitter with ESP8266?

Post by randytsuch » Monday 24 July 2017 22:52

You can also add port expanders if you need more GPIO's.

I'm using I2C port expanders on a couple ESP easy projects.

sebitop
Posts: 161
Joined: Sunday 08 June 2014 20:31
Target OS: Raspberry Pi
Domoticz version:
Location: Toulouse France
Contact:

Re: Simple emitter with ESP8266?

Post by sebitop » Monday 24 July 2017 23:02

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...
domoticz on Raspberry Pi + RFXcom LAN moded
RSL / Blyss / DI.O / Wemos / homemade

freijn
Posts: 288
Joined: Friday 23 December 2016 17:40
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands Purmerend
Contact:

Re: Simple emitter with ESP8266?

Post by freijn » Monday 24 July 2017 23:11

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

sebitop
Posts: 161
Joined: Sunday 08 June 2014 20:31
Target OS: Raspberry Pi
Domoticz version:
Location: Toulouse France
Contact:

Re: Simple emitter with ESP8266?

Post by sebitop » Monday 24 July 2017 23:21

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 ?
domoticz on Raspberry Pi + RFXcom LAN moded
RSL / Blyss / DI.O / Wemos / homemade

zak45
Posts: 482
Joined: Sunday 22 January 2017 12:37
Target OS: Windows
Domoticz version: V3.9056
Contact:

Re: Simple emitter with ESP8266?

Post by zak45 » Monday 24 July 2017 23:27

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

randytsuch
Posts: 94
Joined: Sunday 20 March 2016 19:56
Target OS: Raspberry Pi
Domoticz version: Beta
Location: LA, Ca USA
Contact:

Re: Simple emitter with ESP8266?

Post by randytsuch » Tuesday 25 July 2017 1:23

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.

sebitop
Posts: 161
Joined: Sunday 08 June 2014 20:31
Target OS: Raspberry Pi
Domoticz version:
Location: Toulouse France
Contact:

Re: Simple emitter with ESP8266?

Post by sebitop » Sunday 30 July 2017 22:45

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 !!!!!
domoticz on Raspberry Pi + RFXcom LAN moded
RSL / Blyss / DI.O / Wemos / homemade

mjdb
Posts: 87
Joined: Thursday 12 January 2017 14:38
Target OS: Raspberry Pi
Domoticz version: all beta
Location: NL - Pijnacker
Contact:

Re: Simple emitter with ESP8266?

Post by mjdb » Monday 07 August 2017 13:18

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
- - - - - - - - - - -
2 x Domoticz on Raspberry Pi; 2 x RFXtrx433; Aeotec Z-Stick
KlikAanKlikUit ICS-2000 as Relay
Aeotec MultiSensors 6; Danfoss Z Thermostats 014G0013; Kaku Switches, Z-wave Switches

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests