Autor Beitrag
Wolle92
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Do 15.05.08 13:01 
Hallo,

ich hab was größeres vor, selber zu bauen, was dann an nen USB-Port drankommt...
Dafür muss ich aber zuerst wissen, nach welchem System die Daten ausm Anschluss kommen...
Kann mir das jemand sagen oder nen Link geben?

Wolle

_________________
1405006117752879898543142606244511569936384000000000.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 15.05.08 13:14 
Steht alles auf usb.org. Macht sich aber wahrscheinlich besser, du nimmst dafür nen Controller-Chip.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Wolle92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Do 15.05.08 13:18 
was fürn controller-chip?

_________________
1405006117752879898543142606244511569936384000000000.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 15.05.08 13:22 
Wenn Du einen Mikrocontroller programmierst, so haben viele dort bereits einen integrierten USB-Decoder drin. Sollte dies nicht der Fall sein (grad bei kleineren Controllern), gibt es einen solchen USB-Controller-Chip, der von diesem Mikrocontroller gesteuert werden kann, für relativ wenig Preis ...

Auch interessant in dem Zusammenhang könnte chaosradio.ccc.de/cre086.html sein ...

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Wolle92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Do 15.05.08 13:25 
Nur so, damit das dann verständlich ist: Ich will die Hardware die an den USB-Anschluss kommt auch basteln...
Das ganze wird etwas kompliziert, so weit bin ich schon, aber ansonsten noch relativ unerfahren in dem Gebiet der Hardware-Datenverarbeitung...
Aber ich wills lernen (erwünschter Nebeneffekt)

Interessantes Gespräch bei dem Link

_________________
1405006117752879898543142606244511569936384000000000.
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Do 15.05.08 13:47 
user profile iconWolle92 hat folgendes geschrieben:
Nur so, damit das dann verständlich ist: Ich will die Hardware die an den USB-Anschluss kommt auch basteln...
Das ganze wird etwas kompliziert, so weit bin ich schon, aber ansonsten noch relativ unerfahren in dem Gebiet der Hardware-Datenverarbeitung...
Aber ich wills lernen (erwünschter Nebeneffekt)

Interessantes Gespräch bei dem Link

Ich würde dir raten, RS232 (oder heißt das 323? jedenfalls mein ich den COM-Anschluss...) oder den parallelen Anschluss zu nehmen. Ist AFAIK einfacher. Siehe www.delphi-roboter.de/. Wenn du wirklich USB nehmen willst, dann kauf dir nen Mikrocontroller. Sonst viel Spaß beim Löten...

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
Wolle92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Do 15.05.08 13:51 
Hm... was ist der unterschied?
Außerdem hab ich keinen Com-Port an meinem Main... sieht zumindest so aus... Nach dem Bild, das ich von COM-Ports kenne^^

_________________
1405006117752879898543142606244511569936384000000000.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 15.05.08 14:04 
Es gibt USB-auf-RS232-Adapter (nutz selber grad einen zum Debuggen eines Programms über serielle Schnittstelle (mein Notebook hat selber kein RS232 mehr). Auch wenn teilweise nicht alles an Baudraten über die Leitung geht (bei 50kBaud ist zumindest bei mir Schluss ...

Ob RS232 aber die richtige Wahl für deine Aufgabe ist, hängt von den benötigten Datenmengen ab. Ich arbeite derzeit etwas in dem Bereich, vielleicht kann ich Dir ja paar Hinweise geben. Erzähl mal paar mehr Details zu deinem Vorhaben ;-)

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Wolle92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Do 15.05.08 14:10 
Soll nen Spektrumanalysator werden, der dann hier an der Wand hängt, also relativ häufig Daten...
Einfach so, will die Technik kennenlernen, und da kam mir das so in den Sinn...

_________________
1405006117752879898543142606244511569936384000000000.
Reinhard Kern
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 591
Erhaltene Danke: 14



BeitragVerfasst: Do 15.05.08 14:34 
user profile iconWolle92 hat folgendes geschrieben:
Nur so, damit das dann verständlich ist: Ich will die Hardware die an den USB-Anschluss kommt auch basteln...


Hallo,

was verstehst du denn unter basteln? Ein USB-Controller ist selbst schon ein komplexes Gerät, etwa wie ein Prozessor auch. Um das mit Standardlogik zu bauen, solltest du dir gleich einen 19-Zoll-Schrank mit guter Kühlung und ein paar Jahre Zeit beschaffen.

Die einzig sinnvollen Alternativen sind: fertiger Prozessor mit eingebautem USB-Controller, beides getrennt (nicht mehr üblich) oder FPGA und Controller damit programmieren oder als IP (fertiges Programm) kaufen.

In Umlauf bringen darfst du dein Werk übrigens nicht, dazu brauchst du Vendor-ID und Device-ID von USB.org (kostet paar k$ pro Jahr) und Kompliance-Tests (kostet mehr).

Gruss Reinhard
Wolle92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Do 15.05.08 14:37 
Das weiß ich schon...
Ist mir klar, ich will nicht alles von Grund auf bauen... Ich bau ja auch nicht meine Widerstände selber, die kauf ich mir^^

_________________
1405006117752879898543142606244511569936384000000000.
hazard999
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 162

Win XP SP2
VS 2010 Ultimate, CC.Net, Unity, Pex, Moles, DevExpress eXpress App
BeitragVerfasst: Do 15.05.08 15:27 
Hallo,

kauf dir einen IOWarrior.

Kostet fast nix, kann recht viel (auch Hitachi-kompatible Zeilendisplays ansteueren (max. 4x80 Zeichen).

SDK und Beispiele für Delphi ist auch dabei

_________________
MOV EAX, Result;MOV BYTE PTR [EAX], $B9;MOV ECX, M.Data;MOV DWORD PTR [EAX+$1], ECX;MOV BYTE PTR [EAX+$5], $5A;MOV BYTE PTR [EAX+$6], $51;MOV BYTE PTR [EAX+$7], $52;MOV BYTE PTR [EAX+$8], $B9;MOV ECX, M.Code;MOV DWORD PTR [EAX+$9], ECX
Wolle92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Do 15.05.08 16:06 
kann ich damit denn dann auch meine LED's leuchten lassen, so wie ich das will?

Und bevor ichs kaufe, speziell für den Spektrumanalysator: muss ich für 10 Bereiche beispielsweise auch 10 Ports haben?

_________________
1405006117752879898543142606244511569936384000000000.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Do 15.05.08 17:09 
Je nachdem, ob Du extern noch etwas andere Logik anbaust, kannst Du das ganze mit 5 Pins (1 Pin Signal, 4 Pins Adresse) regeln.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Wolle92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1296

Windows Vista Home Premium
Delphi 7 PE, Delphi 7 Portable, bald C++ & DirectX
BeitragVerfasst: Do 15.05.08 17:37 
ist es denn schwer, andere logik anzubauen?

_________________
1405006117752879898543142606244511569936384000000000.