Hello
i bought hall sensor on sparkfun webshop :
http://www.sparkfun.com/commerce/produc … ts_id=9312
I can’t use it as i use another one us 5881…
HOw can i use the sparkfun one easily to make an interrupt on atmega8?
Thanks…
Hello
i bought hall sensor on sparkfun webshop :
http://www.sparkfun.com/commerce/produc … ts_id=9312
I can’t use it as i use another one us 5881…
HOw can i use the sparkfun one easily to make an interrupt on atmega8?
Thanks…
Connect the ATS177 to the Atmega8's external interrupt pin?megazed:
Helloi bought hall sensor on sparkfun webshop :
http://www.sparkfun.com/commerce/produc … ts_id=9312
I can’t use it as i use another one us 5881…
HOw can i use the sparkfun one easily to make an interrupt on atmega8?
Thanks…
Yes
It’s what i’m trying to do.
I expect from him a low level when magnet come near.
In my case, when i approach magnet, there is a lot of interrupt (over than 100 per second)
With other : one passage = 1 interrupt;
What’s the problem??
megazed:
YesIt’s what i’m trying to do.
I expect from him a low level when magnet come near.
In my case, when i approach magnet, there is a lot of interrupt (over than 100 per second)
With other : one passage = 1 interrupt;
What’s the problem??
Assuming you have a pull-up resistor in place…
Like mechanical switches, you may need to de-bounce as on the fringe of the field, it will have uncertainty. There are probably application notes for the chip.
Yes it’s maybe bouncing