Rflink on esp8266?

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
Ger
Normal user
Posts: 71
Joined: 05 Sep 2015, 18:09

Rflink on esp8266?

#1 Post by Ger » 17 Sep 2016, 16:14

Is it posible to put rflink on a esp8266 and use wifi for the connection?

chrille
Normal user
Posts: 88
Joined: 26 Aug 2015, 15:11
Location: Horsens, Denmark

Re: Rflink on esp8266?

#2 Post by chrille » 17 Sep 2016, 20:03

Ger wrote:Is it posible to put rflink on a esp8266 and use wifi for the connection?
Officially it's only supported on ATMega260 (Arduino Mega), but it seems it's possible to run it on ESP8266, since someone went through the effort to create PCB's for it: https://github.com/hallard/WeMos-RFLink

Personally I'm using an ordinary Arduino Mega (chinese clone) with an ESP8266 as serial<->wifi bridge, using this software: https://github.com/jeelabs/esp-link

It works very well with domoticz as a controller - but running everything on the ESP8266 would be nice

- Jan
Jan Chrillesen, Denmark

chrille
Normal user
Posts: 88
Joined: 26 Aug 2015, 15:11
Location: Horsens, Denmark

Re: Rflink on esp8266?

#3 Post by chrille » 17 Sep 2016, 20:34

chrille wrote:but running everything on the ESP8266 would be nice
I tried changing the PIN definitions in Base.ino to match ESP8266 pins, and except for missing support for strncasecmp() (which I included manually), it did compile for ESP8266. I did not test the code and even if it works it would still only output the data on the serial port

- Jan
Jan Chrillesen, Denmark

User avatar
Stuntteam
Site Beheer
Posts: 787
Joined: 27 Jan 2016, 16:46

Re: Rflink on esp8266?

#4 Post by Stuntteam » 17 Sep 2016, 23:19

We might add support for wemos or so in the future.. right now priority lies with getting some other things working properly.
-=# RFLink Gateway Development Team #=-
Introduction: http://www.nemcon.nl/blog2/
Generic Support forum: http://www.esp8266.nu/forum/viewforum.php?f=8

john123
New user
Posts: 1
Joined: 18 Sep 2016, 18:38

Re: Rflink on esp8266?

#5 Post by john123 » 18 Sep 2016, 18:58

I am trying this as well, but with low success at the moment.
In summary, the Rflink connects once to Domoticz, then the connection is lost.
It have happened also a few times that while troubleshooting the ESP-1 lost its configuration. It showed up with the default SSID of easyesp and I had to reconfigure it again.

I sense that it has to do with the physical wiring of the Arduino Mega to the ESP-01
I use a signal voltage regulator for TX/RX between Mega/RFlink and ESP.
In this test, I powered the ESP with an external 3.3v power source.

Not quite sure what to do with the some of the pins on the ESP-1 (GPIO-0/2, Ch_PD)?
I would be extremely happy if somebody can provide a working wiring diagram.

As ESP software I am using the EasyESP with v120 configured for Serial server (57600 8n1)
From a software configuration point of view, I believe i dont have to configure anything else then the serial server in Easyesp, right?
The mega with RFLINK will adjust "automatically" from serial to ESP, as far as i understood reading this fora.

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests