• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Arduino and JavaFX  RSS feed

 
Ranch Hand
Posts: 119
Eclipse IDE Mac VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello! I'm working on a project that involves the arduino, along with a couple sensors, and Java. I'm constructed a very primitive looking JavaFX application that will read data from the arduino sensors in realtime and graph that data in charts. I've scoured the internet looking for resources and all I've really been able to find examples of other people's projects. This is very new territory for me and while it is possible to copy and past other's work, I was hoping someone might have a recommendation for a text that discusses port communication with java.

I've downloaded all the necessary libraries to communicate with the arudino and serial port.
 
Derek Smiths
Ranch Hand
Posts: 119
Eclipse IDE Mac VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Posted below is my code so far. Once I started to work on the part involving the SerialPort, the code no longer works. I've tried taking it a step at at time, but I'm now running into the issue of displaying the serial data on the chart as the data is read from serial port. I've got several errors loading displaying, but I believe the brunt of the issue is coming from the ChangeListener event that is part of the solar tab. Any help you could offer would be great. I'm getting a little frustrated, because I've only found one legitimate source of information and it has helped but at this point in the program, I am veering off into different territory than the walkthrough I've been using.

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!