Forum: µC & Digital Electronics Arduino Mega & processing, serial interface

Author: volky (Guest)
Posted on:
Attached files:

Rate this post
0 useful
not useful
I try to use Arduino Mega for data mining from for example some 
thermometers over 24h periods. After each passed period I'll start my PC 
(Windows 7) where a processing scetch is startet to read the gathered 
data from my Arduino via serial interface (com3). But in the moment the 
serial communication starts, all my data on Arduino are erased!

In the attached sketches a simple watch replaces my thermometers.

Has anyone some ideas?

Author: Testato (Guest)
Posted on:

Rate this post
0 useful
not useful
normally arduino reset itself when a serial connection is established
on arduino mega PCB is there a pad named "RESET-EN"
you need to cut whit a knife the copper between the pads for remove the 
ATTENTION that you loose the autoreset function for program the micro, 
so the  better things is to solder a jumper on the pads and remove it 
after the upload of the program

Author: chris (Guest)
Posted on:

Rate this post
0 useful
not useful
How about using a SD card to store the data?


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.