Welcome, Guest
Username: Password: Remember me

TOPIC: EasyIoT sketch result 182% of Global variables!!

EasyIoT sketch result 182% of Global variables!! 1 year 7 months ago #2965

  • osalval
  • osalval's Avatar
  • Offline
  • Senior Member
  • Posts: 58
  • Thank you received: 3
  • Karma: 0
Big problem!.

After developing projects using nRF24L01 I start to do the same with ESP8266, is the main advantage of EasyIoT controller.

I start from a good working sketch using nRF24L01 and My Sensors library in Arduino Nano: 40% of dynamic global variables

To same sketch using Esp8266EasyIoT library: 182% of dynamic global variables!!

Of course I check it all and there is no differences. It seems Esp8266EasyIoT only can afford for 2 or 3 sensors maximun in Arduino UNO, Nano, or Mini boards.

Trying a sketch controlling 2 relays and one light sensors results in 81% of Global variables.
The administrator has disabled public write access.

EasyIoT sketch result 182% of Global variables!! 1 year 6 months ago #2979

  • EasyIoT
  • EasyIoT's Avatar
  • Offline
  • Administrator
  • Posts: 833
  • Thank you received: 258
  • Karma: 24
osalval wrote:
Big problem!.

After developing projects using nRF24L01 I start to do the same with ESP8266, is the main advantage of EasyIoT controller.

I start from a good working sketch using nRF24L01 and My Sensors library in Arduino Nano: 40% of dynamic global variables

To same sketch using Esp8266EasyIoT library: 182% of dynamic global variables!!

Of course I check it all and there is no differences. It seems Esp8266EasyIoT only can afford for 2 or 3 sensors maximun in Arduino UNO, Nano, or Mini boards.

Trying a sketch controlling 2 relays and one light sensors results in 81% of Global variables.

Esp8266EasyIoT was developed for Arduino in times when no ESP8266 Arduino IDE exists and ESP8266 firmware was unstable. Now you can develop directly for ESP8266 in ESP8266 Arduino IDE. You can use Esp8266EasyIoT library and modify it to work directly on ESP8266. In lib are two main loops. One is for communication with between Arduino and ESP8266 and second loop is for communication between EasyIoT server and ESP8266. Just remove part for communication with Arduino - you do not need it, because you will use library directly on ESP8266. I guess you will get a lot of additional memory if you do that.
The administrator has disabled public write access.
The following user(s) said Thank You: osalval

EasyIoT sketch result 182% of Global variables!! 1 year 6 months ago #3085

  • osalval
  • osalval's Avatar
  • Offline
  • Senior Member
  • Posts: 58
  • Thank you received: 3
  • Karma: 0
I know that.
But we are talking about ESP-01 and with, only 2 GPIO ports, its utility is more as radio interface.
The administrator has disabled public write access.
Time to create page: 0.130 seconds
Powered by Kunena Forum