Sign up ×
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

I'd like to extract data collected by a battery powered arduino for example once a day without stopping it and not using SD card.

It's posible, when I want to extract the collected data, to connect a laptop through the USB and then get data because Arduino is, at regulat time intervals, calling 'Serial.println(...)'?

share|improve this question
    
What do you need help with exactly? – BrettAM Oct 22 '14 at 16:46
1  
Please be aware thqt most Arduino models will reboot when you plug a cable to the USB port and have your PC open communication. This may not be what you want as all data stored in SRAM will be lost. – jfpoilpret Oct 22 '14 at 18:11
    
Would you consider having a second arduino to collect the data wirelessly? This second. Arduino could be connected to a computer collecting the data. Asking since I'm not sure if the solution absolutely can only include a single arduino. – Jose Leon Oct 22 '14 at 20:06

2 Answers 2

Yes, you can do it. Depends how much data to have enough storage space. You also need consider potential memory endurance. E.g. external I2C ferromagnetic memory is good option. Of course it's not on Arduino board, you implement extension.

share|improve this answer

This is a bit crude, but I think you could use an FTDI cable (which is a USB to UART converter) to have a program in your laptop talk to the Arduino using its UART (serial) interface.

To do it, you could plug the USB side of a FTDI serial cable to your laptop. The other end of the cable has a plug with 6 pins, 2 of which are the TX and RX serial signals. You could plug those two signals to pins D0 and D1 (RX & TX) of your Arduino using male-to-male jumpers.

In terms of software, you could code the Arduino sketch to listen on the serial port for a command from your laptop. When the command arrives, it would output the stored data (could be comma separated values with CR+LF as end of line). Your laptop would then listen for the answer and retrieve the data.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.