0
votes
0answers
12 views

Starting Arduino Project with Java using Eclipse

I have recently discovered that there are interfaces to programme Arduino with Java. After some research I'm now somehow confused about: RXTX it's an API that provide communication with Windows ...
0
votes
1answer
20 views

Arduino port gets stuck on

I am trying to create a pattern that will turn one of the Arduinos ports on and off. However, after about 2 on/offs it gets stuck on and won't turn off unless I unplug the Arduino. I have tried many ...
1
vote
0answers
22 views

jssc send message to arduino

I tried to send some string to my arduino: t11:45#d2014.04.15#p# on this way: Java code: String message = (String) params.get(MESSAGE);// // t11:45#d2014.04.15#p# System.out.println("SENT:" + ...
1
vote
0answers
28 views

How can I turn input from a series of toggles into speed and direction?

I'm trying to replicate the setup this guy made - a capacitive scrolling Arduino gadget, except I'm having the input go into a Processing sketch. I have the wiring working just fine - when I swipe my ...
0
votes
1answer
36 views

Eliminate line noise on Arduino Serial

I am creating a program that gets the serial input, converts it into an int and then sets a pin to HIGH for however long the input says, such as if I print "9000" to the Arduino serial port it will ...
0
votes
0answers
26 views

Debug serial port application

I've written a java application which communicates with an arduino microcontroller over the serialPort in linux. The application only reads from the serial device. Unfortunately, the application ...
0
votes
1answer
39 views

Storing serial print data from arduino in array

I'm using a bluetooth connection to send serial data from Arduino to my Android app. The code I'm using to connect the Android device is BluetoothChat.java which is sample code you can find if ...
1
vote
1answer
81 views

Android Bluetooth Read InputStream

I'm trying to read serial data sent from an external bluetooth module to my HTC Sensation but when I call InputStream.available() - it returns 0 so I can't iterate over the bytes recieved and call ...
0
votes
0answers
30 views

Android Arduino Bluetooth weird errors connecting microcontroller

I am using a Teensy microcontroller (https://www.pjrc.com/teensy/teensy31.html) to connect to an Android application to get Bluetooth. I have used this Android application with other embedded ...
0
votes
0answers
22 views

programming on Arduino with java

I have got my Arduino Duemilenova (pretty excited about it). I have tried some programs using the Arduino IDE with some leds, resistors... I was wondering if there is any way to program on arduino ...
0
votes
0answers
39 views

send data from android via Bluetooth

I am using the code below to send one byte from Android 4.2 to Arduino and I always get an exception in the writeData() method on line 126. The exception message looks like: IOException [JRS82] ...
-1
votes
2answers
90 views

java - how to pass multiple parameters over serial port to Arduino mega

Through my java program. i want to pass a byte value to the Arduino mega to blink an Led and also at the same time i want to pass a string value to the Arduino to be displayed in the lcd. How can I ...
0
votes
1answer
16 views

Arduino help blue tooth

Okay so I am doing a project for my engineering class and i was just hoping to get a second opinion on if I am missing something or not. My project will entail writing an alarm clock quiz android ...
0
votes
0answers
46 views

Mismatched RXTX Versions

I found a code to communicate in Java via Serial Port to an Arduino and wanted to try and get it working in order to expand on it for a project idea, but I keep getting this error Stable Library ...
-1
votes
0answers
24 views

Recive data RXTX Java

I'm working with that code. It's able to send data to arduino by RXTX, but How Can I recive data from serial port? /* * To change this license header, choose License Headers in Project Properties. ...
1
vote
1answer
37 views

Arduino - Serial.read() cannot read two digit data?

I made a 7 segment through led to a 74ls48 ICconnected toGizduino(mini) w/ ATmega328. I wanted to count from0-10usingjava-to-arduino.` This is the code for Java: public class Main extends ...
0
votes
0answers
41 views

How to connect SHD-EFCOM gsm module to Arduino mega 2560

I have a SHD-EFCOM gsm module.. i have uploaded 2 photos of my gsm module in the links below.. Please advice me how to connect this, i mean wiring this module to the Arduino Mega 2560. ...
0
votes
0answers
36 views

Arduino and java help needed

Im doing a project.. its rfid based university system .. for that i have used 2 rfid readers to doors.. and an arduino mega 2560 to connect it with pc.. and also my system is working well and when ...
0
votes
1answer
98 views

How to connect this particular rfid reader(picture attached) with arduino and get input to java

Please click the following link and see the image of the rfid reader which I brought recently http://i62.tinypic.com/2vlnqtt.jpg And I need help to assemble this with Arduino mega 2560. Please ...
0
votes
1answer
40 views

Java - Sound plays only once per sound, then will not play again

Edit: If I use equals() to compare strings, it plays the sound once, and then crashes. Does anyone see why the loop might be going out of bounds? code updated Edit 2: I tried inserting ...
0
votes
1answer
70 views

Android bluetooth communication with Arduino

I am currently looking at Google's Bluetooth Chat example. The goal is to get communication between android and and Arduino working based on this example. While communication from the smartphone to ...
0
votes
0answers
41 views

Stuck Serial Communication Java-Arduino

I have an arduino that is controlling a Servo(this part works). The commands come from a computer running a Java program that sends a string that gets parsed. The program works with no problems and ...
0
votes
1answer
82 views

Ubuntu: javac package gnu.io does not exist

I am running on Ubuntu 12.04. I am trying to communicate my Arduino with Java. I have a source file SerialTest.java in directory /home/me/Desktop/folder Inside the directory contains both ...
1
vote
0answers
71 views

Android & Bluetooth & Arduino

I am trying to display sensor data on my Android phone (target 4.3) received from a transmitting arduino type device. The transmission takes place via Bluetooth. I am able to connect to the arduino ...
0
votes
1answer
57 views

Android app for GPS project

I decided to do a GPS car tracker for my college project and I need a bit of guidance on the actual framework for it. My main plan is to use either an arduino (or raspberry pi) with a GPS and 3G ...
0
votes
1answer
85 views

Storing Arduino data read in from serial connection using Processing

I am trying to read in 100 sensor data entries from the Arduino via the (pseudo) serial connection using Processing. The Processing sketch I am using is as follows: // import the serial library for ...
0
votes
1answer
88 views

Combining Java + bluetooth + arduino

Today i came up with an idea to controle a arduino board or any other micro controller wirelessly using a java program. Im somewhat of an intermediate java programmer, meaning i can make basic ...
0
votes
0answers
27 views

How do I make communications go between Arduino GSM Shield and a Java app ?

I'd like to remotely control a led display 7-segment with Arduino GSM Shield using a Java server-side.Is there a JAVA GSM library in order to do that? If the response would be negative, what are the ...
1
vote
0answers
49 views

Processing Error

I'm trying to make an oscilloscope with an Arduino and I uploaded this code that I got from a website ...
0
votes
0answers
49 views

Bluetooth Serial Data Transfer Hangs at same points

I am to transfer two files from a Java app to an Arduino of roughly 200k each to be saved to uSD. With a USB connection this is going fine using the RXTX library and simple data parsing on the ...
1
vote
1answer
50 views

Adding a delayMicroseconds function to the standard firmata for running Arduino with Processing

I'm using the standard firmata to interface with Java Processing and run an arduino project. The Arduino class used to interface processing with java does not have a method for delayMicroseconds or ...
-2
votes
2answers
73 views

C++ Conditional Statement (Correct Syntax)

Is if (a && b) the same as if ( (a) && (b) )? If not, what's the difference between the two?
0
votes
1answer
65 views

how to put a listener on URL (website)

I know java.nio.file package provides a file change notification API (Watch Service API). I need similar kind of service for getting notifications anytime a website is changed. Besides polling or ...
0
votes
1answer
42 views

Possible to call methods from an Arduino library from java?

I have written a program controlling my led stripes from Arduino, using a library which I modified to work with my stripes. The thing is now that I want to advance (network and stuff). Since I'm ...
0
votes
3answers
107 views

Convert string to array of uint8_t

For my project I need to read some single line text from a SD card, then get the hex or dec value of each character within the string and group those values in an array. There are no whitespaces in ...
0
votes
1answer
69 views

Read Arduino A0, A1 and A2 in Java, independently

I need to get the values from three load cells that are connected to A0, A1 and A2 pins, separately. At the moment, my code in Java that prints the data from Arduino is this: public synchronized void ...
0
votes
1answer
58 views

Arduino + jSSC library

How to do 2way communication at the same time between Java & Arduino using jSSC library..? I can do one way communication i.e. readBytes from arduino or writeBytes to arduino. How to writeBytes ...
0
votes
0answers
21 views

Connect arduino with advance java project

I am very new with Arduino , I hava create web interface using jsp and servelt and i am reading REID tags which show a unique id to Arduino console , now i have a no idea how i can connect this output ...
1
vote
0answers
57 views

I want to wait for current activity to wait for the speech recognizer activity to finish. Here is my code

I want to stop or wait for the current activity to wait for the speech recognizer intent to finish. @Override protected void onActivityResult(int requestCode , int resultCode , Intent data){ ...
1
vote
1answer
113 views

Jetty Pi4J I2C error oppening /dev/i2c-1

I'm trying to send data from Raspberry PI to Arduino via I2c. When i execute the code with a stand alone java application i'm able to send and receive data with NO problem (the code bellow is giving ...
0
votes
1answer
178 views

Maintaining communication between Arduino and Java program

I have gotten a project in school that consists of a RC car that gets controlled over WiFi. It works just fine for a few seconds, but then it just stops the connection and tries to reconnect again. ...
0
votes
0answers
54 views

Java Multithreading and Reading from Serial: How to Properly Suspend and Resume?

I am trying to write a basic Java Swing application that works as such: an Arduino writes two CSV strings to the COM port every second, I read that data and parse it, and then display the data in a ...
1
vote
0answers
68 views

About controlling led using java rxtx

I wrote a simple led control program and uploaded to Arduino, it works well when I use the "serial monitor" to send the control command to Arduino. While, I try to write a java program on ubuntu to ...
1
vote
1answer
63 views

RXTX Java librairie bug

i am not quite good in english, so i will try to be clear for you. I am currently working on a multi-program project. I have written an Arduino Control Program, which allow me to manage a sensor ...
0
votes
0answers
40 views

Serial comm between Java & arduino stopped in the middle of running

I have a WSN system to monitor field irrigation system. I have a server with java program. this is the method in java to read serial data from sensor node (arduino), then store it in the database ...
1
vote
0answers
20 views

Building Java UI to control diodes through Nabduino(PIC18J67) - any examples?

I am building a Nabduino(which is a kind of Arduino) to control some lights and i want to make a interface, possibly in Java. I have been looking for examples to interface to a Nabduino or Arduino ...
0
votes
1answer
98 views

Android Button Can Be Click Once Only

I'm creating an on and off app controller for a led which is connected to my arduino microcontroller. Everythings seems to be okay already except for the bottons, both in ON and OFF. It works but it ...
0
votes
0answers
28 views

BlueRemSwitch has Stop

I downloaded a project called BlueremSwitch and when I run it I got this error,I dont know whats the problem and I am a beginner in android development ,could I ask for Help? My phone ...
0
votes
0answers
80 views

outtring initated in BluetoothcommandService.java

I, will be asking how to combine/fuse 2 java files if,the outstring was initiated in the BluetoothcommandService.java file I will be editing my Post sir and post my MainActivity.java file and ...
0
votes
0answers
80 views

Error on Sending String Value “0”(Off) and “1”(On) to Arduino Via Bluetooth in Android

I'm currently developing a led controller for arduino via bluetooth. The app will enable first the bluetooth, and connect on a bluetooth module before you can use the on and off button to control a ...