Author Topic: making sensor out of pot  (Read 1918 times)

0 Members and 1 Guest are viewing this topic.

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
making sensor out of pot
« on: April 19, 2008, 06:30:55 PM »
Hello, i am going to try to make a rotory sensor using a 1k potentiometer.  I want to have: ground, 5v, and signal.  Being that there are three terminals i'm not sure how to hook it up.   ???i know its really simple but i don't want to fry something

Bane

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: making sensor out of pot
« Reply #1 on: April 19, 2008, 06:41:15 PM »
oh never mind, found it
should have looked before i posted :-[


Offline JesseWelling

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 707
  • Helpful? 0
  • Only You Can Build A Robot!
Re: making sensor out of pot
« Reply #2 on: April 20, 2008, 01:33:27 AM »
Kudos on self education  ;)
What exactly where you making by the way? A radial position sensor of some sort?
« Last Edit: April 20, 2008, 01:34:25 AM by JesseWelling »

Offline BANETopic starter

  • Supreme Robot
  • *****
  • Posts: 639
  • Helpful? 4
  • E=roboticsC^2
Re: making sensor out of pot
« Reply #3 on: April 20, 2008, 05:53:18 AM »
I wanted to make the pot control a servo proportionally and just experiment around with my micro controller. :P

However, I was using a 1k pot from radioshack last night and the values aren't exactly linear.  It was like the values stepped up then down as I rotated it in one direction continuously.   ??? ???  (it said linear on the package)  Maybe i fried the thing in a previous experiment :D

bane

Offline JesseWelling

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 707
  • Helpful? 0
  • Only You Can Build A Robot!
Re: making sensor out of pot
« Reply #4 on: April 20, 2008, 08:59:32 AM »
hmmm sounds like it's linear over 180 degrees maybe? I bet if you graphed voltage as a function of angle with a constant turn rate it would look sinusoidal...