Xinyuan-LilyGO / T-QT

MIT License
94 stars 31 forks source link

Which pins should used or I2C? #26

Open ismailagir opened 1 year ago

ismailagir commented 1 year ago

Which pins should be used for I2C , is there any pre-defined ?

mrudick1 commented 1 year ago

It depends. You can use the onboard JST connector as a Stemma/Qwiic connection. If you choose to do so, the pins are:

GND = GND 3V = 3V GPIO 44 = SCL GPIO 43 = SDA

If you don't use this connector and solder it yourself, you can use any of the available GPIO pins for SCL and SDA.

jims1234 commented 1 year ago

Is there a 10K or equivalent pull up resistor mounted on the board on the SCL and SDA pins? if not do I need to add them externally?

lewisxhe commented 1 year ago

It is not necessary to use a sensor module, which is generally integrated on the module. If a separate sensor is used, it is necessary

icubex commented 6 months ago

It seems that on https://github.com/Xinyuan-LilyGO/T-QT/blob/main/image/pinmap_en.jpg the texts "IO44" and "IO43" as well as the corresponding numbers "44" and "43" on the PCB near the JST plug should be exchanged.

ubidefeo commented 2 months ago

@icubex I found out the same thing by just trying.

@icubex @mrudick1 I have opened #37 to address this

u.