Hi,
I recently got a capsule v3 to use for a project, and to try out LoRa communication.
A part of the project is writing the firmware from scratch, and I’m having trouble figuring out how to read from the temp/humidity sensor.
The schematics for the capsule only show how to drive the GNSS module. As far as I can find, for example in the variants folder on github (sorry can only put two links in my posts because I’m new) sda/scl is 41/42 respectively, and veth with drives the GNSS module (and maybe the temp sensor also?) is on pin 21. Using those pins and I2C does not give me a valid readback of the id of the device though, with or without driving GPIO21.
In Heltec’s repo here there’s some example c++ code that assumes GPI01/GPIO2 to be sda/scl and runs using those. That did not work either. It being GPIO1/2 does correspond to a replacement of the GNSS with a temp module however, if I’m reading the schematics correctly.
Does anyone know which pins I need to use for I2C, and whether I need to supply power through some other pin and which way to drive that pin?
Thanks!