mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules

mLink serial I2C modules
andrew
Site Admin
Posts: 1481
Joined: Sun Aug 05, 2012 4:15 pm

Re: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules

Post by andrew » Tue May 27, 2025 2:18 pm

Hi Chris,
I've been looking at the example sketches for the relay modules. The Read_Relay_0.ino has an error. The I2C address is defined as I2C_ADD. When this is used in the sketch it is add.
Thanks, that error has been there since 2021!


The example sketch Set_Relay_On_Time.ino isn't updated to include the ability to define it in 10ths of seconds.
There is an additional sketch for the newer V1.01 firmware relays called Relay_ON_Timer_Resolution.ino. It should be in the examples folder. That one shows how to set the timer to 100ms resolution. I decided to create it as a separate sketch as it’s not compatible with the older firmware version.

I’ve fixed the Read_Relay_0 sketch so I'll just upload an update to the forum for now(V2.2.3) and if nothing else pops up I push updates to github & platformio.


A friend (JohnF) and I are doing a Zoom presentation on mLink modules this evening.
Interesting, is that a public or private presentation?
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

ChrisSharp
Posts: 38
Joined: Thu Dec 31, 2020 1:22 pm

Re: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules

Post by ChrisSharp » Tue May 27, 2025 4:21 pm

Private, but I can email you details if you want to join it.

Post Reply

Return to “mLink”