Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

Make yourself an USB Interface

Make yourself an USB Interface

This document is written primarily for anyone who wants to create an interface using the CUI or CREATE USB Interface. It is also useful for anyone who wants to understand the process of developing applications for microcontrollers in general, and for Microchip PIC processors in particular.
What you get out of the CUI depends on what you put into it. It’s unlikely that there will be any “pre-canned” configurations that exactly suit your needs–you will generally need to add custom hardware on the board and create a PIC program specifically for your application. But that’s the fun part of the process!

To give you a taste of what’s possible with a PIC and CUI board, here are some projects that people could create using the CUI (or should be able to create):

A musical interface. The CUI board can be programmed to convert analog sensor inputs to a standard USB protocol, allowing you to control an interactive composition or performance setup.

A novel visual interface. The PIC can measure input from a sensor such as an acceleromoter, and the host computer can run a visualization algorithm which interprets user input as gestural data to control different aspects of the visual output.

An Ultrasonic Ranging device (for example, using devices such as the SRF04). The PIC is sufficiently fast to generate outgoing pulses and measure the results accurately.

A game controller. The PIC can be programmed to behave as a joystick-type device by enumerating (telling the host computer about itself) as a game pad. The addition of sensors for input and actuators for force-feedback can provide an easy way of getting data in and out of various host applications (e.g. Max/MSP/Jitter, Pd, SuperCollider, Processing, etc). Using the standard game controller input method bypasses the need to write your own driver for the USB protocol by piggy-backing on the HID (Human Input Device) standard.

Visit Here for more.







 

More Articles to Read

ESP8266 Kit Released
ESP8266 Kit Released
An Arduino laser pinball machine
An Arduino laser pinball machine
CTCSS fingerprinting: A method for transmitter identification
CTCSS fingerprinting: A method for transmitter identification
TI DLP® Pico™ Technology for Aftermarket Head-up Displays
TI DLP® Pico™ Technology for Aftermarket Head-up Displays
Brute force computation for cheap log digital potentiometer
Brute force computation for cheap log digital potentiometer
Smart "Homer"
Smart "Homer"
A DIY Segway-style vehicle
A DIY Segway-style vehicle
Superbeta transistors inside: Die photos and analysis of the LM108 op amp
Superbeta transistors inside: Die photos and analysis of the LM108 op amp
Peeqo is a desktop bot that communicates through GIFs
Peeqo is a desktop bot that communicates through GIFs
Using a Programmable Input Multiplier to Minimize Integer Boundary Spurs
Using a Programmable Input Multiplier to Minimize Integer Boundary Spurs

Top


Shares