English
Forum

Arduino over USB controlling (with XProfan naturally) - How?

 

QWurzel
Hello on any,

I Search a Possibility Arduino-Controller over The USB-interface with Profan anzusteuern. (Arduino UNO or Arduino Duemilanove (over Virtual-USB) )

If the here someone already time made?

About The COM-command have I it already attempts. the has but nothing brought.

I Please therefore for a example.

(need I a additional DLL to Ansteuerung ?)

Thank you!
 
01/13/13  
 




GDL
Hi,

I know unfortunately The Arduino-Controller not.

as allererstes would I say, you see first to whether your Virtual-USB a COM interface occupied.
with installed driver and angeschlossenem RS232/USB Wandler ought to this in the Gerätemanager showing.

so functions the at least with my FTDI Wandlern.

Grüßle
Georg
 
Windows7 Xprofan 8,9,10 [...]  [...] 
01/13/13  
 




QWurzel
Hello Georg!

with Arduino Duemilanove becomes one FTDI-Wandler (UART-Wandler) uses (therefore Virtual-USB).

with Arduino UNO leistet one seperater USB-driver its service.

The Arduino becomes simply on a disengaged USB-Port angeschloßen and as COM-Port recognized.

About the Serial-terminal-Emulator-Program the Arduino-Programmiersoftware can I z.B. a "2" enter and a LED light .

Arduino-code:

void setup()
{
pinMode(10, OUTPUT);

Serial.begin(9600);
}

void loop()
{

if(Serial.available())
{
int c = Serial.read();
if (c == '2')
{
digitalWrite(10,HIGH);
}
if (c == '1')
{
digitalWrite(10,LOW);
}

}
}
 

XProfan:

f% = @OpenCom("COM25", 12024, 12024)
@SetCom("COM25:9600,n,8,1")
@WriteCom(f%,"2")
@CloseCom(f%)

(The COM-command shine so not To functions. need I further Parameter or a others Ansatz.)

these first only one very simple example.

Thank you!
 
01/13/13  
 




QWurzel
has someone a(n) working(n) Solution(sansatz).

Thank you!
 
01/14/13  
 




QWurzel
have the following Program (Script-Language) found and tested: "AutoIT"
means with "AutoIT" can I with the same Ansatz How with XProfan whom Arduino controlling.

Why weg The COM-command not XProfan ?

(with AutoIT have I The same COM-Parameter)
 
01/14/13  
 



yet having any Controller-Freaks gemeldet that The com-command super so
functions. have You time SetComExt angeschaut? I faith that this the
Key to that Happiness is or. my I on it To remind. myself be unfortunately
no Controller-Freak and kanns not testing.
 
01/15/13  
 




GDL
Hallöle

probier times under the Prerequisite the com25 The Right thing is.

f% = @OpenCom("COM25", 12024, 12024)
print f% ' look over whether interface at all opened becomes
@SetCom("COM25:9600,n,8,1")
data$=chr$(2)
Error%=WriteCom(f%,data$)
ComError(f%)
print Error%
sleep 1000

with Error% should You see whether what gesendet becomes.
and then first
closecom(f%)

so GEHTS by me correct
 
Windows7 Xprofan 8,9,10 [...]  [...] 
01/15/13  
 



another Info of Georg:

You write: @WriteCom(f%,"2")

the sends byte 50.

If you byte 2 Send want then:
declare s$
s$=chr $(2)
@WriteCom(f%,s$)
 
01/15/13  
 




QWurzel
Juhu!

I bin's again!

so How your the see goes it unfortunately not.

XProfan shining no "RS232" To support.

with the "commg.dll" of AutoIT shining But to go.

Bsp. :
Declare hCom&
hCom& = @UseDll("commg.dll")
Def @SetzePort(8)  !"commg.dll","SetPort"
Def @SendeString(2) !"commg.dll","SendString"
Def @BeendeCom(1) !"commg.dll","CloseDown"
@SetzePort(25,9600,8,"none",1,2,0,0)
@SendeString("1",0)
@BeendeCom(0)

215 kB
Hochgeladen:01/18/13
Downloadcounter215
Download
 
01/18/13  
 




Pedro
Miguel
Hello QWurzel

Fals possibly poste still a small Beipiel circa data To Send and To receive with the DLL.
where can I The DLL find.

already since years use I XProfan and the serial interface and I so no Problems. Fals but the from you named DLL rather functions watts I it too gladly experementieren.

greeting
Pedro
 
01/19/13  
 




QWurzel
Hello Pedro,

The DLL is in the attachment include.

or use subesquent Link: [...] 

The Dll functions by me to that seriellen reading and Send.

thereby use I a Arduino (on USB) and Windows 7 64bit.

XProfan supported even no "USB to RS232" ! or ?
 
01/20/13  
 




maroro
reading goes In any drop.

I read a ESP8266 over The virtual com from.
 
05/18/21  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

21.745 Views

Untitledvor 0 min.
Matthias Griesbach10/26/23
Thomas Zielinski06/28/23
Walter04/30/23
H.Brill03/08/23
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie