Search found 1484 matches

by andrew
Tue Jul 08, 2025 8:53 am
Forum: Arduino
Topic: mLink Arduino library for mLink modules
Replies: 34
Views: 114545

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: 43595

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: 16961

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: 118186

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: 320636

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: 1886

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: 1886

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: 142321

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: 43595

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...
by andrew
Mon May 19, 2025 8:22 am
Forum: mLink
Topic: LongReach (LoRa) mLink Module (HCMODU0250)
Replies: 17
Views: 43595

Re: LongReach (LoRa) mLink Module (HCMODU0250)

Thank you. I had missed the tabs on the examples and only seen the first one. I suggest retaining LORA_Tx_Done with the correct meaning as deleting it would break user code. Easily done. Just for reference, I've now updated the Arduino library and python module. The LORA_Tx_Done() function is now d...

Go to advanced search