Search found 1485 matches

by andrew
Thu Jul 10, 2025 8:03 am
Forum: Arduino
Topic: mLink Arduino library for mLink modules
Replies: 35
Views: 115340

Re: mLink Arduino library for mLink modules

I was about to ask whether mLink works with ESP32 boards. Short answer is yes. Slightly longer answer is it should support any development board that has an I2C port, is compatible with the Arduino IDE and supports the built-in I2C wire library. There is a caveat though, some third party developmen...
by andrew
Tue Jul 08, 2025 8:53 am
Forum: Arduino
Topic: mLink Arduino library for mLink modules
Replies: 35
Views: 115340

Re: mLink Arduino library for mLink modules

have just discovered a new version of the mLink library (2.3.0). Pleae, where do you announce new versions? If you're downloading the library directly from this forum, the best place to look is the first post in the mLink library thread: https://forum.hobbycomponents.com/viewtopic.php?f=58&t=3001&p...
by andrew
Mon Jul 07, 2025 8:14 am
Forum: mLink
Topic: LongReach (LoRa) mLink Module (HCMODU0250)
Replies: 17
Views: 43903

Re: LongReach (LoRa) mLink Module (HCMODU0250)

I want to use a pair of the LoRa mLink modules to transfer information. One way to do this is to use PJON (https://github.com/gioblu/PJON). I have a library which converts PJON to LoRa using SPI rather than I2C. I can work on an I2C version. Is there any way to convert SPI output to I2C to avoid th...
by andrew
Mon Jul 07, 2025 8:08 am
Forum: mLink
Topic: mLink 6 Button Pad (HCMODU0193)
Replies: 12
Views: 17257

Re: mLink 6 Button Pad (HCMODU0193)

I note that in the diagrams this and other mLInk items have the connection with pins closest to the Arduino. Does this matter? Could the Arduino be connected at the other end? You can use either the male or female header pins. It doesn't matter which one you use as they are electrically connected t...
by andrew
Mon Jun 16, 2025 1:52 pm
Forum: Motor drivers
Topic: IRF520 MOSFET Driver Module (HCMODU0083)
Replies: 15
Views: 118417

Re: IRF520 MOSFET Driver Module (HCMODU0083)

I notice this module has a Vcc pin. Is this used at all? Is there any benefit with connecting it?

Nothing I can see. It's not connected to anything and so serves no purpose. I have no idea why the manufacturer labelled it that.

I’ll add this question to an FAQ in the first post.
by andrew
Thu Jun 05, 2025 11:17 am
Forum: Wireless / Wired
Topic: HC-06 Bluetooth Serial Module (HCARDU0004 & HCARDU0064)
Replies: 50
Views: 321251

Re: HC-06 Bluetooth Serial Module (HCARDU0004 & HCARDU0064)

I would need to connect the slave module to a short length of cable terminated in a USB C plug so I cold plug it in to the pedal's USB connector. I’m not sure if I’ve misunderstood this bit but you won’t be able to connect the slave module directly to the existing USB port on the pedal. Your best o...
by andrew
Wed Jun 04, 2025 3:48 pm
Forum: General Discussion
Topic: mLink 20x4 LCD display with Raspberry Pi - Cursor position not working
Replies: 3
Views: 1995

Re: mLink 20x4 LCD display with Raspberry Pi - Cursor position not working

It's ok, I didn't spot it straight away. TBH, I'm surprised it didn't throw a syntax error.
by andrew
Wed Jun 04, 2025 2:14 pm
Forum: General Discussion
Topic: mLink 20x4 LCD display with Raspberry Pi - Cursor position not working
Replies: 3
Views: 1995

Re: mLink 20x4 LCD display with Raspberry Pi - Cursor position not working

Any ideas what is wrong?

Yes, the issue is caused by the equals sign (=) in your code. You should change this line:

  1.  ml.cLCD_Cursor = (0x56, 3, 3)
...to:
  1.  ml.cLCD_Cursor(0x56, 3, 3)
by andrew
Tue May 27, 2025 2:18 pm
Forum: mLink
Topic: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules
Replies: 51
Views: 143112

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

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 incl...
by andrew
Tue May 20, 2025 8:33 am
Forum: mLink
Topic: LongReach (LoRa) mLink Module (HCMODU0250)
Replies: 17
Views: 43903

Re: LongReach (LoRa) mLink Module (HCMODU0250)

One further thing, I think that the LongReach transmit example should have the line while(mLink.LORA_Tx_Busy(I2C_ADD)); after each transmit. Without it I don't always get the transmission, Good point. Technically because the examples invoke a delay after transmitting it doesn't need that line but I...

Go to advanced search