I would like to gather/generate some data while my Arduino is running on battery power, and then later connect the Arduino to my computer to save and analyse the numbers. (
Similar to this.)
Specifics: I am using the
Arduino LilyPad as a bicycle computer. I want to put it on my bike, turn it on, and let it record wheel revolution counts and timings. (During this data collection, connecting it to my laptop is inconvenient!) Once back from the ride, I want to offload the numbers so I can make histograms etc – an easy way to do this during development is to dump the data over Serial.
Questions:
- If I plug in the USB (and adapter) while the battery power is connected, will this fry my computer/Arduino and/or render the serial data unusuable (as suggested elsewhere)?
- If I plug in the USB after the fact, will it unavoidably reset the board, anyway?
- Is EEPROM the answer? (The write/erase cycle note on the EEPROM.write() page made me hesitate, but I doubt I'll take the Arduino for 100,000 bike rides; who knows if I'll even power-cycle the device that many times.)
- Wireless: are XBee or bluetooth worth investigating?
- SD: is a simple microSD board enough to dump numbers to the card with minimal code / library-learning?
Thanks for any insight into the best way to approach this!