Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Interfacing / Re: Receive data from linear potentiometer? on: March 22, 2010, 07:19:15 am
Hy evtsai.km2

I have sort of got these sensors working.  

If I plug 5v into either right or left pin and then middle pin to analog in on the arduinio  (without connecting anything to ground) then the softpot doesnt burn up, but only about half of the sensor works (gives out a value)

then I plugged a 9v battery to the sensor with the same wireing  and then the whole touch sensor works - but when you touch (for a short while) the sensor at the end where 9v go in, it heats up (just at that position).

So the sensor sort of works like that.
2  Forum 2005-2010 (read only) / Interfacing / Re: Receive data from linear potentiometer? on: February 12, 2010, 01:23:07 pm
Thanks

Ill try that tonight

 smiley
3  Forum 2005-2010 (read only) / Interfacing / Re: Receive data from linear potentiometer? on: February 12, 2010, 11:56:52 am
I havent had  a chance to measure the sofpot but I think I have an idea of what is happening

I plug the softpot to arduino mega  

(http://arduino.cc/en/Main/ArduinoBoardMega)    

  and the analog input (that I plug the wiper collector to can be programmed as an ouput also and therfore give out voltage - it must be that the programming I am using for the arduino board (Standard Firmata for Max Msp)  has the analog input ouputs programmed so that they give out voltage  and therfore burn the wiper
4  Forum 2005-2010 (read only) / Interfacing / Re: Receive data from linear potentiometer? on: February 11, 2010, 10:04:39 am
No. I have never plugged V to the midle (collector)

I might have touched it but I cant remember the pot burning up straight after I did so - It burns up after having been connected for about a minute and half  if plugged pin 1 straigt to 5v and pin 3 to ground

what I meant is that I have tried routing V through low ohm resistors 20 to 50 ohm, and that keeps the pot from burning or overheating, but I get a wrong reading from the sensor

When I  connect the positive and negative leads of an ohmmeter to pin 1 and middle pin of the SoftPot  I get an accurate reading from the softpot  (that is 0 to 10 k if I remember correctly)
5  Forum 2005-2010 (read only) / Interfacing / Re: Receive data from linear potentiometer? on: February 11, 2010, 09:34:31 am
Hi Richard and thank for the reply

like you said "Connecting 5V to the top and bottom of a 10K pot should never burn it out"

This is why I just cant understand why this happens - If you look at the last page of the datasheet you see

Electrical Schematic

PIN 3 (GND)  (LEFT BUS BAR)
PIN 2            (COLLECTOR)  or wiper
PIN 1 (V+)    (RIGHT BUS BAR)


This is exactly how I plug it ( I have also tried plugging it with the V+ and GND reversed (but that gives the same result - only in reverse; that is, only 1/4 of the sensors gives out any reading if I put 5v trough a 20-50 ohm resistors and If I dont have the resistor it overheats and eventually burns.)

P.s  when the sensor starts burning; small burning holes start burning up and getting bigger at the end of the circle on each side (that is on the touch surface; right before electricity comes from or goes to the pins)





6  Forum 2005-2010 (read only) / Interfacing / Re: Receive data from linear potentiometer? on: February 11, 2010, 07:21:11 am
This is the data sheet

http://media.digikey.com/pdf/Data%20Sheets/Spectra%20Symbol/TSP%20Series%20ThinPot.pdf

I bought the circular sensor

-Resistance - Standard: 10k Ohms
7  Forum 2005-2010 (read only) / Interfacing / Re: Receive data from linear potentiometer? on: February 10, 2010, 12:51:13 pm
thanks for the reply┬┤s guys


one question:  should it matter if I connect 5v to what should be connected to ground and connect ground to what should be connected to 5v  ???

Shouldnt that just reverse the pot?

Best regards
8  Forum 2005-2010 (read only) / Interfacing / Re: Receive data from linear potentiometer? on: February 10, 2010, 11:26:06 am
Hi Mike and thanks for the quick reply

I connect the middle (wiper) to analog input 1.  am very sure of this.

when you say rails you mean either 5v input or ground ouput; right?
9  Forum 2005-2010 (read only) / Interfacing / Re: Receive data from linear potentiometer? on: February 10, 2010, 10:56:42 am
Hi

I bought 10 circular sofpots and have already burnt up two of them by connecting like is described here  -   centre to analog input pin, left (with triangle above) connects to 5v and right goes to ground.

I have also tried putting resistors (5-100 ohm) before the 5v go to the softpot but I always get a bad reading out of it  (only about 1/4 of the softpots gives out a reading)

If i put a resistor that is lower than 10 ohm, the sofpots overheats and starts burning/smoking.

I think this is really wierd since I was under the impression that you couldnt burn up these sofpots with 5v

If anyone can spot a solution it would be much appriciated

 smiley-wink
10  Forum 2005-2010 (read only) / Interfacing / Analog inputs overriding each other on: April 05, 2010, 07:34:21 pm
I am using a 6DOF razor  motion sensor http://www.sparkfun.com/commerce/product_info.php?products_id=9431

three pressure sensors http://www.sparkfun.com/commerce/product_info.php?products_id=9376

and three softpots http://www.sparkfun.com/commerce/product_info.php?products_id=8678

and I am connecting all of those to arduino mega analog inputs - this I then connect to Pure Data (the program)

I have no problems when I connect the razor and pressure sensors but when I connect the softpots  and press them, then the other sofpot value outputs all go to 1 (they range from 0 -1) along with the one being pressed - regardless of where they are being pressed (this is a linear potentiometer)

So in other words it seems that the softpot outputs are somehow bleeding over to one another, as well as not giving an accurate (to say the least) output value.

When I only connect one softpot to the arduino it works fine, but with more than one they start to give me said trouble

anyone have any good ideas why this happens.

 :-/
11  Forum 2005-2010 (read only) / Exhibition / Re: Kalman Filtered Nunchuck & Wii Motion Plus on: March 09, 2010, 06:21:14 pm
This is a brilliant

Im am trying to figure out how I can use this with Max Msp

since the Firmata code  seems to be the easiest way to get arduino and Max Msp to talk together I am wondering if this code for the wm+ and nunchuck can somehow be ingrained into the firmata code?

Or is that just silly?

What would be the best way to use wm+, nunchuck, arduino mega and Max Msp together?
Pages: [1]