Search found 1484 matches

by andrew
Thu Feb 27, 2025 12:52 pm
Forum: Modules
Topic: Hobby Components 2004 SmartLCD (HCMODU0163)
Replies: 6
Views: 46253

Re: Hobby Components 2004 SmartLCD (HCMODU0163)

So just to follow up on this, I’ve taken a look and I have been able to replicate what you are reporting. I’ve pinned the issue down to a problem with the firmware, in particular it is being caused by a change to a UART library that caused the serial buffer to be cropped to 50 bytes. This change see...
by andrew
Wed Feb 26, 2025 3:55 pm
Forum: Modules
Topic: Hobby Components 2004 SmartLCD (HCMODU0163)
Replies: 6
Views: 46253

Re: Hobby Components 2004 SmartLCD (HCMODU0163)

Hi Roger, Although the display can handle serial data at various BAUD rates it is limited to how fast it can write the data to the display. With it being a character LCD this is of course relatively low compared to the BAUD rate. It does however have limited serial buffer. So as long as the buffer d...
by andrew
Wed Feb 26, 2025 10:26 am
Forum: mLink
Topic: mLink 1ch (HCMODU00182), 2ch (HCMODU0183), And 4ch (HCMODU0184) I2C / Parallel Relay Modules
Replies: 51
Views: 142440

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

Great work and thank you for taking the time to support these products. I've now added the link for your github page to the first post of this thread and the RGBW thread.
by andrew
Wed Feb 26, 2025 10:12 am
Forum: Arduino
Topic: mLink Arduino library for mLink modules
Replies: 34
Views: 114669

Re: mLink Arduino library for mLink modules

Anyway, things are working OK at the moment after several downloads. I will let you know if that changes. Great. There is still some odd issue going on with it and with your specific setup but as it’s not necessary hopefully omitting it solves your issue. Tbh, the only reason why that command exist...
by andrew
Tue Feb 25, 2025 3:33 pm
Forum: Arduino
Topic: mLink Arduino library for mLink modules
Replies: 34
Views: 114669

Re: mLink Arduino library for mLink modules

Yes. I have a dedicated breadboard setup and programs for my 2004 display testing and the code defining the display type has been in from the start. At one stage I did put delays in the setup code between all the display-related commands in case the issue might be with busy states not being handled...
by andrew
Tue Feb 25, 2025 10:05 am
Forum: Arduino
Topic: mLink Arduino library for mLink modules
Replies: 34
Views: 114669

Re: mLink Arduino library for mLink modules

Yes. I think the other thing we should not loose sight of is that power cycling the board with ESP32 is resetting the cursor direction bit. That’s a good point, I missed that one. I’ll add it to the list. With the 2-channel level-shifter I have been using, the ESP32 side was 3.290V, the LCD side wa...
by andrew
Mon Feb 24, 2025 8:26 am
Forum: Modules
Topic: Hobby Components 1602 Transfelctive SmartLCD (HCMODU0262)
Replies: 2
Views: 12479

Re: Hobby Components 1602 Transfelctive SmartLCD (HCMODU0262)

I’m afraid there is no python module currently available. You could first try the following code to see if your pico is seeing the display. import machine # Create I2C object i2c = machine.I2C(0, scl=machine.Pin(17), sda=machine.Pin(16)) # Print out any address found devices = i2c.scan() if devices:...
by andrew
Mon Feb 24, 2025 7:39 am
Forum: Arduino
Topic: mLink Arduino library for mLink modules
Replies: 34
Views: 114669

Re: mLink Arduino library for mLink modules

Thanks again for the answers. This conversation is getting a bit long so just for myself I’m going to summarise the issue: The issue is the cursor direction is sometimes being set to right to left. I.e. bit 0 of register CR2 is being set. This only happens occasionally and only whilst uploading a sk...
by andrew
Fri Feb 21, 2025 3:47 pm
Forum: Arduino
Topic: mLink Arduino library for mLink modules
Replies: 34
Views: 114669

Re: mLink Arduino library for mLink modules

Hi Roger, I have no idea why it would be doing that. Changing the cursor direction requires a specific write to the display's control register 2. That register only handles the display size and cursor direction so unless there is a need to specifically write to that register then it shouldn’t get ch...
by andrew
Fri Feb 21, 2025 9:51 am
Forum: Arduino
Topic: mLink Arduino library for mLink modules
Replies: 34
Views: 114669

Re: mLink Arduino library for mLink modules

. So, I am beginning to think the problem may be with my breadboard set-up. Maybe a slightly iffy jumper cable or a breadboard glitch. Anyway, all is working now, so I hope you haven't wasted any time on this. Ah ok, and no problem at all. I'll get the updates to this library and the smart LCD libr...

Go to advanced search