PleaseSam37 wrote: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.
Connect Grove LCD RGB to Base Shield on a Arduino
Moderator: Benj
Re: Connect Grove LCD RGB to Base Shield on a Arduino
- 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,
How are you getting on, any joy?
I've had another look at the code compared to the Arduino library and haven't spotted any problems so far.
How are you getting on, any joy?
I've had another look at the code compared to the Arduino library and haven't spotted any problems so far.
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
Hello,
We tried your last component library "lcd_Grove_I2C.fcpx" with the grove I2C LCD RGB backlight V4.0: It doesn't work!
After some investigations with simulation on ISIS, there is a problem with the initialization macro "START". By comparing the LCD datasheet with the frames generated, it appears that it lacks the "Entry Mode Set" instruction (see Page 14 of the JHD1214). https://seeeddoc.github.io/Grove-LCD_RG ... YG_1.0.pdf
Do not forget to connect 2 pull-up resistors on the SDA and SCL pins. Internal resistors can be used, but the oscillograph shows signals not very clean.
We redo the sequences of initializations and we arrived at the following program which works.
We hope this will solve the problem, and that you will update the library of the Grove I2C LCD component which is currently unusable.
Best regards
We tried your last component library "lcd_Grove_I2C.fcpx" with the grove I2C LCD RGB backlight V4.0: It doesn't work!
After some investigations with simulation on ISIS, there is a problem with the initialization macro "START". By comparing the LCD datasheet with the frames generated, it appears that it lacks the "Entry Mode Set" instruction (see Page 14 of the JHD1214). https://seeeddoc.github.io/Grove-LCD_RG ... YG_1.0.pdf
Do not forget to connect 2 pull-up resistors on the SDA and SCL pins. Internal resistors can be used, but the oscillograph shows signals not very clean.
We redo the sequences of initializations and we arrived at the following program which works.
We hope this will solve the problem, and that you will update the library of the Grove I2C LCD component which is currently unusable.
Best regards
- Attachments
-
- INIT_I2C_LCD_OK.fcfx
- (11.62 KiB) Downloaded 424 times
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Hello
Did you update the 'START' macro? If so, can you update the library "lcd_Grove_I2C.fcpx" because we would like to use it with our students.
Thank you
Best regards
Did you update the 'START' macro? If so, can you update the library "lcd_Grove_I2C.fcpx" because we would like to use it with our students.
Thank you
Best regards
-
- Posts: 19
- Joined: Fri Dec 07, 2018 11:34 am
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Profsti :
Bonjour,
J'écris en Francais :
Une solution pour utiliser le GROVE LCD RGB Backlight a-t-elle été trouvée ?
J'utilise Flowcode 8. et j'aimerai l'utiliser avec les élèves.
La simulation fonctionne mais pas sur l'arduino R3 avec Shield Grove
Merci
Bonne journée
Bonjour,
J'écris en Francais :
Une solution pour utiliser le GROVE LCD RGB Backlight a-t-elle été trouvée ?
J'utilise Flowcode 8. et j'aimerai l'utiliser avec les élèves.
La simulation fonctionne mais pas sur l'arduino R3 avec Shield Grove
Merci
Bonne journée
- 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
Thanks for letting us know. I have had a go at fixing the problem and the latest version of the component is attached.
I've also rolled out the fix for v8 and it is available via the Help -> Check For Updates menu. Note you need to be running the latest 8.1 installation for the updates to work correctly.
J'ai également déployé le correctif pour la v8 et il est disponible via le menu Aide -> Rechercher les mises à jour. Notez que vous devez exécuter la dernière installation 8.1 pour que les mises à jour fonctionnent correctement.
I've also rolled out the fix for v8 and it is available via the Help -> Check For Updates menu. Note you need to be running the latest 8.1 installation for the updates to work correctly.
J'ai également déployé le correctif pour la v8 et il est disponible via le menu Aide -> Rechercher les mises à jour. Notez que vous devez exécuter la dernière installation 8.1 pour que les mises à jour fonctionnent correctement.
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
-
- Posts: 19
- Joined: Fri Dec 07, 2018 11:34 am
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Bonjour,
Merci pour la rapidité de votre réponse.
Nous sommes un lycée et nous avons la version 8.0.0.6..
La mise à jour vers la version 8.1 peut elle être faite avec l'aide de la version 8.0 ?
Merci
Merci pour la rapidité de votre réponse.
Nous sommes un lycée et nous avons la version 8.0.0.6..
La mise à jour vers la version 8.1 peut elle être faite avec l'aide de la version 8.0 ?
Merci
-
- Posts: 19
- Joined: Fri Dec 07, 2018 11:34 am
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Bonjour,
nous avons placé la version 8.1 et la mise à jour du Grove-LCD RGB V4.0 I2C.
Mais cela ne fonctionne toujours pas.
Impossible de faire fonctionner l'écran qui fonctionne avec l'IDE en C.
Merci
nous avons placé la version 8.1 et la mise à jour du Grove-LCD RGB V4.0 I2C.
Mais cela ne fonctionne toujours pas.
Impossible de faire fonctionner l'écran qui fonctionne avec l'IDE en C.
Merci
-
- Posts: 19
- Joined: Fri Dec 07, 2018 11:34 am
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Effectivement, cela fonctionne avec deux résistances Pull UP
"I placed two pull up resistor on the SCL and SDA"
Dommage que cela fonctionne sans aucune résistance avec l'IDE mais avec résistance avec Flowcode
Avez vous une solution puor le faire fonctionner directement sur shield Grove ?
Merci b cp pour votre aide
"I placed two pull up resistor on the SCL and SDA"
Dommage que cela fonctionne sans aucune résistance avec l'IDE mais avec résistance avec Flowcode
Avez vous une solution puor le faire fonctionner directement sur shield Grove ?
Merci b cp pour votre aide
- 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
Bonjour,
Brilliant content que cela fonctionne correctement pour vous maintenant. Pouvez-vous me dire quel périphérique cible vous utilisez et quelles broches sont connectées à l'écran et je vous générerai le code C nécessaire pour activer les résistances de rappel internes sur ces broches.
Hello,
Brilliant glad it's working correctly for you now. Please can you tell me which target device you are using and what pins the display is connected to and I will generate you the C code required to enable the internal pull up resistors on those pins.
Brilliant content que cela fonctionne correctement pour vous maintenant. Pouvez-vous me dire quel périphérique cible vous utilisez et quelles broches sont connectées à l'écran et je vous générerai le code C nécessaire pour activer les résistances de rappel internes sur ces broches.
Hello,
Brilliant glad it's working correctly for you now. Please can you tell me which target device you are using and what pins the display is connected to and I will generate you the C code required to enable the internal pull up resistors on those pins.
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
-
- Posts: 19
- Joined: Fri Dec 07, 2018 11:34 am
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
bonjour,
Il n'y a donc pas d'espoir pour que cela fonctionne sans "astuce" ou directement sur le shield grove ?
Merci pour votre aide.
J'utilise le GROVE LCD RGB Backlight v4.0. sur une Arduino Uno R3 PDIP
Les broches utilisées sont
SDA -->A5
SDL --> A4
Il n'y a donc pas d'espoir pour que cela fonctionne sans "astuce" ou directement sur le shield grove ?
Merci pour votre aide.
J'utilise le GROVE LCD RGB Backlight v4.0. sur une Arduino Uno R3 PDIP
Les broches utilisées sont
SDA -->A5
SDL --> A4
- 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
Bonjour,
Seulement si vous montez les résistances de rappel externes sur les blindages.
J'ai bien peur que l'IDE Arduino fasse la même chose en coulisse.
Voici le code pour activer les tractions sur les pins Arduino A4 et A5.
Hello,
Only if you fit the external pull up resistors to the shields.
I'm afraid the Arduino IDE will be doing the same thing behind the scenes.
Here is the code to activate the pull ups on the Arduino pins A4 and A5.
Seulement si vous montez les résistances de rappel externes sur les blindages.
J'ai bien peur que l'IDE Arduino fasse la même chose en coulisse.
Voici le code pour activer les tractions sur les pins Arduino A4 et A5.
Code: Select all
DDRC = 0x00; //PortC est une entrée
PORTC = 0x30; //Les bits PortC 4 et 5 activent le pull-up interne
Hello,
Only if you fit the external pull up resistors to the shields.
I'm afraid the Arduino IDE will be doing the same thing behind the scenes.
Here is the code to activate the pull ups on the Arduino pins A4 and A5.
Code: Select all
DDRC = 0x00; //PortC is an input
PORTC = 0x30; //PortC bits 4 and 5 activate internal pullup
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
-
- Posts: 19
- Joined: Fri Dec 07, 2018 11:34 am
- Has thanked: 1 time
- Been thanked: 1 time
- Contact:
Re: Connect Grove LCD RGB to Base Shield on a Arduino
Bonjour,
Merci beaucoup pour votre aide et pour la rapidité de votre réponse.
Je n'ai pas encore essayé votre astuce. Je vous tiens au courant si cela fonctionne.
Merci beaucoup pour votre aide et pour la rapidité de votre réponse.
Je n'ai pas encore essayé votre astuce. Je vous tiens au courant si cela fonctionne.