Skip to content

ESP8266 - Driver for the temperature and pressure sensor BMP180

License

Notifications You must be signed in to change notification settings

CHERTS/esp8266-i2c_bmp180

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP8266 - Driver for the temperature and pressure sensor BMP180

Схема подключения BMP180 к ESP-01:
Вывод BMP180 GND подключен к GND ESP-01
Вывод BMP180 Vcc подключен к Vcc (3.3 Вольта) ESP-01
Вывод BMP180 SDA подключен к GPIO2 ESP-01
Вывод BMP180 SCL подключен к GPIO0 ESP-01 (смотрите файл i2c.h)

Сборка под Windows:

  1. Скачайте и установите компилятор и SDK.
  2. Скачайте и установите MinGW. Запускаем mingw-get-setup.exe, в процессе установки выберите режим без GUI, то есть уберите галочку "...also install support for the graphical user interface".
  3. Скачайте (84Mb) набор моих скриптов для автоматизации установки дополнительных модулей для MinGW.
  4. Запустите из моего набора файл install-mingw-package.bat. Он установит основные модули для MinGW, установка должна пройти без ошибок.
  5. Установите Git for Windows (после установки потребуется перезагрузить компьютер).
  6. Запускаем консоль C:\MinGW\msys\1.0\msys.bat
  7. В консоле выполните:
cd /c/Espressif/examples
git clone https://github.com/CHERTS/esp8266-i2c_bmp180
cd esp8266-i2c_bmp180
make
make flash

--

For a single device, connect as follows BMP180 to ESP-01:
BMP180 GND to GND ESP-01
BMP180 Vcc to Vcc (3.3 Volts) ESP-01
BMP180 SDA to GPIO2 ESP-01
BMP180 SCL to GPIO0 ESP-01 (see file i2c.h)

Building on Windows:

  1. Download and install compiler and SDK.
  2. Download and install MinGW. Run mingw-get-setup.exe, the installation process to select without GUI, ie uncheck "... also install support for the graphical user interface".
  3. Download (84Mb) set my scripts to automate the installation of additional modules for MinGW.
  4. Run the file from my set of install-mingw-package.bat. He will establish the basic modules for MinGW, installation should proceed without error.
  5. Install Git for Windows (after installation to restart the computer).
  6. Run the console C:\MinGW\msys\1.0\msys.bat
  7. In the console, run:
cd /c/Espressif/examples
git clone https://github.com/CHERTS/esp8266-i2c_bmp180
cd esp8266-i2c_bmp180
make
make flash

About

ESP8266 - Driver for the temperature and pressure sensor BMP180

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages