Add BME280 sensor to Crowpanel basic 7inch HMI.

I have tried several 12c scanners but unable to detect the sensor which is connected to the provided 12c port. Is there a specific method to connect this sensor ? I have tried AI for an answer but that resulted in hours of frustration! Any help would be much apreciated. Thanks.

Comments

  • Dear cliveb,

    Hope you are doing well. Thank you for your support of us.
    I am sorry, this issue requires some time for our team to analyze. I will get back to you as soon as we finish the analysis. Please wait patiently.

    I apologize for any inconvenience this may cause.

    If you have any further questions, please don't hesitate to let me know.

    Thanks!

    Warm regards,

  • I have this same issue. My BME280 works on my 3.5 inch display, but not on my 5 inch display. I am not sure if this is the cause, but after searching the Internet forever, chatting with some ai bots, I am wondering if this is caused by a power issue. Maybe the PC's USB port is not supplying enough current for the display. Perhaps we need to supply external power of at least 2 amps to the BAT connector. Unfortunately, you cannot just go out and buy a battery with connector for it. You can get a 18650 battery from amazon, but the connector is for a PH-2.0 and the display requires a PY-2.0 connector. So far I have not found anything. I will probably have to build my own cable.

  • edited March 3

    One thing I did notice is that even though my bme280 sensor works on my 3.5 inch display, if I do a i2c scan, it does not detect the correct address for the sensor which should be 0x77 or 0x76. What I get is 0x18 and 0x5D which from what I understand is the address of the touch panel. Still, the 3.5 inch display runs the code properly and displays the correct values. Strange.

  • @ZK_66 said:
    I have this same issue. My BME280 works on my 3.5 inch display, but not on my 5 inch display. I am not sure if this is the cause, but after searching the Internet forever, chatting with some ai bots, I am wondering if this is caused by a power issue. Maybe the PC's USB port is not supplying enough current for the display. Perhaps we need to supply external power of at least 2 amps to the BAT connector. Unfortunately, you cannot just go out and buy a battery with connector for it. You can get a 18650 battery from amazon, but the connector is for a PH-2.0 and the display requires a PY-2.0 connector. So far I have not found anything. I will probably have to build my own cable.

    Hi ZK_66,
    We also have received your email. And we have sent you an email regarding the issue , pls check.

  • Dear cliveb,
    We have sent you an email regarding the issue. pls check
    Best regards,

  • I already figured out what was wrong. I had to add 2 external 2.2K ohm resistors on the I2C lines. After that everything is working fine though I still don't like that there is only one gpio pin.

  • @ZK_66 said:
    I already figured out what was wrong. I had to add 2 external 2.2K ohm resistors on the I2C lines. After that everything is working fine though I still don't like that there is only one gpio pin.

    HI, ZK_66,

    Thank you for sharing.
    Also, the Advance HMI series products likely have more pins; you can search for them on our official website.
    Best regards,

  • I solved my problem by connectiing the BME280 to another ESP32 board and connecting to the Crowpanel via Json. My Crowpanel weather station is now complete.

Sign In or Register to comment.