Hall sensor A1302 (http://www.allegromicro.com/~/Media/Fil ... sheet.ashx). Datasheet is attached.
Magnet (http://www.tme.eu/en/katalog/?idp=1&sea ... rameters=1) is type neodymium, Body dimensions Ø8 x 15mm, Material NdFeB, Residual magnetism 1150mT.
I tested the above components and they were working perfect. Magnet was felt from about 40mm.
I discovered something wrong, the Hi Hat pedal input jack (J1 in "input sockets.pdf") had a mistake, wires going to pin 1 and 5 of pads connector was inverted.
So I made the correction and test again. This time happened what must not happened, I connected the hall sensor wrong, that mean with pin 1 (VCC) to GND or in another wrong way, I do not remember.
Now I can not make the system to work again.
I bought another hall sensor, and nothing.
Is possible to damage something?
How to test if everything is well with ATMEGA?
Please help me to debug the results of my lack of attention.
I measured the tensions on Hi Hat pedal female input jack jack (J1):
- sleeve - tip voltage is +5 V (this is VCC connection for sensor)
- sleeve - ring voltage is +1,63 V (this is VOUT coonection for sensor)
After connecting hall sensor:
- VCC is 4,25 V
- VOUT is 0,68 V