• 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

BME680 BSEC Async Web Server slow to respond

Q&A Forum › Category: Questions › BME680 BSEC Async Web Server slow to respond
0 Vote Up Vote Down
William Lucid asked 4 years ago

“BME680 BSEC Studies” offers graphing of Indoor Air Quality, Gas Resistance, CO2, and VOC; as well as, Async web server, FTP, OLed display, and data logging.

Project can be found on Github: BME680-BSEC-Studies

Graphs produced by project.

Have observered a slowness to web requests for servered pages; any ideas for improvement of response times for servered web pages?

William

Question Tags: Asyncwebserver, BME680, BSEC
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
Your project does a lot of stuff “at the same time”. You’re publishing to thingspeak and handling a web server, etc.
The slowness may be related to that. Maybe the ESP32 is not powerful enough to do all that faster.
But when you say it is slow, how slow is it? 
Regards,
Sara

0 Vote Up Vote Down
William Lucid answered 4 years ago

Good Morning Sara,
 
Response speed is not constant; fast like normal, then slow –maybe a count of 10 sec.  After 10 sec coun;t  there is a normal, fast response to web server URL’s.  I can close web server page, then re-open web server page fast –right after closing.
 
Project does have “allot of moving parts.”  Another project with “aomp,” functions very well; fast responses to all GET requests.  I am hitting the OLED every 30 second; I will try slowing it down.  My first use of the Graphics library and OLed in a project.
 
Fortunately, project is built around functions; will try commenting out, one function at a time to try and isolate the time lag.
 
William
 

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
Yes, that might be a good strategy to see which of those functions may be slowing down your project. Other than that, I don’t have other suggestions 😐
I’m sorry that I can’t help much.
Regards,
Sara

0 Vote Up Vote Down
William Lucid answered 4 years ago

Sara,

Found a function call inside of loop; that was always running, moved function call.  Function only runs once every time there is a datapoint now (about every two minutes).  Improved “GET”request response time.  Will see how that does over time…

Best REgards,
William

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

That’s great!
Thanks for the update 🙂

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.