Pages: [1]   Go Down
Author Topic: Some Digital pins jumpy  (Read 556 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I can get a simple 127 off value and a 0 on value for pin 0 2 and 12 on my arduino and it works smooth. the others however jump when they are not pressed. why is this? I am just using simple switches and force resister inputs. Please help, oh and i'm using the black widow, with the wireless, although i am just using the usb to connect
« Last Edit: June 11, 2010, 08:54:59 am by Somenutter » Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26488
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What is a "simple 127 off value" ?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sorry, i run the arduino through JunXion, it turns the input into midi data. I suppose i mean just on and off. JunXion translates it to those values. So i get a jumpy on off values on the other pins. 0 2 and 12 work fine and are completely stable.
« Last Edit: June 11, 2010, 11:36:13 am by Somenutter » Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26488
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
the others however jump when they are not pressed

What are they connected to?

Do they have pullups or pulldowns?
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

i connect them straight to force resistors, all those start at 127 and then i apply force and the increased resistance pulls it down to zero. I connect them to the ground
The other switches are off an old electric organ. I ripped the bass pedals off and they simple complete the circuit when pressed. i have the connected to the 5V through to the digital pins.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17301
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
straight to force resistors

Well as old as I am and with decades of working in electronics that is a new term for me. Did you make it up or is it a word used in some specialty area?

If you really want help you need to post a schematic and any code you are using, otherwise words like force resistors just get in the way.

Lefty
Logged

Nottingham, UK
Offline Offline
Jr. Member
**
Karma: 0
Posts: 90
Wait! Don't touch that wire...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I suspect the OP means Force Sensitive Resistors, such as:

http://www.oomlout.co.uk/force-sensitive-resistor-fsr-interlink-402-p-205.html

If that is the case, then I suspect that he should be reading them using analog ports, and using a voltage divider type setup.
Logged

Pages: [1]   Go Up
Jump to: