3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Simple & Cheap Analog to Digital converter

Simple & Cheap Analog to Digital converter
«
  • Imagen019.jpg
  • Imagen020.jpg
  • Imagen021.jpg
  • Imagen022.jpg
  • Imagen023.jpg
  • Imagen024.jpg
  • Imagen028.jpg
  • Imagen029.jpg
  • Imagen030.jpg
  • Imagen031.jpg
  • last photo ←
»
From the times were ADC were expensive and rare, comes a hardware-software solution for data acquisition for PCs. Based on the old Joystick port from the IBM-compatible, a technique of triggering a monostable multivibrator a resistive transducer (thermistor, photocell, strain gauge, etc) and then counting how much cycles it passes before the output of the multivibrator goes high is quite simple to implement on most PC platforms and on most languages. A VisualBasic and Qbasic sample files are shown.
 
Remove these adsRemove these ads by Signing Up
 

Step 1The joystick port

The joystick port
For years many home IBM compatible PCs came with a Joystick port that had X axis, Y axis, A & B buttons signal pins. The small DB-15 connector can be accessed at address 200h & 201h. The joystick itself was just two potenciometers and two buttons. Inside the motherboard of the PC, two retriggerable monostable multivibrators (RMM for short) with fixed capacitors and IN/OUT pins were located. The RC time constant was set by the potenciometers and the capacitors. To start the signal conversion, you would make a WRITE to port address 200h and then start counting until you get a bit HIGH by doing a READ to port address 200h. This could be implemented in any language (basic, pascal, c).
« Previous StepDownload PDFView All StepsNext Step »
1 comment
Jan 9, 2010. 8:38 AMBiotele says:
I enjoy finding simple circuits. Nowadays, you can find a DAC in about any microprocessor. But back in the '90s, this would have been an elegant solution. Try measuring skin resistance and repackage this instructable as a computer based lie detector. You will get huge hits. Very few people can understand analogue engineering these days.

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!
24
Followers
7
Author:unknownpocketnerd