Skip to main content

Questions tagged [java]

Java (not to be confused with JavaScript) is a general-purpose object-oriented programming language designed to be used in conjunction with the Java Virtual Machine (JVM). "Java platform" is the name for a computing system that has installed tools for developing and running Java programs. Use this tag for questions referring to Java programming language or Java platform tools.

Filter by
Sorted by
Tagged with
2 votes
1 answer
482 views

Whenever I try to format a sketch in the IDE (1.8.19) I get this output in the terminal: Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: 'java.lang.String cc.arduino....
InkyDigits's user avatar
-2 votes
1 answer
272 views

my final year project is to do an Arduino watch that has heart rate and body temperature sensors and also a location tracking module. I need to send all the watch data to my java app but I don't how ...
user87358's user avatar
1 vote
0 answers
272 views

I'm running IDE version 1.8.16 under Windows 10. Frequently I get the error message. The situation is solved only when exiting the IDE. Afterwards the compilation may be finished with or without ...
user1511360's user avatar
1 vote
3 answers
970 views

I have an Arduino Nano, and a local Java WebSocket server (ws://localhost:8888) run by a .jar file on my computer. I'm wondering if it's possible to send data (text, numbers etc.) from the Arduino ...
kevinlinxc's user avatar
0 votes
1 answer
3k views

I see a lot of baud rates in the AT Command documentation for the HC05 however I am not sure what is the fastest that can work between the Arduino controlled embedded system and the Android phone. I ...
Alick Campbell's user avatar
0 votes
1 answer
76 views

I need to send how many milliseconds elapsed since the beginning of the time the arduino runs to java using Serial.write(). However, the largest integer that I can throw in there is 255, naturally ...
John Rawls's user avatar
0 votes
1 answer
277 views

I need to send serial data to my Arduino UNO from within a java application. I am using JSSC for this. I wanted to verify that my data actually arrives correctly to the arduino before going to the ...
stanjg's user avatar
  • 3
1 vote
1 answer
402 views

hello I am just trying to make Youtube Subscribe Counter with led matrix 32*8 and esp 32 and I had this problem when I trying to get subscribers to count so what is the problem and how I can fix it? `...
 abdalrahmanabs's user avatar
2 votes
2 answers
4k views

I use arch linux. I installed arduino ide with pacman. When I try to run it, loading window will show for few socends and than program crashes. There are logs: john@arch-thinkpad ~ [1]> arduino ...
Jan Černý's user avatar
1 vote
0 answers
438 views

I am only getting this error on one of my Windows 10 PC's. On another windows 10 PC and Mac, the board (Mega 2560) is working fine. Any hellp or advice on this would be appreciated. THE PROBLEM ...
Mike M0ITI's user avatar
1 vote
0 answers
68 views

Tried to install Arduino IDE on Juno, install script gave warnings about icons not being installed on desktop (which is fine since no desktop folder for eOS) but then when try to launch the IDE icon ...
iGuest's user avatar
  • 11
0 votes
2 answers
83 views

The first one reads from sensors and displays it, the second code receives an incoming byte to control LEDs. I tried to combine it but i don't know why it doesn't work. Please help me out. I need it ...
Rica Jacutina's user avatar
-1 votes
1 answer
180 views

I want to display float values in JTextArea but it doesn't show any. It only displays on the systemout. Pls help me out. This is my Java code. import jssc.SerialPort; import jssc.SerialPortException; ...
eurydyce's user avatar
0 votes
1 answer
57 views

So I have a java program that picks up the mouses x and y coords on the display and I would like to send those to my arduino and then move my two servos to those locations (I have two servos ontop of ...
Jamie Cole's user avatar
-1 votes
1 answer
264 views

Following is the zabbix documentation with the query header format. Document Zabbix I have difficulty implementing this header in C ++ (Arduino), I saw an implementation of what I need in this forum ...
Venicius Back's user avatar
-1 votes
2 answers
381 views

Having a hard time searching the net on how to run arduino codes on java. Can somebody please help me. Thank you.
John Montierro's user avatar
1 vote
1 answer
291 views

I have just written a java algorithm to get a chess move when a chess move is inputted in SAN notation the algorithm used : Monte Carlo. Is it possible to integrate this program with an Arduino mega ...
roaibrain's user avatar
  • 221
-2 votes
2 answers
1k views

I am building a clock with an Arduino. Most clocks have a RTC module or some kind of RTC chip in order to get the time. I do not. How do i replace this chip with software? Is there a C/C++ library ...
fuzzyfish's user avatar
1 vote
2 answers
317 views

After answering my previous question correctly I'm getting all sorts of errors when trying to compile the following program: I'm completely new to both assembly and the arduino IDE so I apologise in ...
CertainlyNotAdrian's user avatar
2 votes
2 answers
10k views

I intend to establish communication between my laptop and Arduino via Bluetooth. I'm using BlueCove Java API. I'm unable to understand how to send data to Arduino using this. There are no clear ...
Clement's user avatar
  • 41
0 votes
1 answer
3k views

This is my Java code to send a value to Arduino and a receiving value from Arduino. Can anyone tell where I made a mistake? I am able to send the value but can't receive a value from Arduino. package ...
Stenzin lobsang's user avatar
2 votes
0 answers
474 views

I am developing an app that controls an Arduino robot. For that I need to communicate through Bluetooth. That means sending and receiving data. Why receiving? Because I also have sensors on the robot. ...
Noé Azevedo's user avatar
0 votes
1 answer
119 views

I was trying to communicate with my arduino uno over the serial connection from the USB. Connecting to it is usually not a problem, but what buggs me is the first transaction of the data... No matter ...
arunoruto's user avatar
  • 101
1 vote
0 answers
638 views

I want to both send some sensor data via Bluetooth (HC05) and Arduino to Java and I also want to send some command data via the same Bluetooth and serial port to Arduino. I've managed to do the first ...
Zeta.Investigator's user avatar
0 votes
1 answer
7k views

I am new to this serial communication between Arduino and Java NetBeans. I am doing some small project and I need to get data from external EEPROM 24LC256 which is connected to Arduino UNO and pass it ...
Stenzin lobsang's user avatar
1 vote
2 answers
915 views

I have a project in arduino that i interface with java. The arduino is connected to the computer via usb cable , I use the serial communication. I have two variables: //Code in arduino int ADelay = ...
kaisar Great's user avatar
-1 votes
1 answer
942 views

I am new to arduino and I want to interface it using java . I want to know is there a way to change the variable or set the variable using the input from java :D Thanks For reading Hope you can answer ...
kaisar Great's user avatar
1 vote
1 answer
522 views

I'm trying to communicate between a program on the Arduino Uno and a program on the PC via USB. I got it more or less working. Only problem is that it doesn't work when I run my PC program the first ...
Paul's user avatar
  • 165
1 vote
2 answers
24k views

im trying to connect wifi module to my MEGA 2560 board. i set up the board as the picture bellow and my program is as follows #include <SoftwareSerial.h> #define DEBUG true SoftwareSerial ...
Omid's user avatar
  • 111
-1 votes
2 answers
608 views

I am in grade 6. I have a very nice pet dog in my house but it often enters Mom's kitchen to spoil all the foods. So I am thinking of a device to attach with him which can locate its position. But I ...
user74219's user avatar
1 vote
1 answer
901 views

So I have an application that runs on the Arduino that passes info over serial. I'm using a ESP2866 to make it wireless. Arduino->Serial->Esp2866->SocketConn->JavaSocket->Console I ...
Steven Venham's user avatar
1 vote
2 answers
6k views

I just purchased a RedBoard, knowing that it would work on Linux, and knowing that it could allow me to easily interface with some electronics project. I am aware of the ino command line tool but I ...
Metamorphic's user avatar
1 vote
1 answer
254 views

Does anyone have an idea on the best way to time stamp an arduino sketch that contains a data packet which is to be read out using a java IDE (IntelliJ) for graphic visualization of the packet. I ...
PayneLaidBack's user avatar
1 vote
1 answer
943 views

If Arduino IDE itself is built on Java can I run JVM on the Arduino? If yes how should I do it?
Shatayu Darbhe's user avatar
0 votes
1 answer
371 views

I'm looking for some reference material to start on a project I'd like to do. I have an Open House at my school. My group project has been to create a little timesheet app using JavaEE. I just ...
Stubudd's user avatar
1 vote
2 answers
5k views

I want to know the basics of Arduino serial communications and connection with a Java application in Windows. Can anybody provide me with a sample Java program that upon running just makes an Arduino ...
AXANO's user avatar
  • 111
2 votes
0 answers
246 views

I'm trying to connect Maltab and Arduino by this code: arduino=serial('COM7','BaudRate',9600); fopen(arduino); But I get this message: Open failed: Port: COM7 is not available. No ports are ...
Jack Sparrow's user avatar
3 votes
2 answers
263 views

Sorry in advance for the length of my question; I want to provide proper context. I wrote an audio visualization program in Java that (in addition to making "pretty pictures" based off of the ...
KentAshfield's user avatar
0 votes
1 answer
4k views

I'm trying to send short strings via Java client to Arduino server and vice versa. Sending data to client goes fine, but when I try to send data to arduino it cuts the string into bytes and then sends ...
Rok Dolinar's user avatar
2 votes
0 answers
62 views

I have a Flexiforce 25 pound pressure sensors connected to my Arduino Uno which connects to my laptop. My requirement is to be able to play video games using taps on pressure sensors. I am ...
thanmai's user avatar
  • 121
0 votes
2 answers
2k views

I am sending custom code to Arduino with this ardulink command: { ArduinoControl.link.sendCustomMessage("oled"); } Code from standard Ardulink sketch CustomMessagesChipKit.ino: { if (...
user2882440's user avatar