Pages: [1]   Go Down
Author Topic: Phantom Button Presses in Mazzer Espresso Grinder  (Read 2217 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 33
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am embedding an arduino in my Mazzer Major espresso grinder to control the length of espresso bean grinding.

I have it all set up and working, but I'm getting phantom button presses.  In 10 minutes of having it functioning, I had 2 phantom button presses.

Is there any way of adding hardware to the button circuit to filter out noise?  I was thinking maybe a diode between ground and the resistor might help any noise coming from ground.  That said, I'm not sure where the noise comes from, so I'm not sure what I can do to prevent it.

Does anyone have any tips?

Thanks!
Logged

Chicago
Offline Offline
Newbie
*
Karma: 3
Posts: 28
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can you provide a schematic for the button circuit?

So you're getting button presses without actually hitting that button at all? Or is this a debounce issue?
Logged


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

http://www.arduino.cc/en/Tutorial/Button

I used a circuit like described in the link above.  10k ohms pull down resistor and a big switch.

There's more wire than I need between the arduino and the switch, I'm going to trim it, hopefully that will also help.

I'm getting button presses without hitting the button at all.  The second occurrence was at least two minutes from the last real button press.


Logged

Chicago
Offline Offline
Newbie
*
Karma: 3
Posts: 28
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Double check your wiring and make sure that pull-down resistor is connected to gnd and the other end to the pin on the arduino that you're using for reading the state of the button.

Make sure your switch is fully opening when not being pressed. This assumes you have a multi-meter handy so that you can read Ohms. A faulty switch could cause the problems you're seeing.
Logged


Pages: [1]   Go Up
Jump to: