Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / How to sent data on usb? on: November 09, 2013, 06:53:12 am
Hello folks,
my project is an arduino uno plus usb shiled connected through a usb on another device.
The usb link is a hid devices and I have checked the functionality with Usb_hid_desc arduino sw (see to topic end).
Now I have to send some bytes from the arduino to the device and read the answer.
How can I do? Can somenone suggest library or little programs to do that?

Thank you in advance
________________________
Start
HU Init
Addr:01
NC:01

Cnf:01
HU configured

Usage Page Undef(00)
Usage
Collection Application
Usage
Logical Min(00)
Logical Max(FF00)
Report Size(08)
Report Count(08)
Input(00000000)
Usage
Logical Min(00)
Logical Max(FF00)
Report Size(08)
Report Count(08)
Output(00000010)
End Collection
______________________
2  International / Software / Usb hid on: April 20, 2013, 11:38:48 am
Ciao Ragazzi,
Mi rivolgo a questo gruppo nella speranza di risolvere il mio problema e di imparare qualcosa di nuovo.
Dunque, io ho una centralina meteo che normalmente può essere collegata ad un pc per estrarre i dati usando una usb hid.
Io voglio sostituire il pc con una board arduino e per fare questo ho un Arduino uno e uno shield usb host.
Il protocollo di comunicazione tra pc e centralina è noto, nel senso che la comunicazione si basa sull'invio di stringhe esadecimali, per essere precisi il pc invia una precisa sequenza per avviare la trasmissione dei dati, successivamente e periodicamente la centralina invia i dati sempre sotto forma di stringhe esadecimali.
In questo momento attraverso del codice reperito in rete e sul sito http://www.circuitsathome.com sono riuscito ad esempio a leggere il hid descriptor, quindi ho almeno validato l'hw complessivo (Arduino, shield usb, cavo e centralina).
Ora devo affrontare la parte finale quella di inviare il frame (20 00 08 01 00 00 00 00) e leggere le risposte.
Come faccio?
Ci sono delle librerie che mi permettono di usare delle funzioni di lettura e scrittura?
Dimenticavo, la usb host è basata su un max3421E collegato in spi all'arduino.

Grazie
Mario
3  Using Arduino / Programming Questions / Re: Usb hid send frame on: April 04, 2013, 02:31:56 pm
Unfortunately on that interface there aren't many informations available. The only things that I have found are here http://www.dg1sfj.de/hardware/hw_wmr100_protokoll.html.
Personally I have logged the traffic with a usb spy sw when that interface is connected to a pc with a dedicated sw, confirming what is described on the site.
On spy sw that messages is type URB and the raw data is exactly the sequence that I have wrote before.
Anyway if more tec infos are needed please suggest me what is needed and if is possible obtain with particular pc sw for example, for a detailed logs.
Thank you

mm


4  Using Arduino / Programming Questions / Re: Usb hid send frame on: April 04, 2013, 09:55:37 am
Dear,
I have to prove nohting, if you have someting that could help me please post, otherwise forget.

tnx
5  Using Arduino / Programming Questions / Re: Usb hid send frame on: April 04, 2013, 07:47:10 am
Pauls
I have a meteo weather station that could share the data through hid usb. To obtain this informations is necessary to sent this string in hex 20 00 08 01 00 00 00 00.
My target is to send it and read what will be put in answer on the usb.
Thank you in advance.

mm

6  Using Arduino / Programming Questions / Usb hid send frame on: April 04, 2013, 01:43:06 am
Hello folks
I have an arduino with usb host shield, scope of that is to use a usb HID of a device.
To check the connection I used some sw from circuits@home group and works fine.
My problem, due to the fact that I'm a basic programmer, is that I don't know how to send a hex string from arduino to the devices.
Is there an easy code that allow me to understand how to send (why not, to receive) messages from to usb hid interface with a little explainations?

Thank you in advance.
Mario
7  General Category / General Discussion / Old arduino eagle files on: March 30, 2013, 11:23:19 am
Hello folks
I'm looking for eagle files of the older release both arduino and its shield.
On the web there are only the lastest release.
In detail arduino uno first revision and ethernet shield first revision.
Better will be to have a list that allow me to choose the right revision.

Thank you in advance
Mario
8  General Category / General Discussion / Arduino uno rev1 on: December 24, 2012, 03:15:19 pm
Hello Folks,
where can I found the electrical drawing and the pcb files for rev1 of Arduino uno. On the web are present only the recent release.
Thank you in advance

Cheers
9  Using Arduino / Networking, Protocols, and Devices / USB on Oregon Scientific weather stations on: August 10, 2011, 01:02:04 am
Hello folks,
I'm looking for an arduino application or guide that could allow me to manage usb port in this way.
My target is to be able to connect the usb on a Oregon Scientific weather station WMR (88 or similar) in order to extract the weather informations available and than manage for aprs stations without personal computers but only with a little uP like arduino platform.
My big issue to solve is the usb connection, because other things probably are under control like (oregon, aprs protocols).
Is there someone that could have an application able to connect first the usb of oregon and extract the data?
Like a usb analizer or someting like that.


Thank you in advance
Mario
 
Pages: [1]