USB PCB Business Card

USB PCB Business Card

This is a business card that will type out some text when you plug it into a USB port.

It uses a ATtiny85 microcontroller with V-USB based code to emulate a keyboard. The typing is triggered by the CAPS LOCK status LEDs being toggled 3 times.

This instructable will focus on using CadSoft EAGLE to create your own USB PCB business card. I want you to be creative in the design, so some minor steps I've taken may have been omitted.

Code download is provided on step 8.

 
Remove these adsRemove these ads by Signing Up
 

Step 1Circuit

Circuit

The circuit is based on V-USB's recommended circuitry. It's powered by the 5V from the USB port. There's two 68 ohm resistors, one on each of the USB data lines, these act as terminating resistors which suppress reflected signals. There is a 1.8 kilo ohm resistor on the D+ line, which allows the computer to detect when something connects to the USB port, and it identifies the device as a low speed device. Two Zener diodes with Vz of 3.6V are on the data lines to clamp the voltage on those lines. There is a 0.1 uF capacitor between the 5V and GND as a decoupling capacitor.

Since the business card should be a compact and thin design, 0604 surface mount packaging is selected for most of the components. The diodes are Mini MELF packaging (they look cool in my opinion).

The microcontroller is an ATtiny85, which is a 8 pin AVR microcontroller. The SOIC package version is chosen to keep the design compact and thin.



To program the microcontroller, in-circuit serial programming is used, which requires the signals: reset, SCK, MOSI, MISO, along with power and ground. The SCK and MOSI are exposed by the USB connector, while two pads are provided for the MISO and reset signals. This allows for a programming adapter to be made.
« Previous StepDownload PDFView All StepsNext Step »
34 comments
Feb 1, 2012. 8:50 AMBDubSon says:
I really appreciate your effort to show how easy it is to solder 0603 SMT ... honestly I do. Great job! However... it's still wrong on so many levels ;-) Great Instructable!
Dec 15, 2011. 7:06 PMMatrix-technician says:
Hey there! Pardon me if i missed it, but what is the cost of these per (1) assembled at home. And what would it cost to have these manufactured?
Oct 20, 2011. 6:57 AMxa4 says:
Very cool !! thank's a lot for sharing
Sep 29, 2011. 4:54 PMYandle says:
Very awesome! ... .. Vibrator... #$*%ing PRO!
Sep 28, 2011. 6:04 AMsdtrent says:
What happened to the picture of the USB connector? It was cool to see the details on the pcb layout. Perhaps I am missing something. It looks like you can download the files to do the project yourself but I cannot find the file for the pcb.
Sep 17, 2011. 3:38 AMlaxap says:
Frank,

frankly, this is an awesome project. The ideas to (1) use an HID profile, and to (2) use capslock to "talk" to the card are just terrific.

I'm sure you impressed your card recipients.

You totally deserved your 1st prize in the USB contest. Did you get your HP TouchPad? What will you do with it? hack it?

  Pascal
Sep 20, 2011. 6:17 PMhornbadoing says:
im not that good with computers.. is there a way i can do that with a flash drive??
Sep 22, 2011. 7:09 PMhornbadoing says:
Nobody answered my question so i went searching.. the answer is yes you can do it with a flash drive. its actually pretty neat and u don't have to be a genius to do it.
Sep 16, 2011. 11:07 AMc.klomp says:
how does one get his hands on one of these? its awesome!!
Aug 20, 2011. 5:34 PMBeefyHaze says:
Wow, thats pretty slick but people might shy away and think that you are controlling their computer... Ive done things like this and some of the more computer illiterate freak out and shout "VIRUS" great design though
Aug 17, 2011. 9:31 PMhusamwadi says:
woah
Jul 27, 2011. 10:14 PMSDgeek says:
I can't help but do a double post here...Using this for handing out a resume is an instant job offer in my opinion.
Aug 14, 2011. 7:16 PMMatthewEnderle says:
WOW!!! Never thought of that... but I just found this so it's too late for me.
Aug 14, 2011. 4:14 PMthoraxe says:
That is godly bro, +1000 internets to you.
Aug 11, 2011. 9:49 PMFranzjr says:
Felicitaciones un excelente proyecto, Congratulations, one excelent project
Aug 10, 2011. 2:20 AMMrF_DT_teacher says:
Nice job, I like it a lot!!
Aug 8, 2011. 9:01 AMEngineeringShock says:
I sincerely hope this wins first prize. You deserve it!
Aug 7, 2011. 1:04 AMryanlg says:
Can you please supply the full specifications on the diodes (Forward voltage, etc) or a product code.
Kthxbye
Aug 5, 2011. 2:04 AMagis68 says:
WOW! you did all this by this soldering iron? Grate job, awsome project, well covered and supported.......far far more the tyoical 5*...excellent......I vote you for the winner....:)))
Jul 29, 2011. 11:23 PMchrisre cat says:
Whip one of these out at the bar, book store,com con ,hell anywhere and watch the girls come running
Jul 29, 2011. 9:16 AMmeseta says:
awesome idea, I saw this a while back on a few sites. Just a quick question: is your PCB 1.6mm thick? how well does that fit into the USB port?
Jul 28, 2011. 3:44 PMemihackr97 says:
does it also work with MAC OS X?
it would be great!
cool project.
Jul 27, 2011. 10:11 PMSDgeek says:
This. Is. The. COOLEST idea I've ever seen. Props to you bro! This will catch on so huge, if you don't take advantage quick enough you might seriously be kicking yourself in the a$$. Just, sick....
Jul 27, 2011. 9:34 AMverence says:
Very nice Instructable and a very nice product - although I would never plug an USB device given to me by a stranger into my computer (neither private nor at work).

But at an interview, the idea and the quality of execution alone would mean something.
Jul 27, 2011. 8:10 AMfreakyqwerty says:
That is cool.
Jul 27, 2011. 12:46 AMzack247 says:
i agree, this is really cool!
there mustnt be anything like sending your client a example of what you work with!
(this is assuming you work with circuits)
Jul 26, 2011. 10:23 PMBongmaster says:
neat :) wouldnt mind one myself X3

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
127
Followers
12
Author:frank26080115(Frank's Projects)
I'm an electrical engineering student at the University of Waterloo.