Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cabling issue? #95

Open
xxbyxx opened this issue Oct 14, 2024 · 5 comments
Open

Cabling issue? #95

xxbyxx opened this issue Oct 14, 2024 · 5 comments

Comments

@xxbyxx
Copy link

xxbyxx commented Oct 14, 2024

Hi,

some days ago I changed position of the ESP32. Forehand it was directly attached to the sensor, but outside. Since I was afraid about winter weather conditions, I moved it to the switchboard cabinet. Therfore I used an existing in-wall ethernet cable to connect sensor and ESP32. Cable distance is approx. 15m.

Since that change I experienced several issues. E.g. sensor triggers ring via MQTT if I close motor driven covers randomly or sometimes there is not any touch sensitivity.
The issues does not occur if "fingerprintDoorbellForkMini/ignoreTouchRing" is on! So it might has to do something with the touchring?

Did anybody experienced comparable issues and might come with a hint? Do you think cable distance is to long or is ist more likley that there is any EMS disturbance coming from 230V cables next to the ethernet cable?

KR
Florian

@geronet1
Copy link

geronet1 commented Oct 14, 2024 via email

@xxbyxx
Copy link
Author

xxbyxx commented Oct 14, 2024

Thanks mate.
Unfourtunatelly I am not familiar to that interfaces. Is it a connector on both sites which makes the communication more robust to interferences?
Can you post a link to the right components? I looked at google but not quite sure what to order…
Is it plug and play then?
Thanks in advance

@geronet1
Copy link

Because i want to extend the distance between the sensor and the ESP32 as well to around six meters, we first must check if the serial stream of the sensor is full oder half-duplex. If it is only half-duplex, we need only two wires for tx and rx (and GND), one for the finger detection signal and one for the power supply.

If the power supply voltage is 5 V, we must use some sort of voltage regulator to get 3.3 V for the sensor, the rx line should be connected to the interface ic over a voltage divider.

Important is the ability of autodirection-control, look at the circuit on page 7:
https://www.ti.com/lit/an/slla574/slla574.pdf?ts=1728906165655&ref_url=https%253A%252F%252Fwww.ti.com%252Flit%252FSLLA574

Or from Maxim with the MAX13487:
https://www.analog.com/media/en/technical-documentation/data-sheets/MAX13487E-MAX13488E.pdf

I will make a test setup in the next days and will post a message here if it works.

@geronet1
Copy link

One question: Which issues do you get with the long cable? Only touch ring problems? Any communication issues?
If possible, get as much distance as possible between the signal cable and any 230V cables.

@xxbyxx
Copy link
Author

xxbyxx commented Oct 15, 2024

Hi, thanks a lot for your explanation. A documentation of your test setup would be highly appreciated!
I looked for a datasheet/manual of R503 and found something here: https://download.mikroe.com/documents/datasheets/R503_datasheet.pdf

As I see it, the sensor uses semiduplex asychronism serial communication with a power supply of 3.3V - but please be aware that I am really not an expert in that field!

I have the following issues:

  • Ghost ring (esp. if I close motor-driven window covers but also sometimes there is a re-trigger after a fingerprint match was found)
  • Bad detection of any sensor input (randomly w/o any pattern)

So far, these issues disapear when I disable touchring. However, ring sensitivity is to low in that case so that is not a proper solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants