Serial MCU controlled switch?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
uxhamby
Normal user
Posts: 132
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Serial MCU controlled switch?

#1 Post by uxhamby » 02 Jan 2021, 22:14

I have a couple of ESP01 8266's that run a custom version of the EE firmware, to accommodate a relay board via a 'DEVICE' listed as "Serial MCU controlled switch". The issue was a non standard relay board from EBAY.

Build 20102 - Mega (ESP82xx Core 2_4_1, NONOS SDK 2.2.1(cfd48f3))
GIT version xuryV0.1

I still see these boards listed on EBAY but I don't see the device listed in the 'DEVICE' offerings of current versions of EE I have running.

What's the current story on this?

Thanks,

Brian H.

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

Re: Serial MCU controlled switch?

#2 Post by TD-er » 02 Jan 2021, 22:31

Is it the same as supported in P091 ? https://espeasy.readthedocs.io/en/lates ... #p091-page

User avatar
uxhamby
Normal user
Posts: 132
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Re: Serial MCU controlled switch?

#3 Post by uxhamby » 03 Jan 2021, 00:34

Is it the same as supported in P091 ?
Looks similar but can't say for sure.

User avatar
uxhamby
Normal user
Posts: 132
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Re: Serial MCU controlled switch?

#4 Post by uxhamby » 09 Jan 2021, 20:58

I believe the relay board in question, is one of these:

Image

Image

Looks like lots of work was done but I don't see a resolution emerge. I'm still left wondering: do any contemporary stock builds support this device out of the box?

Thanks

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

Re: Serial MCU controlled switch?

#5 Post by enesbcs » 11 Jan 2021, 18:03

uxhamby wrote: 02 Jan 2021, 22:14 Build 20102 - Mega (ESP82xx Core 2_4_1, NONOS SDK 2.2.1(cfd48f3))
GIT version xuryV0.1
xury just compiled its own version from github sources, i guess it is the same as the old ones with Core 2.4.1:
viewtopic.php?p=42226#p42226

In theory it will also work with the current P091 plugin that is part of TESTING binaries.

The only question is: Are there the serial commands intact on the secondary MCU? Most of them works in the same way, except some bad batch with messed ASCII command codes as i know.

emence
New user
Posts: 1
Joined: 25 Mar 2021, 09:44

Re: Serial MCU controlled switch?

#6 Post by emence » 25 Mar 2021, 09:56

I followed the Youtube video from nygma (topic 138). I managed to flash the ESP8266-01 and the log indicates the the vonnection is working. In the log file of the LCTech i read the folowing:

29161598 : WD : Uptime 486 ConnectFailures 2 FreeMem 13336
29173276 : SYS : -41.00
29177276 : SYS : 486.00
29191598 : WD : Uptime 487 ConnectFailures 1 FreeMem 13336
29221598 : WD : Uptime 487 ConnectFailures 0 FreeMem 13336
29233276 : SYS : -40.00
29237276 : SYS : 487.00
29251598 : WD : Uptime 488 ConnectFailures 0 FreeMem 13336
29281599 : WD : Uptime 488 ConnectFailures 0 FreeMem 13336
29293748 : SYS : -40.00
29297748 : SYS : 488.00
29299810 : SerSW : SetSwitch r0:1
29300822 : SerSW : SetSwitch r0:0
29301834 : SerSW : SetSwitch r1:1
29302846 : SerSW : SetSwitch r1:0

but the relays don't switch
Has anyone any ideas why?

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Serial MCU controlled switch?

#7 Post by Ath » 25 Mar 2021, 11:11

How have you configured your serial port settings?
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 21 guests