TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139563 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47615 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42559 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Example

StartUSB for PIC - USB HID Controlado pelo LabView (StartUSB for PIC - USB HID with LabView)

Rating:

5

Author: Eduardo Ludgero da Silva

Last Updated: 2012-10-17

Package Version: 1.0.0.0

Example: 1.0.0.0

Category: USB

Downloaded: 2544 times

Not followed.

License: MIT license  

Prezados,

Este exemplo é um simples projeto para comunicação USB HID da placa de desenvolvimento StarUSB com o LabView. O exemplo mostra como mudar os registros do TIMER0: T0CON, TMR0H e TMR0L.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "StartUSB for PIC - USB HID Controlado pelo LabView (StartUSB for PIC - USB HID with LabView)" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "StartUSB for PIC - USB HID Controlado pelo LabView (StartUSB for PIC - USB HID with LabView)" changes.

Do you want to report abuse regarding "StartUSB for PIC - USB HID Controlado pelo LabView (StartUSB for PIC - USB HID with LabView)".

  • Information
  • Comments (3)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Example Blog

Prezados,

Antes de realizar a comunicação, não esqueça de executar o NI-VISA Driver Wizard, para a instalação do driver NI-VISA na sua máquina, as características são: 

 * VID: 1234
 * PID: 0001
 * Vendor Name: StartUSB
 * Product Name: USB HID Library

Disponibilizo este exemplo a fim de ajudá-los a estabelecer uma comunicação USB HID por meio do kit de desenvolvimento StartUSB for PIC e o LabView.

Neste exemplo vamos apreender a alterar os valores do TIMER0 via USB. Deixei alguns exemplos preparados no código fonte do LabView. O Led verde no kit ajudará a ver as mudanças do timer.

Código Fonte do LabView disponíveis nas versões: 2010, 1009, 8.6, 8.0;

--

Dear,

Before making the communication, make sure to run the NI-VISA Driver Wizard to install the NI-VISA driver on your machine, the features are:

  * VID: 1234
  * PID: 0001
  * Vendor Name: StartUSB
  * Product Name: USB HID Library

Make available this example in order to help them establish communication via the USB HID kit development StartUSB for PIC and LabView.

In this example we will grasp the changing values ​​of TIMER0 via USB. I left some examples prepared in the LabView source code. The green LED in the kit will help you see the changes the timer.

Source code available in LabView versions: 2010, 1009, 8.6, 8.0;

Eduardo Ludgero da Silva

Código Fonte (Source Code)

Código Fonte (Source Code)

Block Diagram

View full image
Tela Principal

Tela Principal

Front Panel

View full image
NI-VISA Driver Wizard

NI-VISA Driver Wizard

NI-VISA Driver Wizard: O kit de desenvolvimento já deve estar conectado para que o software ache os dados HID. NI-VISA Driver Wizard: The development kit should already be connected to the software find the HID information.

View full image
NI-VISA Driver Wizard - Infotmações

NI-VISA Driver Wizard - Infotmações

Se o kit de desenvolvimento já estiver conectado ele mostrará os dispositivos HIDs e um deles será o o nosso: * VID: 1234 * PID: 0001 * Vendor Name: StartUSB * Product Name: USB HID Library If the development kit is already connected it wi

View full image
NI-VISA Driver Wizard - Prefix

NI-VISA Driver Wizard - Prefix

Arquivo *.ini; File *.ini;

View full image
NI-VISA Driver Wizard - Instalação

NI-VISA Driver Wizard - Instalação

Instalação; Install;

View full image

RELATED CODES

USB-HID dll for Delphi (and perhaps other languages)

5

Two versions of an USB-HID dll, meant for PC (Delphi, etc...) usage:
A basic version, developed by Joop Beunders,
A somewhat more extended version, based on the basic version of Joop.

[Learn More]

MikroC PRO HID Keyboard

10

PIC 18F4550 based example how to make the PIC microcontroller comunicate like a HID Keyboard.

[Learn More]

PIC32 USB Host XC32

0

This example demonstrates how to use the USB host functionality of the PIC32 microcontroller with the XC32 compiler.

[Learn More]