If you have some questions or issues please open it on our Github repository here:

If you can’t use Github or for other reasons, please send us a message with the following form. We will reply to it as soon as possible.


[contact_form lang=en]


18 commenti su “Contact

  1. Francesco il said:

    Buonasera Luciano,

    sto provando a replicare il programma presente nel video
    Ho scaricato il pacchetto Ardulink ma non riesco a inserire correttamente le librerie necessarie su Eclipse perché non sono molto pratico.

    In particolare:
    1) col comando “Build path” ho messo in “referenced libraries” i files “ardulink.jar” “ch.ntb.usb-0.5.9.jar” “bluecove-2.1.1-SNAPSHOT.jar” “RXTXcomm.jar”

    2) ho scritto le seguenti righe copiando dal video (con qualche modifica perché dispongo solo di due arduino UNO)

    —— INIZIO ———
    import org.zu.ardulink.*;
    import org.zu.ardulink.connection.*;
    import org.zu.ardulink.connection.bluetooth.*;
    import org.zu.ardulink.connection.proxy.*;
    import org.zu.ardulink.connection.serial.*;
    import org.zu.ardulink.connection.usb.*;
    import org.zu.ardulink.event.*;
    import org.zu.ardulink.gui.*;
    import org.zu.ardulink.gui.customcomponents.*;
    import org.zu.ardulink.gui.customcomponents.joystick.*;
    import org.zu.ardulink.gui.digistump.*;
    import org.zu.ardulink.gui.event.*;
    import org.zu.ardulink.gui.facility.*;
    import org.zu.ardulink.gui.icons.*;
    import org.zu.ardulink.protocol.*;
    import org.zu.ardulink.event.DigitalReadChangeEvent;
    import ch.ntb.usb.*;
    import ch.ntb.usb.logger.*;
    import ch.ntb.usb.testApp.*;
    import ch.ntb.usb.usbView.*;
    import javax.bluetooth.*;
    import javax.obex.*;

    public class Main {

    public static void main(String[] args) {
    Link linkArduinoUNO1 = Link.createInstance(“arduinoUNO-1”);
    Link linkArduinoUNO2 = Link.createInstance(“arduinoUNO-2”);
    // TODO Auto-generated method stub

    String portNameArduinoUNO1 = linkArduinoUNO1.getPortList().get(0);
    String portNameArduinoUNO2 = linkArduinoUNO2.getPortList().get(1);

    while(true) {
    blink (linkArduinoUNO1, 11);
    blink (linkArduinoUNO2, 10);

    —— FINE ———

    In particolare il comando
    blink (linkArduinoUNO1, 11);
    non viene riconosciuto

    Ho provato anche col comando
    sendPowerPinSwitch (linkArduinoUNO1, 11, 1);
    ma anche quello non viene riconosciuto

    Mi può dare qualche informazione a riguardo?
    Se mi risponde via mail posso inviarle una stampa video dell’albero sulla destra di Eclipse

    La ringrazio

  2. davide il said:

    Buonasera Luciano
    stavo provando il tuo esempio del blinking led ma non mi funziona, il circuito è ok perchè l’ho testato con arduino IDE e funziona. ho linkato tutte le librerie nel classpath e ho scelto rxtx e le dll apposite per il mio sistema operativo windows 8.1, l’output della console è il seguente ma il led non si accende:

    set 15, 2016 9:29:22 PM org.zu.ardulink.ConnectionContact writeLog
    INFORMAZIONI: found the following ports:
    set 15, 2016 9:29:22 PM org.zu.ardulink.ConnectionContact writeLog
    Connecting on port: COM3
    set 15, 2016 9:29:22 PM org.zu.ardulink.ConnectionContact writeLog
    INFORMAZIONI: connection on COM3 established
    Send power:1
    Send power:0
    Send power:1
    Send power:0
    Send power:1
    Send power:0

  3. Vatsa patel il said:

    Hello Luciano,

    I need to print rotary encoder values from arduino in java.
    But cannot catch the serial values in java.

    This is my Java Code:
    private RplyEvent rplyEvent2;

    public void U_speed(int pwm) throws InterruptedException, IOException {
    System.out.println(“pwm of u = ” + pwm);
    rplyEvent2 = null;
    int reply = (int) rplyEvent2.getParameterValue(“encoder_reply”);
    System.out.println(“it is” + reply);

    This is my arduino code:

    else if(inputString.substring(6,15) == “cust/encoder”) { // Stop Listen Analog Pin (this is general code you can reuse)


    Serial.print(‘\n’); // End of Message

  4. hi all
    spoke to @pfichtner on the github platform but as i understand that is a bug reporting platform so i am doing it here.

    i am new to the whole scene so there is lots i do not understand and i currently lack basic examples and step by step instructions on how to get this thing working.
    after a few hours of playing around(and talking to @pfichtner)
    all i am trying to do is blink the onboard LED. nothing fancy.

    i am using windows 7.
    coding on netbeans.
    i have an arduino uno and have loaded the ArdulinkProtocol.ino file successfully on the arduino.
    these are the imports that i have done

    import java.util.List;
    import java.util.Scanner;
    import java.util.concurrent.TimeUnit;
    import org.ardulink.core.Link;
    import org.ardulink.core.Pin;
    import org.ardulink.core.Pin.DigitalPin;
    import org.ardulink.core.convenience.Links;

    import org.ardulink.core.linkmanager.LinkManager;
    import org.ardulink.core.serial.rxtx.SerialLinkConfig;
    import org.ardulink.util.URIs;

    i have found the below code and am running this.

    public static void main(String[] args) throws InterruptedException, IOException {
    SerialLinkConfig config;
    LinkManager.Configurer configurer;
    Link link;// = Links.getDefault();
    String s = “ardulink://serial?port=COM13&baudrate=115200&pingprobe=true&proto=ardulink2&waitsecs=20”;
    link = LinkManager.getInstance().getConfigurer(URIs.newURI(s)).newLink();
    try {
    Pin.DigitalPin pin = Pin.digitalPin(13);
    boolean power = true;
    while (true) {
    System.out.println(“Send power:” + power);

    link.switchDigitalPin(pin, power);

    power = !power;
    } catch(Exception e){

    this is the error that i am getting

    Exception in thread “main” java.lang.NoClassDefFoundError: org/ardulink/core/beans/BeanProperties
    at org.ardulink.core.linkmanager.LinkManager$DefaultConfigurer.(
    at org.ardulink.core.linkmanager.LinkManager$1.getConfigurer(
    at blinkled.BlinkLed.main(
    Caused by: java.lang.ClassNotFoundException: org.ardulink.core.beans.BeanProperties
    at java.lang.ClassLoader.loadClass(
    at sun.misc.Launcher$AppClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    … 3 more
    C:\Users\228525\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1
    BUILD FAILED (total time: 0 seconds)

    please help as i do not know how to fix any of this?

  5. Marco il said:

    Software console refuses to work. Tells of: Can´t run AMD 64 dll on IA 32 machine.
    Using latest JRE. Sad, because proggie looks promising.

  6. Jeremy il said:

    Hello. Thank you for getting back to me about my last question ( I took a hiatus from the project but now I’m back to finish it. I want to test your solution but I’m afraid I’ve run into another problem.

    I installed and am running Ardulink 2.1.0 on Ubuntu. I renamed the ardulink-mqtt file to “ardulink-mqtt.jar” and put it in my /home/xerocraft folder. Then I executed the command:

    java -jar /home/xerocraft/ardulink-mqtt.jar -d 2

    and I got the following error:

    Error: A JNI error has occurred, please check your installation and try again
    Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/camel/CamelContext
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(
    at java.lang.Class.privateGetMethodRecursive(
    at java.lang.Class.getMethod0(
    at java.lang.Class.getMethod(
    at sun.launcher.LauncherHelper.validateMainClass(
    at sun.launcher.LauncherHelper.checkAndLoadMain(
    Caused by: java.lang.ClassNotFoundException: org.apache.camel.CamelContext
    at java.lang.ClassLoader.loadClass(
    at sun.misc.Launcher$AppClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(
    … 7 more

    Could the error be caused by a type mismatch with RXTX?

    Thank you,

Lascia un commento