TOP Contributors

  1. MIKROE (2656 codes)
  2. Alcides Ramos (353 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 (136797 times)
  2. FAT32 Library (69983 times)
  3. Network Ethernet Library (55951 times)
  4. USB Device Library (46274 times)
  5. Network WiFi Library (41892 times)
  6. FT800 Library (41187 times)
  7. GSM click (28990 times)
  8. PID Library (26420 times)
  9. mikroSDK (26375 times)
  10. microSD click (25382 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: 2518 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 Mouse, Using Wii Remote IR Camera As Stand Alone Sensor and MikroMMB for PIC18FJ Board

0

This project is how to make USB HID mouse, using Wii remote IR camera as stand alone sensor and MikroMMB for PIC18FJ board. The information from the sensor is processed and sent to the computer via USB. The device is recognized by the computer as an USB HID MOUSE.

[Learn More]

USB Mouse Using Touchpad 3 Click

0

An example of how to make your own computer mouse, using Mikroelektronika's Touchpad: 3 click board. When connected, the computer recognizes a touch-controlled mouse. A short click generates a left mouse button click.PIC 18F87J50 and Clicker examples.

[Learn More]

Easy USB HID Temperature Sensor with Display TFT and PIC32MX7

0

This Project utilizes temperature sensor and USB HID on PIC32MX7 Multi Media Board. Temperature is read from pin RB8/AN8 (°C). Value is then displayed on TFT display. The temperature value is send via USB to PC . This project work with USBHIDNetClass USBHID Drive and Visual C# 2008/2010 or VB.NET.

[Learn More]