Will Annex support this?

If doesn't fit into any other category ....
Zim
Posts: 286
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 262 times
Been thanked: 128 times

Will Annex support this?

Post by Zim »

Hi cicciocb
Before I purchase this, will annex support it?

Thanks
Zim


2024-02-09 13_46_11-Window.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Electroguard
Posts: 857
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 273 times
Been thanked: 321 times

Re: Will Annex support this?

Post by Electroguard »

Yes...
LCD.jpg
You do not have the required permissions to view the files attached to this post.
Zim
Posts: 286
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 262 times
Been thanked: 128 times

Re: Will Annex support this?

Post by Zim »

I did see that too, Electroguard. I just wasn't sure if the address was an issue.

Thanks
Zim
Zim
Posts: 286
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 262 times
Been thanked: 128 times

Re: Will Annex support this?

Post by Zim »

I plugged in a display and got nothing using the demo code. Do I have to do anything with these solder points?

Thanks
Zim

2024-02-09 15_59_22-Window.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Electroguard
Posts: 857
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 273 times
Been thanked: 321 times

Re: Will Annex support this?

Post by Electroguard »

The I2C adapter was already installed on mine, Zim, and I didn't do anything to it - I have a couple of them, and neither have any links soldered.
It is I2C, so you can run the I2Cscanner to check it is actually being seen ok, and at what address.
Be aware that I was using the 4 line version, whereas you showed the 2 line version, but I would have thought the I2C interface was the same for both.
Here is a program I developed on a Wokwi Stepper Motor simulation... https://wokwi.com/projects/378289623939972097
which was subsequently copied to actual hardware and worked fine... https://odysee.com/@Electroguard:d/StepperTest:9
Zim
Posts: 286
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 262 times
Been thanked: 128 times

Re: Will Annex support this?

Post by Zim »

I found this in my junk box. when I do a I2C scan, it comes up with "found 39 27"
I have no experience with i2C. Should this work with the sample code as is ?

thanks
Zim
User avatar
Electroguard
Posts: 857
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 273 times
Been thanked: 321 times

Re: Will Annex support this?

Post by Electroguard »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sat Feb 10, 2024 1:10 am I found this in my junk box. when I do a I2C scan, it comes up with "found 39 27"
I have no experience with i2C. Should this work with the sample code as is ?
The sample ' LCD.INIT 63, 20, 4' assumes an address of 63 (3F) and a display of 20 characters per line with 4 lines of characters.
So if you have a 2 line display, they are only 16 characters long, and if your 'found' address is 39 (27), then your INIT should be:
LCD INIT 39, 16, 2

You should then be able to LCD.PRINT lines up to 16 chars long to lines 1 and 2.
Zim
Posts: 286
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 262 times
Been thanked: 128 times

Re: Will Annex support this?

Post by Zim »

Thanks for the reply Electroguard

Code: [Local Link Removed for Guests]

I2C.SETUP 21, 22  ' set I2C port on pins 21 and 22



LCD.INIT 39, 16, 2

LCD.CLS  ' clear the screen of the LCD

'print a message on the LCD at the first char of the first line

LCD.PRINT 1, 1, "HELLO WORLD"
wait



This is what I get...

20240210_100610.jpg
You do not have the required permissions to view the files attached to this post.
bugs
Posts: 143
Joined: Mon Feb 08, 2021 10:10 pm
Location: Scotland
Has thanked: 47 times
Been thanked: 51 times

Re: Will Annex support this?

Post by bugs »

Have you tried adjusting the contrast preset?
Zim
Posts: 286
Joined: Mon Feb 08, 2021 9:15 pm
Has thanked: 262 times
Been thanked: 128 times

Re: Will Annex support this?

Post by Zim »

Yes, but still no joy....
Post Reply