TOP Contributors

  1. MIKROE (2653 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 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 (136652 times)
  2. FAT32 Library (69865 times)
  3. Network Ethernet Library (55901 times)
  4. USB Device Library (46244 times)
  5. Network WiFi Library (41871 times)
  6. FT800 Library (41108 times)
  7. GSM click (28963 times)
  8. PID Library (26403 times)
  9. mikroSDK (26326 times)
  10. microSD click (25341 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: 2517 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

PROGRAM ZA 18F2550 10 BIT AND SET JOY

0

This is a simple demonstration of 8 Axis, 12 Buttons and Hat Joystick Controller Possibility of adjusting OFFSET potentiometer USING REFERENCES VREF+ and VREF- Due to the angle of the potentiometer. There are opportunities to expand the matrix of buttons Program to use USB_HID_desc

[Learn More]

USB Mouse And Keyboard, Using Only One PIC Microcontroller

0

This example shows the possibillity of the MikroC PRO's HID library to emulate more than one device (keyboard and mouse) at the same time, using only one PIC Microcontroller. When you connect the USB port, the computer will recognize a mouse and a keyboard. They can work together. No additional drivers needed.

[Learn More]

USB Host Library

5

USB Host Library presents the user set of functions required to handle USB host module. A embedded user application program uses API defined in this library to access USB host peripheral.

[Learn More]