BME280 BME280传感器库 引脚排列 SDA-GPIO18; SCL-GPIO19 CSB em VCC 地址0x77 com SD0 em VCC; 0x76 com SD0 em GND 芯片 SPI最高10MHz,I2C最高3.4MHz 模式: 睡觉 被迫 普通的 数据读出 即使没有测量,读取压力也更快 突发读取未补偿的数据 0xF7至0xFE(温度,按动,嗡嗡声)温度按20bit无符号hum 16bit无符号 赔偿 使用设备特定的校准参数(修整值)E,在生产中设置(不能更改)0x88至0xA1,0xE1至0xF0 第25页中的公式 芯片ID 寄存器地址0xD0预期答案0x60 构型 0xF5、0xF4 博世车手 I2C (kolban的书第271页-使用I2C) ESP-IDF提供了一个I2C驱动程序,该驱动程序使我们可以从C程序高层控制I2C功能,而不必
2021-04-01 11:38:29 1.37MB esp32 esp-idf bme280 C
1
esp-idf-master
2021-03-30 09:07:01 53.85MB esp-32 esp-idf esp-8266 esp-idf-master
1
免费
2021-03-09 09:00:41 334.73MB namespace
1
esp32-freertos-sdk 工具包 See the Getting Started guide links above for a detailed setup guide. This is a quick reference for common commands when working with ESP-IDF projects: Setup Build Environment (See Getting Started guide for a full list of required steps with details.) Install host build dependencies mentioned in Getting Started guide. Add tools/ directory to the PATH Run python -m pip install -r requirements.txt to install Python dependencies Configuring the Project idf.py menuconfig Opens a text-based configuration menu for the project. Use up & down arrow keys to navigate the menu. Use Enter key to go into a submenu, Escape key to go out or to exit. Type ? to see a help screen. Enter key exits the help screen. Use Space key, or Y and N keys to enable (Yes) and disable (No) configuration items with checkboxes "[*]" Pressing ? while highlighting a configuration item displays help about that item. Type / to search the configuration items. Once done configuring, press Escape multiple times to exit and say "Yes" to save the new configuration when prompted. Compiling the Project idf.py build ... will compile app, bootloader and generate a partition table based on the config. Flashing the Project When the build finishes, it will print a command line to use esptool.py to flash the chip. However you can also do this automatically by running: idf.py -p PORT flash Replace PORT with the name of your serial port (like COM3 on Windows, /dev/ttyUSB0 on Linux, or /dev/cu.usbserial-X on MacOS. If the -p option is left out, idf.py flash will try to flash the first available serial port. This will flash the entire project (app, bootloader and partition table) to a new chip. The settings for serial port flashing can be configured with idf.py menuconfig. You don't need to run idf.py build before running idf.py flash, idf.py flash will automatically rebuild anything which needs it. Viewing Serial Output The idf.py monitor target uses the idf_monitor tool to display se
2020-03-11 03:15:02 60.12MB esp32 esp-idf
1