impossibile avviare plugin Arduino USB

44 views
Skip to first unread message

vitucciog

unread,
Apr 19, 2018, 11:43:34 AM4/19/18
to Freedomotic - IoT and Smart Spaces Framework
Ciao,
Sto provando ad utilizzare il plugin Arduino USB in Freedomotic. Utilizzo Windows 8.1 quindi ho modificato il file di configurazione in questo modo:
        <property name="serial.port" value="COM3"/>   

Purtroppo quando provo ad avviare il plugin mi appare il seguente messaggio:
Error while creating Arduino serial connection. Port name - COM3; Method name - addEventListener(); Exception type - Port not opened.

Preciso che ho caricato correttamente lo sketch di esempio in Arduino e ne ho testato il funzionamento attraverso il serial monitor dell'IDE di Arduino. Tutto funziona correttamente.

Vi ringrazio anticipatamente per i suggerimenti.
Saluti, Vito

---------------------

Hello,
I'm trying to use Arduino USB plugin. I'm working on Windows 8.1, so I put the following line in the configuration:
        <property name="serial.port" value="COM3"/>   

Unfortunately when I try to start the plugin the following error appear:
Error while creating Arduino serial connection. Port name - COM3; Method name - addEventListener(); Exception type - Port not opened.

I've uploaded correctly the example sketch in Arduino and tested it using serial monitor of Arduino IDE. It works good.

Thanks in advance for your help.
Bye, Vito.

vitucciog

unread,
Apr 20, 2018, 9:52:01 AM4/20/18
to Freedomotic - IoT and Smart Spaces Framework
Scusate per il doppio post.
Ho notato che il problema appare soltanto dalla release 5.6 RC4 di Freedomotic.
Fino alla RC3 funziona correttamente.
Grazie


Sorry for the double posting...
I've seen that the error only appears on Freedomotic 5.6 from release RC4.
Untill RC3 it works!
Thank you.

Mauro Cicolella

unread,
Apr 21, 2018, 10:08:56 AM4/21/18
to Freedomotic - IoT and Smart Spaces Framework
Ciao Vito e benvenuto nella community!

Sinceramente non saprei cosa dirti in quanto fra tra versione RC3 e la RC4 non sono state fatte modifiche al plugin Arduino oppure alla classe SerialHelper che dietro le quinte gestisce la comunicazione seriale.
Inoltre non ho PC con Windows per fare dei test.
Se te la cavi con Java posso darti i riferimenti al codice così da fare delle prove direttamente.

Grazie
Mauro

Il giorno giovedì 19 aprile 2018 17:43:34 UTC+2, vitucciog ha scritto:

Mauro Cicolella

unread,
May 5, 2018, 11:38:37 AM5/5/18
to Freedomotic - IoT and Smart Spaces Framework
Quale versione di Java stai utilizzando, 8 o 9?


Il giorno giovedì 19 aprile 2018 17:43:34 UTC+2, vitucciog ha scritto:

vitucciog

unread,
May 7, 2018, 3:10:28 AM5/7/18
to Freedomotic - IoT and Smart Spaces Framework
Java 8

Mauro Cicolella

unread,
May 7, 2018, 10:39:14 AM5/7/18
to Freedomotic - IoT and Smart Spaces Framework
Puoi fare un test con una versione più aggiornata della RC4?
Ecco il link https://teamcity.jetbrains.com/repository/download/bt1177/1421923:id/freedomotic-5.6.0-267.8274666.zip


Il giorno giovedì 19 aprile 2018 17:43:34 UTC+2, vitucciog ha scritto:

vitucciog

unread,
May 14, 2018, 11:21:14 AM5/14/18
to Freedomotic - IoT and Smart Spaces Framework
Con questa versione funziona perfettamente!
Grazie

Mauro Cicolella

unread,
Jul 9, 2018, 9:49:52 AM7/9/18
to Freedomotic - IoT and Smart Spaces Framework
Ottimo!
Stai utilizzando Freedomotic per qualche progetto in particolare?

Mauro

Il giorno giovedì 19 aprile 2018 17:43:34 UTC+2, vitucciog ha scritto:

vitucciog

unread,
Jul 20, 2018, 2:58:27 AM7/20/18
to Freedomotic - IoT and Smart Spaces Framework
Ciao,
ho realizzato l'impianto luci e tapparelle con Arduino e dei relè che fanno da input (dai pulsanti) e output (per pilotare i carichi).
Con Freedomotics aggiungerei remotizzazione e interfaccia grafica.

Ma tra lavoro e famiglia il tempo è poco... per ora l'ho lasciato in standby... spero di riprenderlo presto.

Grazie per il tuo ottimo lavoro.

A presto,
Vito
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages