Pages: [1]   Go Down
Author Topic: Spurious input signals on switch  (Read 522 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 55
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

Got my first Due yesterday - I have tried both the internal resistor and pull up / pull down external 10k resistor.  I get an occasional read when the switch is open (but both internal and one of the 10k methods are quite bad - the other 10k method seemed to be working a lot better but also not 100%).

On a Uno it is rock solid with the same cable.

Any ideas?

I have 3.3v going to 10k, 10k going to pin 12 and gnd.

Thanks
Garth

Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 55
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Seems to have been noise - perhaps the cable was lying too close to the stepper driver. It works fine with the internal resistor if tried standalone
Logged

Pages: [1]   Go Up
Jump to: