Firmata and Java:Installation & Test on Windows 11

Опубликовано: 28 Октябрь 2024
на канале: James Smith
1,393
7

Here we go over all the steps for setting up a Firmata and Java project for an Arduino in IntelliJ. We go over drivers, the Arduino IDE, downloading StandardFirmata on to the board, etc.

We also look at what happens if you mess up the USB port name (e.g. COM5 instead of COM3 if you're supposed to use COM3) and what happens if you mess up the import of the libraries (Firmata4j, SLF-4J-JCL and JSSC).

More info here: https://www.yorku.ca/professor/drsmit...

Libraries:

1. The Java Simple Serial Connector (JSSC), version 2.9.4. Used by Firmata4j to establish connections over USB. Use this search term within Maven io.github.java-native:jssc:2.9.4
2. The Firmata4J library, version 2.3.8. Use this search term within Maven
com.github.kurbatov:firmata4j:2.3.8
3. The Simple Logging Facade for Java (SLF4J), version 1.7.3. Use this search term within Maven:
org.slf4j:slf4j-jcl:1.7.3