Search found 1481 matches

by andrew
Fri May 16, 2025 1:40 pm
Forum: mLink
Topic: LongReach (LoRa) mLink Module (HCMODU0250)
Replies: 14
Views: 42875

Re: LongReach (LoRa) mLink Module (HCMODU0250)

Hi John, I am having a lot of difficulty getting these to work. I have had some success sending from the RPi 4 and none at all from one Arduino to the other. Is there any way to check whether an mLink LoRa is working? If it’s convenient to do, the easiest way to test them is to run the mLink_LongRea...
by andrew
Thu May 15, 2025 2:09 pm
Forum: mLink
Topic: mLink 6 Button Pad (HCMODU0193)
Replies: 9
Views: 16329

Re: mLink 6 Button Pad (HCMODU0193)

Thanks for pointing that out, I've now pushed an update to pypi (V1.5.1).
by andrew
Tue May 13, 2025 8:51 am
Forum: mLink
Topic: mLink 12Ch Servo Controller (HCMODU0263)
Replies: 4
Views: 6032

Re: mLink 12Ch Servo Controller (HCMODU0263)

One possible option, if you don't need to know what state they are in at start-up, you could set the default servo output state at start-up to off. This assumes that your servos will stay in the same position when power is applied to them. Another thing to consider is a DS1302 RTC which has a small ...
by andrew
Mon May 12, 2025 3:08 pm
Forum: mLink
Topic: mLink 12Ch Servo Controller (HCMODU0263)
Replies: 4
Views: 6032

Re: mLink 12Ch Servo Controller (HCMODU0263)

Reading the Tech Spec it appears to me that the position of the servo can be stored. Is there an issue with doing this repetitively? The servo positions are only ever saved when you run the mLink.servo_Save_State() function. The current values are then stored in the microcontroller's EEPROM memory ...
by andrew
Mon May 12, 2025 3:06 pm
Forum: mLink
Topic: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules
Replies: 51
Views: 139311

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

Ok, so I've fixed it again but this time with my brain switched on. I've re-uploaded it under that same version number - thanks again.
by andrew
Mon May 12, 2025 11:41 am
Forum: mLink
Topic: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules
Replies: 51
Views: 139311

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

Hi Chris, thanks for pointing it out. It does indeed look like a cut and paste error. I've just uploaded a corrected version (V1.1.1) of the guide that (hopefully) corrects it.
by andrew
Mon May 05, 2025 7:18 am
Forum: mLink
Topic: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules
Replies: 51
Views: 139311

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

@proxymowdev I have checked the supply and it is healthy, and I can reproduce the same results using the header pins. I am curious about the reset/clear function pins. I remember reading about it somewhere, but can't find the reference now. It implies there is some configuration in nv memory that ca...
by andrew
Mon May 05, 2025 7:17 am
Forum: mLink
Topic: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules
Replies: 51
Views: 139311

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

@Mark M i have the similar issue, i can turn on the relay but have issues trying to turn off: *using i2c via Rpi Gpio script: #!/bin/sh from mLink import mLink # Import the mLink module ml = mLink.mLink(1) # Create an instance using the Pis I2C port 1 ml.Relay0_off(0x52) # Turns relay 0 off When scr...
by andrew
Wed Apr 23, 2025 1:55 pm
Forum: mLink
Topic: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules
Replies: 51
Views: 139311

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

Each relay can still be turned on, but neither will turn off without killing the power. It is definitely a problem with the module because I swapped my two over, and the other one is working fine. Has anyone come across any similar issues. I can’t explain why you would be able to turn the relay on ...
by andrew
Wed Apr 16, 2025 9:48 am
Forum: General Discussion
Topic: Slave Sketch for mlink 4x4 keypad
Replies: 2
Views: 13614

Re: Slave Sketch for mlink 4x4 keypad

Hi Phillip, your sketch is still missing the line that sets the value (rd) variable back to 255: void loop() { delay(50); if (rd != 255) { switch(rd) { case 1: delay(500); digitalWrite(Relay_1, N_OPEN); delay(500); digitalWrite(Relay_1, N_CLOSED); break; case 2: delay(500); digitalWrite(Relay_2, N_O...

Go to advanced search