DavidJRichards / TTGO-T-Camera-Plus-EspHome-BME688

0 stars 0 forks source link

Add BME68x to TTGO Board #1

Open tylas13 opened 2 years ago

tylas13 commented 2 years ago

Thanks for the sketch! So far I have it customized to the T-Display board (no camera) and have screen working.

I have a question on how you added the Bosch files to the board, did you add them through ESPHome? And which files are necessary to upload?

Thanks for your help.

DavidJRichards commented 2 years ago

HI, The Bosch files are part of the bme680_bsec component and added automatically, I did not need to do anything special. I am using the ESP Home Dashboard under Linux to build and flash the image. I would say it all 'just works' if it hadn't stopped working yesterday due to some unexplained wifi problem. hth David.

tylas13 commented 2 years ago

Thanks for the quick response, now I have a little better understanding of how they built ESPhome. Came from the Arduino side so the containerizing in the background was foreign to me on YAML. Instead of looking at the simple things I went too deep too quick.

I ended up having my I2C pinouts backwards in the code, and then I needed to define the address of 0x77. Seems the BESC defaults into wanting to find it under 0x76.

Have you found that you needed to use any offsets in the measurements?

DavidJRichards commented 2 years ago

Most of the sensors I have usually measure to within around 1 C of each other, I have not bothered to check which are the most accurate. The other sensors, e.g. humidity are a little more inconsistent but more or less agree with each other. I have not used any offsets. btw There is an i2c scan occuring when the system boots, it shows the addresses of connected devices on the log visible on the uart port when the system boots. I see the battery management chip and the camera as well as the BME866 on my system. hth D.