Autor Tema: Herramienta en PC para microcontroladores gratis.  (Leído 4036 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado LABmouse

  • Moderadores
  • DsPIC30
  • *****
  • Mensajes: 3575
    • Juntos es mejor
Herramienta en PC para microcontroladores gratis.
« en: 29 de Marzo de 2009, 10:38:28 »
Hola!,

Encontre este software con el que podemos tener una herramienta bastante interesante en el PC para enviarle datos con cualquier microcontrolador por puerto serie y este haga graficas y demas. Lo mejor, es que es gratis.

Aunque hagan referencia a un microcontrolador o a una board DEMOQE, por ser por puerto serie podemos enviarle con quien sea los datos que igual va a graficar.

DESCARGA

Aca una pequeña explicacion de lo que hace.



ANALIZADOR LOGICO



The DEMOQE board has a built-in two-channel logic analyzer. This analyzer allows the IN0 and IN1 signals to be captured by the PC and displayed for the user. The IN0 and IN1 signals may be connected to any of the MCU signals which the user would like to view. By default, they are connected to the PTC0 and PTC1 pins of the MCU by jumper J11. At the time of this release, the logic analyzer runs at a capture rate of 10khz.

This PC-based application is used to display the logic analyzer data on the PC. The logic analyzer data is displayed in real-time and each waveform may be paused, zoomed, and printed.

If the microcontroller-based Quick Start Application is programmed into the MCU, the IN0 channel will show the PWM output on pin PTC0 whose duty cycle is controlled by the potentiometer (W1). The IN1 channel shows the PWM output on channel PTC1 which drivers the buzzer.


ACELEROMETRO


This PC-based application will graph serial data output from the microcontroller-based serial accelerometer application. The graphed data includes the magnitude of the X, Y, and Z accelerometer signals, as well as the current processor loading. For this application to work properly, the microcontroller-based serial accelerometer application must be programmed into the microcontroller which is plugged into the DEMOQE board.

The data that is graphed may come from either the PC serial port or the virtual serial port on the DEMOQE board. The serial port of the microcontroller on the DEMOQE board is routed to either serial port hardware or the virtual COM port based upon the setting of jumpers J6 and J7.

TERMINAL

This PC-based application acts as a standard serial port terminal application on the PC. It works with standard serial ports as well as the virtual serial port on the DEMOQE board. The application includes settings to adjust the COM port number, baud rate, parity, and number of data bits. There is a button to take a file on the PC and transmit it out of the serial port. There are also delays which are automatically inserted in the transmission output to prevent overruns. It is recommended that these defaults not be changed.

The terminal window may be set for full duplex or half duplex. In full duplex mode, only received characters are displayed in the terminal window. In half duplex mode, both transmitted and received characters are displayed.


OSCILOSCOPIO


This PC-based application is a more generalized version of the accelerometer demo application. It may be used with the microcontroller based serial accelerometer application or customer microcontroller code which transmits data in the correct format. The serial graphing utility allows incoming data on the PC serial port, or one of P&E's virtual serial ports, to be automatically graphed in time or displayed upon a series of bar graphs. The virtual serial port exists on several of P&E's embedded USB multilink designs including the DEMOQE board.

All data to be displayed must be in hexadecimal format. The data can be accepted and displayed either as incoming byte values ($00-$FF) or word values ($0000-$FFFF). The data format indicates whether the data is byte or word data. The graphical components automatically size their range depending upon the incoming data.



Desconectado mariano_pic

  • PIC18
  • ****
  • Mensajes: 498
    • Software Electronica Microncontroladores
Re: Herramienta en PC para microcontroladores gratis.
« Respuesta #1 en: 29 de Marzo de 2009, 10:53:50 »
   Hola pic_mouse estas piyado, conque rondando con los micros de frescalle  :mrgreen: , esta muy buena la herramienta  :-)
Necesitas ayuda para tu proyecto electronico?
buscame, tal ves pueda colaborarte.
Blog: http://electronicosembebidos.blogspot.com.co/
mail: electronicosembebidos@gmail.com
Mi grupo de facebook: https://www.facebook.com/groups/ProgramandoPics/

Desconectado martpic

  • PIC12
  • **
  • Mensajes: 54
Re: Herramienta en PC para microcontroladores gratis.
« Respuesta #2 en: 12 de Agosto de 2009, 01:17:42 »
Holap.... Y si has usado esta herramienta q se la ve muy interesante.....

Desconectado LABmouse

  • Moderadores
  • DsPIC30
  • *****
  • Mensajes: 3575
    • Juntos es mejor
Re: Herramienta en PC para microcontroladores gratis.
« Respuesta #3 en: 13 de Agosto de 2009, 13:49:18 »
Si, es muy facil de usar ademas de ser bastante fácil de usar.  Al descargar, tienes un manual en PDF de como enviarle los datos.

SALUDOS!

Desconectado martpic

  • PIC12
  • **
  • Mensajes: 54
Re: Herramienta en PC para microcontroladores gratis.
« Respuesta #4 en: 05 de Octubre de 2009, 23:03:55 »
PicMouse como le hiciste para enviar los datos... Dime como le envias... Lo estoy hacien en lenguaje c.. Lo envio de manera serial y recibe pero no grafica....

Desconectado Nocturno

  • Administrador
  • DsPIC33
  • *******
  • Mensajes: 18286
    • MicroPIC
Re: Herramienta en PC para microcontroladores gratis.
« Respuesta #5 en: 06 de Octubre de 2009, 01:50:16 »
Es muy útil la aplicación. Gracias Ernesto

Desconectado LABmouse

  • Moderadores
  • DsPIC30
  • *****
  • Mensajes: 3575
    • Juntos es mejor
Re: Herramienta en PC para microcontroladores gratis.
« Respuesta #6 en: 17 de Octubre de 2009, 22:27:17 »
Hola,!

Hay un PDF que acompaña los ejecutables.. En el explican como se le deben enviar los datos para que los pueda graficar correctamente.


Aca tengo un programa ejemplo que le envía los datos.

Código: [Seleccionar]

    putc_az(USB,'\r');
    putc_az(USB,'\n');
     
    putc_az(USB,'W');
    lectura=0x00;
   
    temporal=((lectura & 0xF0)>>4)+0x30;
    if(temporal>0x39)temporal=temporal+0x07;
    putc_az(USB,temporal);
   
    temporal= (lectura & 0x0F)+0x30;   
    if(temporal>0x39)temporal=temporal+0x07;   
    putc_az(USB,temporal);

   //-----------------------------------------
    putc_az(USB,'Z');
    lectura=acelerometro_z;
   
    temporal=((lectura & 0xF0)>>4)+0x30;
    if(temporal>0x39)temporal=temporal+0x07;
    putc_az(USB,temporal);
   
    temporal= (lectura & 0x0F)+0x30;   
    if(temporal>0x39)temporal=temporal+0x07;   
    putc_az(USB,temporal);
  //-----------------------------------------
    putc_az(USB,'Y');
    lectura=acelerometro_y;
   
    temporal=((lectura & 0xF0)>>4)+0x30;
    if(temporal>0x39)temporal=temporal+0x07;
    putc_az(USB,temporal);
   
    temporal= (lectura & 0x0F)+0x30;   
    if(temporal>0x39)temporal=temporal+0x07;   
    putc_az(USB,temporal);

  //-----------------------------------------
    putc_az(USB,'X');
    lectura=acelerometro_x;
   
    temporal=((lectura & 0xF0)>>4)+0x30;
    if(temporal>0x39)temporal=temporal+0x07;
    putc_az(USB,temporal);
   
    temporal= (lectura & 0x0F)+0x30;   
    if(temporal>0x39)temporal=temporal+0x07;   
    putc_az(USB,temporal); 
  //-----------------------------------------     
    putc_az(USB,'\r');
    putc_az(USB,'\n');
             
    putc_az(USB,'A');
    lectura=0x00;
   
    temporal=((lectura & 0xF0)>>4)+0x30;
    if(temporal>0x39)temporal=temporal+0x07;
    putc_az(USB,temporal);
   
    temporal= (lectura & 0x0F)+0x30;   
    if(temporal>0x39)temporal=temporal+0x07;   
    putc_az(USB,temporal);

   //-----------------------------------------
    putc_az(USB,'B');
    lectura=acelerometro_z;
   
    temporal=((lectura & 0xF0)>>4)+0x30;
    if(temporal>0x39)temporal=temporal+0x07;
    putc_az(USB,temporal);
   
    temporal= (lectura & 0x0F)+0x30;   
    if(temporal>0x39)temporal=temporal+0x07;   
    putc_az(USB,temporal);
  //-----------------------------------------

    putc_az(USB,'C');
    lectura=acelerometro_y;
   
    temporal=((lectura & 0xF0)>>4)+0x30;
    if(temporal>0x39)temporal=temporal+0x07;
    putc_az(USB,temporal);
   
    temporal= (lectura & 0x0F)+0x30;   
    if(temporal>0x39)temporal=temporal+0x07;   
    putc_az(USB,temporal);

  //-----------------------------------------
 
    putc_az(USB,'D');
    lectura=acelerometro_x;
   
    temporal=((lectura & 0xF0)>>4)+0x30;
    if(temporal>0x39)temporal=temporal+0x07;
    putc_az(USB,temporal);
   
    temporal= (lectura & 0x0F)+0x30;   
    if(temporal>0x39)temporal=temporal+0x07;   
    putc_az(USB,temporal);