ESP12E & Wired Ethernet

Moderators: grovkillen, Stuntteam, TD-er

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

ESP12E & Wired Ethernet

#1 Post by LisaM » 12 Jul 2017, 16:54

I'm extremely interested in adding wired ethernet to the ESP8266 soc. At some places in my garden, there is no wifi (i have a BIG garden) and i still need some sensors there (for the gate motor for example).
I've found this:
ethernet to esp wiring.png
The annoying part is that it eats up most of the available GPIO's, only 2 GPIO's are available in this configuration. Still it brings me closer to my goal, especially since it also has some working software.
The github link: https://github.com/klarsys/esp_enc28j60

Before i start investigating if this is possible, i would like to know if somebody else has this build into/with EspEasy? I hate wasting my time, since i have so little of it... ;)
You do not have the required permissions to view the files attached to this post.

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

Re: ESP12E & Wired Ethernet

#2 Post by papperone » 12 Jul 2017, 17:03

If you can bring wired ETH and not wifi I would install a WiFi router (AP) using the wired ETH cable.
This will help you with easy configuration and if you need to run more than one ESP you can still do it via WiFi...
...and you can enjoy WiFi in your whole garden (I have a big garden as well and this is what I've done as my wife kindly suggested me that she wanted to browse internet from everywhere our property :D - I ended up with even 2 AP in the best possible location that actually provide WiFi to my whole garden)
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: ESP12E & Wired Ethernet

#3 Post by LisaM » 12 Jul 2017, 17:49

papperone wrote: 12 Jul 2017, 17:03 If you can bring wired ETH and not wifi I would install a WiFi router (AP) using the wired ETH cable.
This will help you with easy configuration and if you need to run more than one ESP you can still do it via WiFi...
...and you can enjoy WiFi in your whole garden (I have a big garden as well and this is what I've done as my wife kindly suggested me that she wanted to browse internet from everywhere our property :D - I ended up with even 2 AP in the best possible location that actually provide WiFi to my whole garden)
I have 3 Unifi AP's which have zero-handoff. Still not enough, gate is more then 100ft away. Installing an AP at the gate would create a security risk, since you're exposing an AP (even with encryption) to the outside world.

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

Re: ESP12E & Wired Ethernet

#4 Post by toffel969 » 12 Jul 2017, 18:28

LisaM wrote: 12 Jul 2017, 16:54 I'm extremely interested in adding wired ethernet to the ESP8266 soc. At some places in my garden, there is no wifi (i have a BIG garden) and i still need some sensors there (for the gate motor for example).
I've found this:

ethernet to esp wiring.png

The annoying part is that it eats up most of the available GPIO's, only 2 GPIO's are available in this configuration. Still it brings me closer to my goal, especially since it also has some working software.
The github link: https://github.com/klarsys/esp_enc28j60

Before i start investigating if this is possible, i would like to know if somebody else has this build into/with EspEasy? I hate wasting my time, since i have so little of it... ;)
Depending on which controller(domoticz , example) you can use mysensors to achieve same functionality. Build a LAN-gateway(arduino + ethernet shield), you should be able to attach sensors to the gatewa.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

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

Re: ESP12E & Wired Ethernet

#5 Post by toffel969 » 12 Jul 2017, 18:35

https://www.mysensors.org/build/ethernet_gateway

You will need to merge the arduino sketches of relevant actuators/sensors with the ethernet gateway sketch.


If I remember well, there is a very rough version of a esp easy built fo arduino mega+ethernet shield in experimental section of forum . Might be a good starting point if mysensors is no option for you

https://www.letscontrolit.com/forum/vie ... =18&t=2234
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

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

Re: ESP12E & Wired Ethernet

#6 Post by LisaM » 12 Jul 2017, 21:24

toffel969 wrote: 12 Jul 2017, 18:35 https://www.mysensors.org/build/ethernet_gateway

You will need to merge the arduino sketches of relevant actuators/sensors with the ethernet gateway sketch.


If I remember well, there is a very rough version of a esp easy built fo arduino mega+ethernet shield in experimental section of forum . Might be a good starting point if mysensors is no option for you

https://www.letscontrolit.com/forum/vie ... =18&t=2234
I ordered a Nano and ethernet shield, however i rather use an ESP12. Arduino is the old generation, ESP's are the new kids on the block. ESP's are faster, have more memory and cost less... They are going to obliterate Arduino's, z-wave, zigbee, etc. Local node's with AI are getting closer.

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

Re: ESP12E & Wired Ethernet

#7 Post by papperone » 12 Jul 2017, 23:06

Well, having a wired ETH cable (which I suppose is coming from your router or AP/switch) running from your home lan to somewhere in your garden is anyhow dangerous :)
Having said that then I would explore either an RF gateway or even experiment with LoRa (something which is tempting me for a while be still no time for it).
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: ESP12E & Wired Ethernet

#8 Post by LisaM » 13 Jul 2017, 00:46

papperone wrote: 12 Jul 2017, 23:06 Well, having a wired ETH cable (which I suppose is coming from your router or AP/switch) running from your home lan to somewhere in your garden is anyhow dangerous :)
Having said that then I would explore either an RF gateway or even experiment with LoRa (something which is tempting me for a while be still no time for it).
Not really, a 100ft pvc 2inch tube is running to the gate with already powercables in it. Offcourse i wouldn't just put a lan cable in the garden, it would be cut in no time... ;)

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

Re: ESP12E & Wired Ethernet

#9 Post by grovkillen » 13 Jul 2017, 06:12

I'm not sure how these work but one on each side could talk to and from the remote esp.

HC-11 433MHz wireless RF serial UART module CC1101 5V 3V AT command HC11
http://s.aliexpress.com/rMVFBrqU
(from AliExpress Android)

Or this:

HC-12 SI4463 wireless microcontroller serial, 433 long-range, 1000M with antenna for Bluetooth
http://s.aliexpress.com/mE3AR3eu
(from AliExpress Android)

Or this:

2x 433mhz 1km Long Distance UART RS485 UART Wireless Transceiver Module RF Serial Port Data Passthrough Board for PTZ Modbus PLC
http://s.aliexpress.com/MBB77VJr
(from AliExpress Android)

(https://www.youtube.com/watch?v=vqRqtgv ... fGSh8CEP-6)

Or LAN-TTL:

USR-TCP232-E2 Pin Type Serial UART TTL to LAN Ethernet Module---2 serial ports Q00226
http://s.aliexpress.com/f22yM3YJ
(from AliExpress Android)
Last edited by grovkillen on 13 Jul 2017, 09:15, edited 1 time in total.
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:

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

Re: ESP12E & Wired Ethernet

#10 Post by toffel969 » 13 Jul 2017, 08:13

LisaM wrote: 12 Jul 2017, 21:24
toffel969 wrote: 12 Jul 2017, 18:35 https://www.mysensors.org/build/ethernet_gateway

You will need to merge the arduino sketches of relevant actuators/sensors with the ethernet gateway sketch.


If I remember well, there is a very rough version of a esp easy built fo arduino mega+ethernet shield in experimental section of forum . Might be a good starting point if mysensors is no option for you

https://www.letscontrolit.com/forum/vie ... =18&t=2234
I ordered a Nano and ethernet shield, however i rather use an ESP12. Arduino is the old generation, ESP's are the new kids on the block. ESP's are faster, have more memory and cost less... They are going to obliterate Arduino's, z-wave, zigbee, etc. Local node's with AI are getting closer.
I generally agree with the advantages o esp. It's more fun. However "many gpio " not being one o them. If speed a memory are o importance, consider a raspi zero. You can add LAN through usb/spi. Then maybe local no with AI are more likely :D
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

warwick
New user
Posts: 1
Joined: 14 Mar 2017, 06:45

Re: ESP12E & Wired Ethernet

#11 Post by warwick » 13 Jul 2017, 12:15

Not sure what sort of sensors/inputs/outputs you need at your gate, but if you are considering running a 100ft CAT 5 cable to the gate, perhaps it would be an alternative to use this CAT 5 cable (8 core?) for running signals to and from the gate and keep the ESP device close to the router? I've even run I2C over 30m distance on CAT 5 cabling at low speed (10kHz clock). May need some protection on it if you are in an area prone to lightning though.

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

Re: ESP12E & Wired Ethernet

#12 Post by LisaM » 14 Jul 2017, 10:22

grovkillen wrote: 13 Jul 2017, 06:12 I'm not sure how these work but one on each side could talk to and from the remote esp.

HC-11 433MHz wireless RF serial UART module CC1101 5V 3V AT command HC11
http://s.aliexpress.com/rMVFBrqU
(from AliExpress Android)

Or this:

HC-12 SI4463 wireless microcontroller serial, 433 long-range, 1000M with antenna for Bluetooth
http://s.aliexpress.com/mE3AR3eu
(from AliExpress Android)

Or this:

2x 433mhz 1km Long Distance UART RS485 UART Wireless Transceiver Module RF Serial Port Data Passthrough Board for PTZ Modbus PLC
http://s.aliexpress.com/MBB77VJr
(from AliExpress Android)

(https://www.youtube.com/watch?v=vqRqtgv ... fGSh8CEP-6)

Or LAN-TTL:

USR-TCP232-E2 Pin Type Serial UART TTL to LAN Ethernet Module---2 serial ports Q00226
http://s.aliexpress.com/f22yM3YJ
(from AliExpress Android)
Many of these don't have any supporting software, the arduino stuff does. It's easier to reuse the arduino libs then to make them from scratch...
Don't want to radiate 433 of Wifi across the neighborhood, that's a security risk i try to avoid.

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

Re: ESP12E & Wired Ethernet

#13 Post by LisaM » 14 Jul 2017, 10:26

warwick wrote: 13 Jul 2017, 12:15 Not sure what sort of sensors/inputs/outputs you need at your gate, but if you are considering running a 100ft CAT 5 cable to the gate, perhaps it would be an alternative to use this CAT 5 cable (8 core?) for running signals to and from the gate and keep the ESP device close to the router? I've even run I2C over 30m distance on CAT 5 cabling at low speed (10kHz clock). May need some protection on it if you are in an area prone to lightning though.
8-core cat6 even, but if i bring that to the gate why not use the ethernet then?

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

Re: ESP12E & Wired Ethernet

#14 Post by grovkillen » 14 Jul 2017, 11:22

Sure, I understand what you are aiming for here. If you aren't a programmer you will have to wait for a developer that need it him/her self.
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:

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

Re: ESP12E & Wired Ethernet

#15 Post by LisaM » 14 Jul 2017, 14:11

grovkillen wrote: 14 Jul 2017, 11:22 Sure, I understand what you are aiming for here. If you aren't a programmer you will have to wait for a developer that need it him/her self.
I can program it, only short on time... 8-)
Last edited by LisaM on 14 Jul 2017, 16:54, edited 1 time in total.

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

Re: ESP12E & Wired Ethernet

#16 Post by grovkillen » 14 Jul 2017, 15:11

LisaM wrote: 14 Jul 2017, 14:11
grovkillen wrote: 14 Jul 2017, 11:22 Sure, I understand what you are aiming for here. If you aren't a programmer you will have to wait for a developer that need it him/her self.
I can program on it, only short on time... 8-)
I hear ya 👍😕
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:

Who is online

Users browsing this forum: Anthropic Claude Bot [bot] and 12 guests