WOW!!! Somebody installed a turbocharger!!!

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
User avatar
budman1758
Normal user
Posts: 301
Joined: 15 Apr 2017, 05:13
Location: Riverside CA USA

WOW!!! Somebody installed a turbocharger!!!

#1 Post by budman1758 » 11 Mar 2018, 06:52

I have a project I have been working on for a few weeks now. I update the firmware with the latest MEGA version almost every night. Something MAJOR happened with the 20180311 version.
The project is a sprinkler controller. It has a 16 relay board powered by an MCP23017 IO expander. It also has a PCF8574 for inputs, an ADS1115 ADC board, an SI7102 temp and humidity sensor and 2 OLED's attached. A normal OLED and a Framed OLED. Module is an ESP-07S. The PCF8574 inputs are for future use and the analog inputs are for the same but 2 of them are jumpered for monitoring the 12vdc input and onboard 5 volts. There are 2 pages of rules currently to make it work.

The 2 IO expanders have no tasks assigned to them and the ADS1115 is using 2 tasks. This is probable quite a bit of stuff on 1 ESP module as it was pretty slow in response time and processing time. Sometimes web page loads were taking forever. For example, here are times for processing certain things

Measure 12v input (ADS1115) 4315 milliseconds
Measure 5 volts (ADS1115 4321 milliseconds
measure temp (SI7201) 4303 milliseconds
Measure humidity (SI7201) 4302 milliseconds
Process clock#time 3885 milliseconds

Pretty slow processing and every other thing was comparable. There are a couple switches to control things like automatic or manual operation that also write to the OLED.
Here are the times for processing the same things with the latest firmware...

Measure 12v input (ADS1115) 140 milliseconds
Measure 5 volts (ADS1115 136 milliseconds
measure temp (SI7201) 139 milliseconds
Measure humidity (SI7201) 135 milliseconds
Process clock#time 138 milliseconds

Thats a considerable difference. Kinda like going from a 386 to the latest Pentium overnight!!! :D
Whomever is responsible for this really deserves some major KUDO's!!!!!!!
Can't wait to dig out my keypad project and try it out! :ugeek: :ugeek:
"The glass is twice as big as it needs to be".

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: WOW!!! Somebody installed a turbocharger!!!

#2 Post by grovkillen » 11 Mar 2018, 09:10

I think the latest commits by Martinus is what you experience. That plus the fix with how the webserver is handling the requests is making ESP Easy lightning fast. :D

So it's really a team effort. Great job everyone :D :D
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WOW!!! Somebody installed a turbocharger!!!

#3 Post by TD-er » 11 Mar 2018, 15:09

More speed-ups for the webserver are on its way, thanks to suggestions made by Martinus' commits :)
Although not as impressive, because a factor 10+ is not achievable anymore.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: WOW!!! Somebody installed a turbocharger!!!

#4 Post by Shardan » 11 Mar 2018, 16:07

+1
Regards
Shardan

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: WOW!!! Somebody installed a turbocharger!!!

#5 Post by enesbcs » 11 Mar 2018, 20:28

Impressive. Responsive. Big thanks! :)

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: WOW!!! Somebody installed a turbocharger!!!

#6 Post by toffel969 » 12 Mar 2018, 06:59

Sounds great and is an extremely welcome improvement, thx to everyone involved.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 40 guests