Go Down

Topic: Spurious input signals on switch (Read 539 times) previous topic - next topic

garthn

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


garthn

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

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview