Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi there I have little experience in writing codes for arduino but do have some decent knowledge and experience in using java.

I was wondering if anyone could give me some advice or simply point me in the right direction on how to read live data from arduino through a java program also how I can go about saving the live data into either a CSV, JSON or XML file using java ???

What I have tried:

Websites, Video Tutorials, PDF's and Books
Posted
Updated 2-Apr-18 7:27am

A good starting point are the Arduino tutorials.

When choosing a data format consider the consumers of the data as the defining interface. I would avoid the XML for its size, and so choose JSON or CSV. CSV has the advantage that office calculation software like MS Excel can read it, and it is a bit more structured. But if your consumer has some JSON reader than it may be the best.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900