• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Low Power Weather Station Datalogger using ESP8266 and BME280 with MicroPython

Q&A Forum › Category: ESP8266 › Low Power Weather Station Datalogger using ESP8266 and BME280 with MicroPython
0 Vote Up Vote Down
jean-francois.teilhac asked 6 years ago

download ok
exec(open(‘BME280.py’).read(),globals())
memory error : memory allocation failed, allocating 9728 bytes
Is BME280.py too big for an ESP8266 ?

Question Tags: memory allocation failed
2 Answers
0 Vote Up Vote Down
jean-francois.teilhac answered 6 years ago

This is the BME280.py for ESP8266 -> https://github.com/mchobby/esp8266-upy/blob/master/bme280-bmp280/bme280.py
The one on Random Nerd Tutorial works only for ESP32 -> https://github.com/RuiSantosdotme/ESPMicroPython/
blob/master/code/WiFi/HTTP_Client_IFTTT_BME280/BME280.py
 

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Hello Jean, I’ll mark this thread as “closed” and reply to this question in your other post: https://rntlab.com/question/send-sensor-reading-via-email-ifttt-project-in-micropython-for-esp32-and-esp8266/

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Learn Raspberry Pi Pico/Pico W with MicroPython eBook – Version 1.2 May 26, 2025
  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.