Connect Grove LCD RGB to Base Shield on a Arduino
Moderator: Benj
Connect Grove LCD RGB to Base Shield on a Arduino
I want to print on grove lcd number on I2C port on base shield, all this on arduino Uno PDIP but not work, after the transfer on the card it does not show me anything, the voltage is well on 5V.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Hi Sam,
Please can you attach your program and I will investigate for you.
Please can you attach your program and I will investigate for you.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Hey, I thought I had put it, and I do not have access to my pc, but it's just a program to test the screen, with a button and the LCDBenj wrote:Hi Sam,
Please can you attach your program and I will investigate for you.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Hello,
The program you're using will help a lot, it shows what chip you're using, your configuration settings, the specific LCD component etc. Just helps for us to rule out the easy stuff before having to dig into the more complicated specifics.
Attach it when you can and we will investigate.
The program you're using will help a lot, it shows what chip you're using, your configuration settings, the specific LCD component etc. Just helps for us to rule out the easy stuff before having to dig into the more complicated specifics.
Attach it when you can and we will investigate.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Connect Grove LCD RGB to Base Shield on a Arduino
The file ^^
- Attachments
-
- test.fcfx
- (6.8 KiB) Downloaded 428 times
Re: Connect Grove LCD RGB to Base Shield on a Arduino
So ? Have you a idea ?Benj wrote:Hello,
The program you're using will help a lot, it shows what chip you're using, your configuration settings, the specific LCD component etc. Just helps for us to rule out the easy stuff before having to dig into the more complicated specifics.
Attach it when you can and we will investigate.
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Have a bit of patience it is Sunday, MATRIX staff as most other people in the world does not work on SundaysSam37 wrote: So ? Have you a idea ?
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Hello,
Right you're currently using the I2C LCD component which is meant for LCDs using the standard I2C Backpack.
For example.
https://www.adafruit.com/product/292
The Grove modules require asynchronous serial (UART) not I2C so that's probably why the code isn't working for you.
We have a plan to look at supporting the Grove modules in the near future.
In the mean time I will see if I can knock something together for you so you can use the display.
Right you're currently using the I2C LCD component which is meant for LCDs using the standard I2C Backpack.
For example.
https://www.adafruit.com/product/292
The Grove modules require asynchronous serial (UART) not I2C so that's probably why the code isn't working for you.
We have a plan to look at supporting the Grove modules in the near future.
In the mean time I will see if I can knock something together for you so you can use the display.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Right here is a new and untested component for the Grove display.
Simply add the component to your installation by copying the attached file to your "Flowcode 7/components" directory before starting Flowcode and the new component will appear in the displays component category.
Let me know how you get on.
Simply add the component to your installation by copying the attached file to your "Flowcode 7/components" directory before starting Flowcode and the new component will appear in the displays component category.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Thank I try tomorrow ^^Benj wrote:Right here is a new and untested component for the Grove display.
Simply add the component to your installation by copying the attached file to your "Flowcode 7/components" directory before starting Flowcode and the new component will appear in the displays component category.
Let me know how you get on.
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Not workBenj wrote:Right here is a new and untested component for the Grove display.
Simply add the component to your installation by copying the attached file to your "Flowcode 7/components" directory before starting Flowcode and the new component will appear in the displays component category.
Let me know how you get on.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
The component I made was for the serial version, I'll have another go now at the I2C version. I didn't even know they had I2C grove modules.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Right hopefully this component will work correctly for you.
Let me know how you get on.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Thank I'll try thursdayBenj wrote:Right hopefully this component will work correctly for you.
Let me know how you get on.
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Not workBenj wrote:Right hopefully this component will work correctly for you.
Let me know how you get on.
- Attachments
-
- IMG_20161208_101737.jpg (139.54 KiB) Viewed 17522 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Hi Sam,
Please can you send me your program so we can double check there is nothing wrong there.
Also when you upload images please can you reduce the pixel size a bit, I'm reducing the pixel width to 640 to allow the image to be seen.
Please can you send me your program so we can double check there is nothing wrong there.
Also when you upload images please can you reduce the pixel size a bit, I'm reducing the pixel width to 640 to allow the image to be seen.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Ok, sorry but i send from my phone ^^ (for picture)Benj wrote:Hi Sam,
Please can you send me your program so we can double check there is nothing wrong there.
Also when you upload images please can you reduce the pixel size a bit, I'm reducing the pixel width to 640 to allow the image to be seen.
- Attachments
-
- test.fcfx
- (5.75 KiB) Downloaded 331 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Hello,
Thanks for the file. There may be a way on your phone to edit the image dimensions either when you take the photo or before you attach the file. Just makes it easier to look at what's going on.
Looking at the code, maybe try an LCD address of 62 rather than 124 and see if that makes any difference.
Everything else seems to look ok.
Thanks for the file. There may be a way on your phone to edit the image dimensions either when you take the photo or before you attach the file. Just makes it easier to look at what's going on.
Looking at the code, maybe try an LCD address of 62 rather than 124 and see if that makes any difference.
Everything else seems to look ok.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Aha found a minor problem that the I2C address is different for the backlight.
So this should now be fixed but might also need to be divided by 2 to work correctly.
The grove library looks like this which suggests the divide by 2 is needed.
#define LCD_ADDRESS (0x7c>>1)
#define RGB_ADDRESS (0xc4>>1)
(0x7c>>1) = 62
(0xc4>>1) = 98
So this should now be fixed but might also need to be divided by 2 to work correctly.
The grove library looks like this which suggests the divide by 2 is needed.
#define LCD_ADDRESS (0x7c>>1)
#define RGB_ADDRESS (0xc4>>1)
(0x7c>>1) = 62
(0xc4>>1) = 98
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Divised by 2 ? 2 i2c module in flowcode ? I must change lcd and rgb adress with 62 and 98 ? For now i have try with your NEW i2c module without division and with change of adress and not work, thank for ll i wait your answerBenj wrote:Aha found a minor problem that the I2C address is different for the backlight.
So this should now be fixed but might also need to be divided by 2 to work correctly.
The grove library looks like this which suggests the divide by 2 is needed.
#define LCD_ADDRESS (0x7c>>1)
#define RGB_ADDRESS (0xc4>>1)
(0x7c>>1) = 62
(0xc4>>1) = 98
Re: Connect Grove LCD RGB to Base Shield on a Arduino
I have buy a alternative arduino kit with a right lcd i2c, today i can try it, when i retry tpvuse a i2c lcd, not work
- Attachments
-
- test.fcfx
- (5.84 KiB) Downloaded 268 times
Last edited by EtsDriver on Sun Jan 01, 2017 9:59 am, edited 2 times in total.
Reason: Removed images which were too large, better ones posted below by user.
Reason: Removed images which were too large, better ones posted below by user.
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Please resize pictures to normal (800x600 max) dimensions before posting. These pictures are far to large.
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
Re: Connect Grove LCD RGB to Base Shield on a Arduino
kersing wrote:Please resize pictures to normal (800x600 max) dimensions before posting. These pictures are far to large.
- Attachments
-
- test.fcfx
- (5.84 KiB) Downloaded 259 times
-
- IMG_20161221_160844.jpg (144.89 KiB) Viewed 17086 times
-
- IMG_20161221_160049.jpg
- (257.24 KiB) Downloaded 2177 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Did you try this?maybe try an LCD address of 62 rather than 124 and see if that makes any difference.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Where did you find 124, i have in i2c config 32, i'll try 64 and 124 and not workBenj wrote:Did you try this?maybe try an LCD address of 62 rather than 124 and see if that makes any difference.