Arduino radar project by how to mechatronics

Hi, so I'm trying to build this project... but when I upload the code to the Arduino and the correct code to the processing ide, and fill in the correct port that my Arduino is connected to, I get this error:

RuntimeException: Error opening serial port /dev/cu.usbmodem14101: Port busy

Does anyone know how to fix it?
Thanks--Elikell

I don't know for sure but my guess would be because the Arduino IDE is still connected to the serial port, which would prevent any other application using it. Try closing the Arduino IDE.

hmm... just tried that. now I'm getting this error:

java.lang.NullPointerException: Cannot invoke "java.io.InputStream.read()" because "[this.in]" is null

at java.base/java.io.DataInputStream.readInt(DataInputStream.java:393)
at processing.core.PFont.(PFont.java:354)
at processing.core.PApplet.loadFont(PApplet.java:5838)
at RADAR_PROJECT_process.setup(RADAR_PROJECT_process.java:55)
at processing.core.PApplet.handleDraw(PApplet.java:2088)
at processing.awt.PSurfaceAWT$9.callDraw(PSurfaceAWT.java:1386)
at processing.core.PSurfaceNone$AnimationThread.run(PSurfaceNone.java:356)
RuntimeException: Could not load font OCRAExtended-30.vlw. Make sure that the font has been copied to the data folder of your sketch.

Mod edit: link removed.

Do you have the desired font installed with your Processing sketch?

not sure... I'm just a beginner at this... what would the library be called?

It is looking for a file named OCRAExtended-30.vlw

I would go back to where you got the Processing sketch and look for instructions.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.