This is how I built a terrible but completely functional USB to serial adapter to program hundreds of badges in just a few hours.