Simple program + big libraries = arduino crash. How do I solve it?


i need making program run.  want take output 3 sensors , print results sd card in csv format. 

each sensor work individually.  collectively, crash arduino in unusual , inconsistent ways.  suspect memory issue, don't know can it.   i need program work.

any expert advice on how nail thing?    program asking arduino handle? 
if so, there device capable of running thing?

thanks advice or suggestions...

quote
i suspect memory issue

yep. sd library takes on 1/4 of sram, on uno class processor.

you using softwareserial, tinygps, onewire, etc., too, of need memory.

you have string constants moved progmem. 1.0, easy:
  serial.print(f("he rocket payload v6d sd_g_p_t "));
doing string contants might free enough memory, think there mega in future.


Arduino Forum > Using Arduino > Programming Questions > Simple program + big libraries = arduino crash. How do I solve it?


arduino

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial