TOP Contributors

  1. MIKROE (2760 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139226 times)
  2. FAT32 Library (71732 times)
  3. Network Ethernet Library (57114 times)
  4. USB Device Library (47426 times)
  5. Network WiFi Library (43051 times)
  6. FT800 Library (42401 times)
  7. GSM click (29832 times)
  8. mikroSDK (28050 times)
  9. PID Library (26881 times)
  10. microSD click (26197 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: 2541 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

UsbPicProg

4

This is Simple USB programmer for PIC MCUs made with two mikroElektronika boards. StartUSB for PIC is used as main board for the programmer, and PICFlash Experimental Board as second board. The project was build by the concept from usbpicprog.org

[Learn More]

Tool: PIC uart to USB interface

0

Converts PIC level Uart signals to USB in both directions. This project is meant for use with PC's that do not have an RS232 interface any more. It makes it possible to handle the pic uart signals with a PC without an RS232 interface.

[Learn More]

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]