LoupHC / controleur-CAPE

Contrôleur de serre openSource pour petites, moyennes et grosses fermes
GNU Lesser General Public License v3.0
8 stars 4 forks source link

Proto V2.0 - LCD interférences #102

Open yoangp opened 5 years ago

yoangp commented 5 years ago

De https://community.particle.io/t/i2c-lcd-display-getting-corrupted-solved/9767/28:

À essayer: -Voir s'il y a des pull-ups en parallèle (sur le circuit et back-pack du LCD), semble être le cas. Enlever les pull-ups du circuit sur SDA et SCL pour voir si ça aide.

-"I2C depends strongly on timing. So normaly, during a I2C communication every interrupt should be disabled / suppressed (including Serial Communication)"...

-"Add some 0.01uF and 100uF capacitors across the power supply leads to the display as close to the display as possible."

-"Make every wire as short as possible.", peut-être flt-ribbon du lcd de 2in plutot que 4in si possible à trouver.

-Update de librairie pour le LCD...

yoangp commented 5 years ago

Allo, enlève les pull-up R8 et R10 sur le I2C, ça aide déjà beaucoup l'écran.

LoupHC commented 5 years ago

Tu constates déjà une différence??

yoangp commented 5 years ago

Oui!

Le mar. 30 juill. 2019, à 20 h 40, LoupHC notifications@github.com a écrit :

Tu constates déjà une différence??

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/LoupHC/controleur-CAPE/issues/102?email_source=notifications&email_token=AIGEN7ASF3EHNEYIX6U2FZTQCDNRXA5CNFSM4IHXT5F2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3FWYEI#issuecomment-516647953, or mute the thread https://github.com/notifications/unsubscribe-auth/AIGEN7HZYQDQVLRLO3CAPFDQCDNRXANCNFSM4IHXT5FQ .

LoupHC commented 5 years ago

Quelle genre de différence?

jayserf commented 5 years ago

That sucks...

there's always the 27,000 cables on digikey to choose from for shorter ones though, 1 problem solved.

https://www.digikey.ca/products/en/cable-assemblies/rectangular-cable-assemblies/450?FV=ffe001c2&quantity=0&ColumnSort=1000011&page=1&k=ribbon+cable&pageSize=25

On Tue, Jul 30, 2019 at 9:08 PM LoupHC notifications@github.com wrote:

Quelle genre de différence?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LoupHC/controleur-CAPE/issues/102?email_source=notifications&email_token=AGL6IJ2ZGJEE5IVHOHISUIDQCDQXLA5CNFSM4IHXT5F2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3FX37A#issuecomment-516652540, or mute the thread https://github.com/notifications/unsubscribe-auth/AGL6IJ5FQE5IDW6BFCNQCR3QCDQXLANCNFSM4IHXT5FQ .

yoangp commented 5 years ago

Hello Jason,

No problem here, in fact it helps that I removed the pull-ups on the I2C data lines (R8 and R10) because there is already pull-ups on the LCD backpack I2C pcb. I believe it helps because voltage value for "0" is closer to 0V. No big change here on the Otomate PCB, just no R8 and R10 resistors installed or removed altogether from the next PCB design.

jayserf commented 5 years ago

Ok cool that we're not having flickering screen issues. Tks

On Wed, Jul 31, 2019, 12:46 PM yoangp notifications@github.com wrote:

Hello Jason,

No problem here, in fact it helps that I removed the pull-ups on the I2C data lines (R8 and R10) because there is already pull-ups on the LCD backpack I2C pcb. I believe it helps because voltage value for "0" is closer to 0V. No big change here on the Otomate PCB, just no R8 and R10 resistors installed or removed altogether from the next PCB design.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LoupHC/controleur-CAPE/issues/102?email_source=notifications&email_token=AGL6IJ4L3NDUVLHCBGBO6YTQCG6VTA5CNFSM4IHXT5F2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3H3OXY#issuecomment-516929375, or mute the thread https://github.com/notifications/unsubscribe-auth/AGL6IJ2O2DWCDCAP62GLKUDQCG6VTANCNFSM4IHXT5FQ .