Faire fonctionne un PIC par Software PC via USB?

Forum de support pour les locuteurs de la langue française qui souhaitent écrire dans leur langue maternelle.

Moderator: Benj

Post Reply
tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Faire fonctionne un PIC par Software PC via USB?

Post by tech »

Bonjour,

Je suis a la recherche d'informations pour faire fonctionne un PIC via un logiciel sur le PC via USB, quel serait le meilleur logiciel pour faire un programme sur le PC qui interagira avec le PIC via USB?

J'ai trouver SoftwareZator 2014 mais je ne suis pas sur qu'il pourrait faire l'affaire?

Merci a tous,

Chris

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Faire fonctionne un PIC par Software PC via USB?

Post by Benj »

Salut Chris ,

Flowcode 6 permet cette fonctionnalité . Voici un exemple : http://www.matrixtsl.com/blog/?p=82

Autres méthodes serait d'utiliser un langage tel que : VB , Labview , Python , C ++ , ....


Hi Chris,

Flowcode 6 allows this functionality. Here is an example: http://www.matrixtsl.com/blog/?p=82

Other methods would be to use a language such as: VB, Labview, Python, C++, ....

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Faire fonctionne un PIC par Software PC via USB?

Post by tech »

Bonjour Benj,

Je voudrais utilise le PIC 18F2455 qui a des ports dédier pour le USB, quel component dois-je utiliser exactement USB HID ou USB Serial?

Avez-vous des exemples similaires?

Merci,

Chris

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Faire fonctionne un PIC par Software PC via USB?

Post by Benj »

Bonjour Chris ,

USB série fournit un port COM virtuel semblable à un convertisseur RS232 vers USB .

http://www.matrixtsl.com/wiki/index.php ... 0a4731e545

USB esclave fournit une couche générique de communication faisant le microcontrôleur esclave de ce que le PC est dit de faire.

http://www.matrixtsl.com/wiki/index.php ... 425b14462f

USB HID actuellement ne pas avoir les fonctionnalités de simulation de communiquer via Flowcode .



Hello Chris,

USB serial provides a virtual com port similar to a RS232 to USB converter.

http://www.matrixtsl.com/wiki/index.php ... 0a4731e545

USB Slave provides a generic communications layer making the microcontroller a slave to what the PC is telling it to do.

http://www.matrixtsl.com/wiki/index.php ... 425b14462f

USB HID currently does not have the simulation functionality to communicate via Flowcode.

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Faire fonctionne un PIC par Software PC via USB?

Post by tech »

Bonjour Benj,

Je voudrais savoir si je dois utiliser un driver pour que le PIC pour qu'il soit reconnue par le PC comme un port COM et pour le component je devrais utiliser le USB Seriel? :?

Merci

Chris

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Faire fonctionne un PIC par Software PC via USB?

Post by Benj »

Salut Chris ,

Oui la composante de série USB permet au PC de voir la connexion de données comme un port COM standard . Les exemples devraient vous aider à démarrer ou vous pouvez poster votre programme ici et nous aider avec les réglages de configuration droite pour vous aider à démarrer .


Hi Chris,

Yes the USB Serial component allows the PC to see the data connection as a standard COM port. The examples should help to get you started or you can post your program here and we will help with the right config settings to get you started.

Post Reply