Since I have done a lot of writing in the past about USB devices, I often get questions about the actual USB hardware. One of the biggest questions that I get is about the USB pinout specifications. Just what are each of those pins and what do they do.

Well, the USB pinout varies, depending upon which type of USB plug and receptical you have.

Series A USB Pinout

This is usually what you see most USB devices such as mice and keyboards using. These are four pin devices, two pins for power (1,4) and two pins for data (2,3). The power pins transfer 5V DC.

Series B USB Pinout

These are more popular on USB hard drives, CD/DVD drives and scanners. Just like Series A, these are four pin devices, two pins for power (1,4) and two pins for data (2,3). The power pins transfer 5V DC.

Mini-USB Series A USB Pinout

The Mini-USB series went to a five pin design, even though one pin is either not used or is redundant. You will usually see these on cameras or other such devices. Pins 1 and 5 are for power and pins 2 and 3 provide data access. Pin 4 is connected to pin 5 for redundancy.

Mini-USB Series B USB Pinout

Just like Mini-USB Series A, Series B used five pins, two for power (1,5) and two for data (2,3). Pin 4 is not connected and serves no purpose.

Summary Tables

Standard USB Pinout & Cable Color Code

Pin Wire Color Function
1 Red V BUS (5V)
2 White Data-
3 Green Data+
4 Black Ground

Mini-USB Type-A Pinout & Cable Color Code

Pin Wire Color Function
1 Red V BUS (5V)
2 White Data-
3 Green Data+
4 Joined to pin 5 ID
5 Black Ground

Mini-USB Type-B Pinout & Cable Color Code

Pin Wire Color Function
1 Red V BUS (5V)
2 White Data-
3 Green Data+
4 Not connected (*) ID
5 Black Ground

Well, it took over a year, but we now have definitive proof that the Lost USB Drive application works! When I launched the Lost USB Drive Experiment in early June of last year, I wasn’t really sure what to expect. I had all but forgotten about the experiment.

So, imagine my surprise when I had this in my inbox this morning:

Dale,

I recently took over Costa Coffee Eastleigh and have found your USB Memory stick, I’m not sure how long it has been here but if you would like to pop in and collect it I will put it to one side.

Thanks

Matthew
Store Manager

Costa Coffee
27-29 Market Street
Eastleigh
SO50 5RG

To be honest, I was a little shocked! But, at the same time, this totally made my day! Just goes to prove that there are some honest people out there and that a little ingenuity can go a long way!

If any of you are in the area of Matthew’s store, go in, congratulate him on his honesty and integrity, and buy the biggest, most expensive coffee on the menu! Way to go, Matthew!

I am in the process of performing some analysis on the posts on Daily Cup of Tech. One of the things that I want to do is a word count and frequency analysis on the entire blog.Now, I could go with good ol’ pen and paper and start counting every single word on the blog. But, that would take me quite a mount of time, not to mention that I would not learn anything in the process.

So, I decided to export the contents of my mySQL database the runs behind the scenes at DCoT to a text file and then download a word and frequency counter. Do you think I could find a word counter that would count all of the words in the file and then count how many times each word appears? No luck.

But, my bad fortune is your lucky day. I decided that since I couldn’t find anything like this, I’d make it myself. So. today I present you with the Daily Cup of Tech Word Counter!

The application is a self contained program that is fully portable to USB devices. You can download the program and the source code if you are interested. The program is written in AutoIt.

Here is a screenshot of my new baby:

Most of the program is self explanatory. You can sort the output alphabetically or by how frequent each word appears. You can also sort in ascending or descending order. You can count the words that you type or paste into the edit box or use a text file.

The delete options may be the only confusion portion. When you are counting words, you need to clean up the rough text a bit. Delete some punctuation, get rid on non-printable letters, or scrub out the non-standard English words. Each of these options selects a different one of these options. Control characters are things like carriage returns and line spacing. Punctuation is your standard punctuation that you will find in most documents. Extended characters are characters that you usually do not see regularly and are often used in some non-English languages.

The Use Spaces option will replace all deleted characters with spaces rather than deleting them. This can modify your outcomes so feel free to experiment.

When you are done counting your words, a complete list of all the words and how often they appeared will be presented in the edit box.

Feel free to play around with this and let me know if you find it to be useful.

EraserU3 technology is a really awesome way to use your USB drive. It provides menus and the ability to install software quickly and easily on your USB drive.

But, (You knew there was one coming, didn’t you!) what if you want to use your USB drive as a simple file transport? Or you work in a locked down environment that will not allow the U3 software to complete its job? Now what?

I found myself in this situation last week when my boss asked me for a USB drive to take some work home with him. I was rather embarrassed when he came back to me thinking that I gave him a drive infected with a virus!

Fortunately, it is a relatively easy process to remove the U3 software. Simply download the U3 uninstaller and run it against your USB drive.

Caution! You will need to move all of your data off the USB drive before running the uninstaller because it will reformat your drive and all of your data will be lost! Also, you will not be able to reinstall the U3 software if you change your mind later!

Server R.I.P.We all know that feeling. Time slows down. It almost feels like you are having an out of body experience. Your stomach gets queasy and you feel like you are going to throw up. And you think to yourself, “This can’t be happening!”

But it is happening. Your server is dead.

But is it really? While it may not boot the way it is, there is still a lot of valuable configurations and data that may be available on the server that you could potentially get to with a bit of perseverance.
Read the rest of the story…

TuxWe are pretty much entirely a Windows shop where we work. And, of course, most of our tools are Windows based. But, when we wanted to get data from our dead servers, we turned to trusty Linux for a hand.

Specifically, what we wanted to do was get data off the dead server without having to make any changes to the server hard drives. This meant that we could not reinstall or change any of the original configurations.

So, the logical choice was to use a bootable CD as it is the quickest solution to the problem. I was ready to fire up either a customized version of BartPE or Ultimate Boot CD for Windows but my summer student, Jeff, thought that a Linux distribution was a good option.

Since Jeff was going to be performing the procedure, I decided that I would let him use what he was most comfortable with. So, Jeff ran to the local computer store, picked up a large USB drive, and prepared to migrate some data.

Jeff decided that he would use KNOPPIX and this was no surprise to me or anyone else who is familiar with this distribution. From their website:

KNOPPIX is a bootable Live system on CD or DVD, consisting of a representative collection of GNU/Linux software, automatic hardware detection, and support for many graphics cards, sound cards, SCSI and USB devices and other peripherals. KNOPPIX can be used as a productive Linux system for the desktop, educational CD, rescue system, or adapted and used as a platform for commercial software product demos. It is not necessary to install anything on a hard disk. Due to on-the-fly decompression, the CD can have up to 2 GB of executable software installed on it (over 8GB on the DVD “Maxi” edition).

This is really an amazing CD and one that every tech should have in their toolbox. Unfortunately, every OS has its limitations and one of the limitations that Jeff discovered is that KNOPPIX couldn’t read the USB drive. So, on to plan B.

Jeff next went to an Ubuntu LiveCD. Most people are familiar with the desktop version of this popular Linux distribution but many people are surprised to learn that the installation CD is also a LiveCD. So, you can boot from it and do almost everything that you could do from a fully installed version.

This allowed Jeff to get on the dead server, access the data on the drives, and migrate it off to the USB device so that it could be used later.

Missing USB DriveWhen I bought my first real computer, it came with a whopping 20 MB hard drive. This nicely held the operating system, my office applications, and all of the data that I required for regular use. I even got a few games on there.

Today, the smallest USB drive that I have will hold 32 MB of data and it is almost considered to be useless because it holds so little data. My regular USB drive that I use for day to day storage is a 4 GB drive with more than enough room to handle several applications, my development environment, and all the documents that I can generate.

And I am not alone in ownership of a USB drive. Everywhere you look, these things are showing up. Most people have at least one, many (like myself) have several.

But, while these devices are extremely convenient and allow you to keep your files with you, how safe is your data on them? What are you doing to keep them safe? I have a few ideas on the subject…
Read the rest of the story…

Mad ScientistI have received a lot of publicity around the Lost USB Drive application. Daily Cup of Tech has been mentioned in Popular Science twice. The story of the lost and found child in Disneyland also gained a lot of attention.

But, there are those who do not believe it works or question how well it would work. I have to be honest, I have not actually tested to see if the application works in a real-world scenario. This is where you come in!

I am looking for one hundred loyal DCoT users who are willing to “lose” a USB drive for me. If you have an old USB drive lying around or you got one as a piece of swag from a conference, I would like you to put the Lost USB drive program on it, register it with DCoT, and then lose it. We will then see how well the program works!

All of the details about registering your drive and a special program that I wrote which will automatically configure your USB drive with the proper settings and also help you write that all important “Get me home!” message are on the official Lost USB Drive Experiment page.

I am very excited about this little experiment because I really do not know what the outcome will be.  Also, because we have such a wide audience that literally covers the globe, I am interested to see which country or city is the most honest/willing to put an unknown USB drive into their computer!

Backup DriveWhen I am working on different solutions for myself or others, one of the biggest requirements is whether or not it is GFG (Good For Grandma) Certified. This is what I was looking for when I was trying to figure out a really easy way for people to back up their data and keep backing up their data. I was aiming for people who don’t have multiple computers or a home network and really don’t have a lot of data to back up.

What I came up with was a USB backup drive. On the drive, I have also attached a digital watch. (More about the watch later!)

The contents of the drive are pretty simple. On the root of the drive, I put an autorun.inf file that automatically starts up the backup process. There is a TrueCrypt volume on the drive that is used for the backup. Once the volume is open, the backup begins. You can use any freeware backup program that you want to copy the data to the encrypted volume. You can get a nice list of the portable ones over at the Portable Freeware Collection. Once the backup completes, it unmounts the TrueCrypt volume and pops up a notice to the user that the backup is done.

Now, what’s with the watch? Well, I found that many people are not too savvy when it comes to remembering to do their backups. I know that they could probably program a reminder into their calendar or schedule a reminder task but this is often more than most people can handle. The watch has a timer on it that goes off each day at the same time. This is the reminder to the user to start their backup.

The other nice thing about the watch is that it is something familiar that many new users will be comfortable with.  And, they do not have to rely on their computer to be running in order to be reminded.

The other really nice thing about this is that your backup goes with you.  So if your office goes up in smoke, you still have your data!

There are a couple of gotchas with this setup, though.

  1. Be sure that you have enough disk space on the USB drive.  This is probably the easiest mistake to make.
  2. Don’t ignore the alarm.  Do the backups and go for coffee.
  3. Don’t forget the password.  Without it, you may as well not do backups.

This is not the best backup solution in the world and it does not fit everyone’s needs.  But if you just have one computer and want to back up a small amount of data, this could be a really good solution for you.

Remote Computer AccessYour Internet connection’s IP address is like your home mailing address. It is the key to getting access to the contents of the remote computer. If you know your home IP address, it gives you the ability to connect to that IP address from any other computer on the Internet and access resources that you have made available.

One of the problems that many people run across is that their IP address changes so even if they memorize their IP address, it may be different when they go to access it remotely. This is the problem that DCoT reader Shep was having:

Dear Tim,

First of all, I’m a big fan. I check in every day. I think the kid rescue story at Disney is great!

Here’s my tech help question. I realize it’s a bit obscure. Okay, it’s very obscure.

I use TightVNC (which I run off my Cruzer using DCoTMenu) to access my networks at home and at my office. My office network has a static IP but my home network does not. If I am away and the dynamic IP at home changes I can’t access the network (as it did last week while we were on vacation).

I realize that the solution to my problem is to get a static IP, or use one of those web services which assigns a “static” IP, or use Himachi, GoToMyPC, or a similar program.

For the sake of argument, let’s say that I’m not going to do any of those things.

My question is this: Is there a way for my home network to broadcast it’s IP on a regular basis (every 6 hours) to an email account or, preferably, upload the IP via FTP to my personal webspace (which is not hosted on my home or office network)?

Thanks.
Shep

Well, Shep, this has proven to be a worthy challenge but I have come up with a solution. I have written an application called External IP that will e-mail you or upload an HTML file to a web server with your IP address information on whatever schedule you like. This way, you will always know your home IP address.

Please be aware that this is a work in progress and there may still be the odd bug lurking in the code.

External IP is a freeware application and everyone is free to use and download the application as they see fit. But, if you find it useful, a donation would be greatly appreciated!

Next Page »