Pages: [1]   Go Down
Author Topic: V-USB enabled prototyping (Picture Review)  (Read 2167 times)
0 Members and 1 Guest are viewing this topic.
Atlanta, USA
Offline Offline
Edison Member
*
Karma: 53
Posts: 1790
AKA: Ray Burne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I love V-USB ... bought my VID/PID a couple of years ago for my own little toys and playing around in my home lab.  With the release of the Digispark and the Trinket (t85 based), a renewed interest seems to be brewing.  So, I thought I would share a few of my homemade enablers - that is, things to help with prototyping... and things that can be reused with the next project idea.

The designs I present here work with 3.3V devices and 5.0V devices; however please refer to the Objective Development's reference designs for ideas and specific values of things such as resistors and zener diodes.  Listed below are my reference parts that I selected because they are known to work for me - the most critical is the zener diode.  The 1.8K pullup can vary in specs based upon the reference design and source voltage.
http://www.obdev.at/products/vusb/prjobdev.html

HARDWARE
  • Zener 3.6V - 1N5227B-TAP by Vishay Semi (sourced: Newark 18M3528)
  • 68 Ohm 1W metal film resistor 5% (sourced: Newark 78R4762)
  • 1.8K Ohm 125MW 1% metal film resistor (sourced: Newark 38K5432)

PLEASE DO NOT POST ASKING ABOUT PARTS VALUES OR SUBSTITUTES.  I SPENT A LONG TIME FINDING PARTS THAT WORK CONSISTENTLY FOR ME.  YOUR MILEAGE MAY VARY.

SOFTWARE
For Arduino UNO/Mini/Nano boards AND for 328P-PU bareboards and breadboarding, I use this library:
https://code.google.com/p/vusb-for-arduino/

For Trinket and Digispark both of which are t85-based, they both provide V-USB enabled bootloaders and user libraries for HID.
https://github.com/adafruit/Adafruit-Trinket-Gemma-Bootloader
https://github.com/Bluebie/micronucleus-t85
Other Adafruit software: https://github.com/adafruit/Adafruit-Trinket-USB
Other Digispark software: https://github.com/digistump

Now for the picture review of my hardware implementations for enabling a good prototyping experience.  The traditional method of just sticking the parts into the breadboard is the 1st picture shown.  By moving the V-USB interface parts to a small, epoxy encapsulated board, only V+, Gnd, D+, and D- (Red, Black, Yellow, Green) need to be connected to almost any Arduino to provide the V-USB interface.  In my designs, I also use a small polyfuse just to protect my PC USB port.

For non-members and those not logged in, Flickr hosted versions;
OLD/Traditional: http://www.flickr.com/photos/77727388@N06/10439986403/
Nano with V-USB adapter: http://www.flickr.com/photos/77727388@N06/10439987003/
V-USB adapters complete with polyfuse: http://www.flickr.com/photos/77727388@N06/10439987723/


* IMG489.jpg (840.78 KB, 2592x1944 - viewed 58 times.)

* IMG487.jpg (827.47 KB, 2048x1536 - viewed 63 times.)

* IMG486.jpg (854.23 KB, 2048x1536 - viewed 54 times.)

* IMG485.jpg (919.53 KB, 2048x1536 - viewed 79 times.)
« Last Edit: October 23, 2013, 08:45:26 am by mrburnette » Logged

Atlanta, USA
Offline Offline
Edison Member
*
Karma: 53
Posts: 1790
AKA: Ray Burne
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

More:

The last 2 pictures show jumper wires with one end "cut-off" and the resistor soldered and then heat-shrink covered.  This puts 3 resistors 'inline' with the jumper and simplifies quick tests.  This can also be done with the zeners, but I evolved the USB small adapter boards shown in the first group of pictures which is the approach I prefer.


Have V-USB fun,

Ray

For non-logged-in members and non-members, Flickr hosted images;
Simple USB adapter for breadboard: http://www.flickr.com/photos/77727388@N06/10439987733/
Jumper converted to have inline resistor: http://www.flickr.com/photos/77727388@N06/10439987743/

Added:  Completed projects using V-USB
328P V-USB enabled analog/digital logic analyzer:
http://forum.arduino.cc/index.php?topic=135623.0

I like the Trinket (t85) board quality and design, but I am not fond of the Adafruit bootloader.  So, I found a way to have the hardware of the Trinket but with the bootloader and utilities of the Digispark:
http://forum.arduino.cc//index.php?topic=192126.msg1419941#msg1419941


* IMG484.jpg (709.11 KB, 2048x1536 - viewed 49 times.)

* IMG483.jpg (621.96 KB, 2048x1536 - viewed 34 times.)

* IMG482.jpg (1016.07 KB, 2048x1536 - viewed 40 times.)
« Last Edit: October 23, 2013, 08:49:47 am by mrburnette » Logged

Pages: [1]   Go Up
Jump to: