Integrating weather, camera, xbee, and SD shields together fails, works seperate


i'm building remote environment monitor can take measurements , photos on demand.

i tested each shield itself, modified each shield avoid conflicts - had cut , re-route 1 trace.  pin 8 sd chip select sd shield, , status indicator output on weather shield.  cut , jumped on pin 9.

when integrated parts 1 file (below) log data , photos sd card.  problem seemed have getting photos on xbee link - , seemed fault.   as in not splitting out data status messages properly. 

so focused on that, , when thought had working surprised find image viewer (irfanview) still said dct 11 (or 10) bogus.

i powered off uno r3 , pulled out u-sd chip, put usb adapter, , jpg files zero-bytes! 

then noticed data logger command getting error too.

this when loaded sd data logger itself, worked fine.  photo taker itself, fine.

so commented out line(s) echo data on serial link.  still zero-byte photos.  put code had removed (sending periodic dots during save) in case weird timing issue.   no change.

i'm stumped.  i'm still trying think of can try next, appreciate insight others might have on issue.

i of messages through send_msg() instead of serial.print() can switch communications on xbee on over serial port (2,3).  have not gotten far.  have been doing testing control program in python, , serial monitor.

i re-built program 1 shield @ time.

i discovered errors started after importing wire library - without using it.

some more research around "library conflicts" , discovered had run out of sram!

as per memory tutorial, surrounded static (message) strings f(), , problems vanished!

the uno lovely device, have remember not desktop pc near-infinite resources....


Arduino Forum > Using Arduino > Storage > Integrating weather, camera, xbee, and SD shields together fails, works seperate


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support