TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 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 (136549 times)
  2. FAT32 Library (69743 times)
  3. Network Ethernet Library (55848 times)
  4. USB Device Library (46186 times)
  5. Network WiFi Library (41806 times)
  6. FT800 Library (40997 times)
  7. GSM click (28926 times)
  8. PID Library (26385 times)
  9. mikroSDK (26288 times)
  10. microSD click (25301 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: 2516 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 controlled DDS signal generator (Revised)

0

Windows application that connects with a PIC18F2550 microcontroller via USB to control a AD9835 DDS chip via SPI. The application makes it easy for selecting/inputting any arbitrary value & phase to be generated by the DDS chip. Package contains the compiled application as well as the compiled hex file for the MCU along with a sample schematic.

[Learn More]

Weather

0

This display weather application use an USB connection to display informations on MikroMMB for PIC18FJ ( rev 1.05 ). The MMB application receive information and display it on the TFT. The PC application ( Visual C# Express ) displays an icon on the taskbar, right click on this icon for configuration's choices.

[Learn More]

PIC18F25K50 USB HID BOOTLOADER MIKROBASIC

0

This project is the bootloader library for the pic18f25k50 processor. Prepared with microbasic. You can use it with the mikroe bootloader program. I thank Vedat BaloÄŸlu for the sample code. NOTE: I think it is available in pic18LF25k50. But I didn't test it.

[Learn More]