My sketch reads data from 2 DS18b20s, a DHT 11, and a DS3231 rtc, then logs the data, and displays an LCD.
The most recent compilations are acting a little strange, however…sometimes the serial data gets corrupted, sometimes it quits after just a few iterations, and sometimes it works ok for a while, but reports an error opening the datalog.
I had this circuit working nicely, before trying to add the rtc module...I am wondering if this is just because I am running low on memory:
"Sketch uses 23,956 bytes (74%) of program storage space. Maximum is 32,256 bytes.
Global variables use 1,652 bytes (80%) of dynamic memory, leaving 396 bytes for local variables. Maximum is 2,048 bytes.
Low memory available, stability problems may occur."
Are the errors I am experiencing typical, of low memory conditions?
Would switching the project to a Mega enable me to work around this difficulty?