Hi everyone,
I would like to make a custom PCB with a BME280 chip on it.
I've looked at the schematic that adafruit provides for its breakout board and there's one thing I do not understand the purpose of.
Top left are 2 level shifter used for SDA and SCL lines form the BME280 to the Arduino Pro Mini in my case.
Top right is the voltage regulator 5v to 3.3v.
Bottom left the chip itself and how to connect it.
But what it the purpose of top middle part (where the 1n4148 diode is) ? Is it necessary ?
Thanks for you help.
BME280 Schematic
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- RedIron
- Posts: 8
- Joined: Sun Jan 10, 2021 6:23 am
BME280 Schematic
- Attachments
-
- Adafruit BME280 Schematic.png (26.06 KiB) Viewed 113 times
- adafruit_support_bill
- Posts: 88086
- Joined: Sat Feb 07, 2009 10:11 am
Re: BME280 Schematic
For SPI communication. the CS is pulled LOW to select the device for communication. The chip itself runs at 3.3v and has internal pullups for the CS pin. (see p.33 of the datasheet: https://cdn-shop.adafruit.com/datasheet ... 001-10.pdf )
The diode allows a 5v processor to pull the pin LOW, but blocks it from pulling it HIGH to 5v.
The diode allows a 5v processor to pull the pin LOW, but blocks it from pulling it HIGH to 5v.
- RedIron
- Posts: 8
- Joined: Sun Jan 10, 2021 6:23 am
Re: BME280 Schematic
Thanks for you answer.
I intend to use I2C, is it therefore necessary ?
I intend to use I2C, is it therefore necessary ?
- adafruit_support_bill
- Posts: 88086
- Joined: Sat Feb 07, 2009 10:11 am
Re: BME280 Schematic
Sections 6 and 7 discuss the role of the CSB pin in i2c communication. Figure 17 shows the recommended connections for i2c.
https://cdn-shop.adafruit.com/datasheet ... 001-10.pdf
https://cdn-shop.adafruit.com/datasheet ... 001-10.pdf
- RedIron
- Posts: 8
- Joined: Sun Jan 10, 2021 6:23 am
Re: BME280 Schematic
Ok thanks for the advise, I will do as shown in figure 17.
Please be positive and constructive with your questions and comments.