5.0

5.0 | 3 ratings Rate this file 81 downloads (last 30 days) File Size: 333.16 KB File ID: #24417

Comunicacion entre MATLAB y PIC de MICROCHIP usando puerto USB

by Gabriel Pool

 

11 Jun 2009 (Updated 10 Jul 2009)

Code covered by BSD License  

Transferencia de información por USB entre el PIC y MATLAB usando la mpusbapi.dll de Microchip

Download Now | Watch this File

File Information
Description

Se incluye en el archivo el código fuente que se compila en el PIC <<daq.c>> e instrucciones de instalación, se requiere descargar el driver Microchip MCHPFSUSB v2.1 Installer.zip que se encuentra en la página de MICROCHIP, los descriptores son los que se incluyen en la carpeta de driver del compilador C CCS PCWH 3.227. El demo se limita a enviar y recibir paquetes de 64 bytes, en el PIC se muestra el dato en el puerto b y en matlab se muestra el dato recibido en la línea de comandos de matlab.

MATLAB release MATLAB 7.5 (R2007b)
Zip File Content  
Other Files _mpusbapi.h,
Codigo PIC/daq.C,
Instrucciones de Instalacion.pdf,
license.txt,
mpusbapi.dll,
usb.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
16 Jun 2009 wilberth hidalgo

Pa la mecha ya te lo aceptaron en el Mathwork felicidades es muy buena tu aportacion

Wilberth Hidalgo Arcos

16 Jun 2009 Gabriel Pool  
13 Sep 2009 paul angarita

Te felicito -Gabo, esto si es una aplicacion interesante con MATLAB. Estaba cansado de ver SIMULACIONES Y SIMULACIONES EN MATLAB y nada de INTEGRACION CON HARDWARE REAL. Estaba buscando esta aplicacion,USB PIC Y MATLAB , desde hace años...|paul Colombia

25 Sep 2009 Vannes

Genial! De lo bueno lo mejor! Buscaba algo así desde hace tiempo una excelente explicación, ordenación, síntesis...
Y encima en castellano, olé y olé!
Con es aporte vas ayudar a muchos estudiantes e ingenieros interesados en el mundo Pic-Matlab, te felicito!

Please login to add a comment or rating.
Updates
18 Jun 2009

Se anexa diagrama esquemático en pdf y codigo fuente <<daq.c>>

10 Jul 2009

Se anexa instrucciones detalladas de instalación.

Tag Activity for this File
Tag Applied By Date/Time
demo Gabriel Pool 12 Jun 2009 16:10:10
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com