Book Image

JavaFX Essentials

By : Mohamed Taman, Mohamed Taman
Book Image

JavaFX Essentials

By: Mohamed Taman, Mohamed Taman

Overview of this book

Table of Contents (16 chapters)
JavaFX Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
7
Monitoring and Controlling Arduino with JavaFX
Index

Summary


In this chapter, you learned what can be achieved by combining Arduino and JavaFX. You began by learning about Arduino, its different boards, main specifications, where to buy it and its components. Then, we discussed more sites for projects inspirations.

Next you saw how to download and set up the Arduino IDE to communicate with Arduino. After learning about loading examples in the IDE, you got the chance to try it for yourself by building a simple circuit with an Arduino Uno and a temperature sensor to create a sketch and read the temperature levels in the IDE Serial Monitor.

Then you learned how to read serial port data from your computer using the Java Simple Serial Connector library.

You learned how to use the JavaFX Line Chart API to monitor and display the Arduino readings. Then, you saw an example in which a JavaFX chart is plotted with a series of data from the serial port, using an Arduino board to measure the level of blood temperature with a temperature sensor.

In the next...