Wiegand keypad
Moderators: grovkillen, Stuntteam, TD-er
Wiegand keypad
Hi,
Is it possible to connect this model? If yes wich wire to use?
Can i use the keypad and rifd?
https://a.aliexpress.com/_vaaJol
Is it possible to connect this model? If yes wich wire to use?
Can i use the keypad and rifd?
https://a.aliexpress.com/_vaaJol
Re: Wiegand keypad
I have such a keyboard in use already for serveral years and works great. If you use the same power sourse for both the keyboard and your Arduino devive, you can use the "-(minus)"of the relay on the keyboard PCB.
Re: Wiegand keypad
Hi,
Is this an error, or...
I did a test with RIFD en the keypad, but it looks that it is not working.
Is this an error, or...
I did a test with RIFD en the keypad, but it looks that it is not working.
Code: Select all
44800: RFID : reset bits: 12
55800: RFID : reset bits: 36
63804: RFID : reset bits: 21
64356: WD : Uptime 1 ConnectFailures 0 FreeMem 20184 WiFiStatus WL_CONNECTED ESPeasy internal wifi status: Conn. IP Init
69801: RFID : New Tag: 10 Bits: 26
69802: Domoticz: Sensortype: 20 idx: 4952 values: 10
70304: RFID : Removed Tag
81800: RFID : reset bits: 3
89800: RFID : reset bits: 9
94356: WD : Uptime 2 ConnectFailures 0 FreeMem 19880 WiFiStatus WL_CONNECTED ESPeasy internal wifi status: Conn. IP Init
98800: RFID : reset bits: 12
108800: RFID : reset bits: 40
120800: RFID : reset bits: 6
124356: WD : Uptime 2 ConnectFailures 0 FreeMem 19784 WiFiStatus WL_CONNECTED ESPeasy internal wifi status: Conn. IP Init
154356: WD : Uptime 3 ConnectFailures 0 FreeMem 19704 WiFiStatus WL_CONNECTED ESPeasy internal wifi status: Conn. IP Init
169800: RFID : reset bits: 18
- Attachments
-
- firefox_2021-06-12_21-40-33.jpg (94.41 KiB) Viewed 19825 times
Re: Wiegand keypad
I use the keypad relay, so the donglesare stored in your keypad and if the correct dongle is used, the relay in the keypad is activated. Use that signal for your ESP.
Re: Wiegand keypad
Hello,
anybody any idea? Just did a update to the latest version, ESP_Easy_mega_20211105_normal_ESP8266_4M1M
Is there a way to read out this wiegand?
https://a.aliexpress.com/_vaaJol
anybody any idea? Just did a update to the latest version, ESP_Easy_mega_20211105_normal_ESP8266_4M1M
Is there a way to read out this wiegand?
https://a.aliexpress.com/_vaaJol
Re: Wiegand keypad
It looks like you have some poor connections in your wiring, have you tried using short wiring to check that it actually can work?marktn wrote: ↑01 Dec 2021, 20:27 Hello,
anybody any idea? Just did a update to the latest version, ESP_Easy_mega_20211105_normal_ESP8266_4M1M
Is there a way to read out this wiegand?
https://a.aliexpress.com/_vaaJol
I did a recent fix to this plugin, that hasn't been merged yet, so not included in a release, but you can download from the PR over here (the Binaries.zip file) to see if that resolves your issue.
/Ton (PayPal.me)
Re: Wiegand keypad
Thanks for helping, should i use a this version? ESPEasy_normal_ESP8266_4M1M?Ath wrote: ↑01 Dec 2021, 20:51It looks like you have some poor connections in your wiring, have you tried using short wiring to check that it actually can work?marktn wrote: ↑01 Dec 2021, 20:27 Hello,
anybody any idea? Just did a update to the latest version, ESP_Easy_mega_20211105_normal_ESP8266_4M1M
Is there a way to read out this wiegand?
https://a.aliexpress.com/_vaaJol
I did a recent fix to this plugin, that hasn't been merged yet, so not included in a release, but you can download from the PR over here (the Binaries.zip file) to see if that resolves your issue.
The wiring is 10cm length. Connected to D0 and D1
What new is, D9 and D10 are TX and RX, but i can't select them. Should i also use another pin?
The ESPEasy_normal_ESP8266_4M1M (fix plugin) version gives a 911920: RFID : reset bits: 14
Re: Wiegand keypad
Are you sure you haven't connected some wires the wrong way up? What GPIO's have you connected now, and what is configured on your Hardware page?
/Ton (PayPal.me)
Re: Wiegand keypad
I have checked the wires, connected to D0 and D1.
There is a reaction, in the log. 1459921: RFID : reset bits: 23
Attached some screenshots.
- Attachments
-
- firefox_2021-12-01_21-33-01.jpg (138.63 KiB) Viewed 16216 times
-
- firefox_2021-12-01_21-32-45.jpg (114.05 KiB) Viewed 16216 times
-
- firefox_2021-12-01_21-32-25.jpg (123.78 KiB) Viewed 16216 times
Re: Wiegand keypad
I think GPIO-16/D0 should better not be used unless no other pin is available. You can use GPIO-5/D1 and GPIO-4/D2, and it won't hurt to use 10kOhm pull-up resistors on these pins to define the levels properly.
This page is quite helpful in selecting GPIO pins: https://randomnerdtutorials.com/esp8266 ... nce-gpios/
This page is quite helpful in selecting GPIO pins: https://randomnerdtutorials.com/esp8266 ... nce-gpios/
/Ton (PayPal.me)
Re: Wiegand keypad
I have changed the pins, that gives the same result. How to connect the 10kOhm pull-up resistors, i don not have experience with that.Ath wrote: ↑01 Dec 2021, 21:50 I think GPIO-16/D0 should better not be used unless no other pin is available. You can use GPIO-5/D1 and GPIO-4/D2, and it won't hurt to use 10kOhm pull-up resistors on these pins to define the levels properly.
This page is quite helpful in selecting GPIO pins: https://randomnerdtutorials.com/esp8266 ... nce-gpios/
Re: Wiegand keypad
A pull-up resistor is connected from VCC (usually 3.3V) to the input pin of the ESP, like this: https://learn.sparkfun.com/tutorials/pu ... istors/all
/Ton (PayPal.me)
Re: Wiegand keypad
Problem stays the same.Ath wrote: ↑01 Dec 2021, 22:15 A pull-up resistor is connected from VCC (usually 3.3V) to the input pin of the ESP, like this: https://learn.sparkfun.com/tutorials/pu ... istors/all
I have double checked the cables and resistor. It reads something, but it says reset bits.
Version, ESP_Easy_mega_20211120_normal_ESP8266_4M1M
Code: Select all
91485: RFID : reset bits: 9
92041: WD : Uptime 2 ConnectFailures 0 FreeMem 16080 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
100485: RFID : reset bits: 11
109485: RFID : reset bits: 2
117485: RFID : reset bits: 1
122040: WD : Uptime 2 ConnectFailures 0 FreeMem 15800 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
126484: RFID : reset bits: 7
134485: RFID : reset bits: 1
Re: Wiegand keypad
Silly question perhaps, but you have connected both D0 and D1 of the box to the ESP? And added a separate pull-up resistor to both input pins?
/Ton (PayPal.me)
Re: Wiegand keypad
I have ordered the reader you linked to in the first message, but that will take some time to arrive from China. When it arrives, I'll be able to test this Wiegand plugin myself, currently it feels somewhat like sailing in the dark, blind-folded, with one hand chained on my back, trying to control my surfboard...
/Ton (PayPal.me)
Re: Wiegand keypad
Thanks!! No problem to wait.Ath wrote: ↑03 Dec 2021, 20:55 I have ordered the reader you linked to in the first message, but that will take some time to arrive from China. When it arrives, I'll be able to test this Wiegand plugin myself, currently it feels somewhat like sailing in the dark, blind-folded, with one hand chained on my back, trying to control my surfboard...
Re: Wiegand keypad
Any update?Ath wrote: ↑03 Dec 2021, 20:55 I have ordered the reader you linked to in the first message, but that will take some time to arrive from China. When it arrives, I'll be able to test this Wiegand plugin myself, currently it feels somewhat like sailing in the dark, blind-folded, with one hand chained on my back, trying to control my surfboard...
Regards
Mark
Re: Wiegand keypad
I have done a couple of enhancements and fixes to P008, so please test a recent build of ESPEasy, or possibly even this still unmerged enhancement
/Ton (PayPal.me)
Re: Wiegand keypad
Thanks, I will do that! I will let you now how it worked out.
Re: Wiegand keypad
Hi,Ath wrote: ↑28 Mar 2023, 22:25I have done a couple of enhancements and fixes to P008, so please test a recent build of ESPEasy, or possibly even this still unmerged enhancement
Still the same,
1051540: RFID : reset bits: 12
1060540: RFID : reset bits: 31
Version : 20230306 - Mega
The other version, i don't understand what do you mean?
Did you test it with the same hardware?
Or do you suggest other hardware/keypad?
Regards,
Mark
Re: Wiegand keypad
From the Actions run you can download the build (either get the zip for ESP32 or ESP8266, whatever your ESP is), though you will need a (free) Github account, and logged in from your browser, to be able to download the files.marktn wrote: ↑01 Apr 2023, 17:53Version : 20230306 - MegaI have done a couple of enhancements and fixes to P008, so please test a recent build of ESPEasy, or possibly even this still unmerged enhancement
The other version, i don't understand what do you mean?
Then extract the desired .bin file and update your ESP for testing.
/Ton (PayPal.me)
Re: Wiegand keypad
I have ordered exactly that unit and tested with it, but that was some time ago, and don't remember the exact details, other than it working, AFAIR.
/Ton (PayPal.me)
Re: Wiegand keypad
Okay. Strange.. I will look for another solution. Looks like this is not going to work.
Re: Wiegand keypad
I'm pretty sure I used a level converter to bring down the 5V used by the keypad to 3.3V, not sure if you also used one, and also used quite short wiring (wiring included with the unit), that might also make a difference in the receiving signal quality.
/Ton (PayPal.me)
Re: Wiegand keypad
The keypad itself is 12 volt. Separate powered.
You mean the d0 and d1 of the keypad is 5volt, and should be 3,3v ?
- Attachments
-
- Screenshot_20230401_212022_AliExpress.jpg (79.11 KiB) Viewed 9193 times
Re: Wiegand keypad
I think I powered it at 5V, but would have to re-connect as I shelved it some months ago.
Will take time (again) as I'm starting in a new job this Monday, so not sure how much time I'll have available, coming weeks.
Will take time (again) as I'm starting in a new job this Monday, so not sure how much time I'll have available, coming weeks.
/Ton (PayPal.me)
-
- Normal user
- Posts: 25
- Joined: 11 May 2020, 17:01
Re: Wiegand keypad
I just bought a couple of these for simple door openers, so stuck a scope on those outputs.
The signals are TTL (5V) inverted logic. You need to knock them down to 3.3 volts either using level converters or resistive dividers.
Re: Wiegand keypad
Thanks! Will order and test that.
-
- Normal user
- Posts: 25
- Joined: 11 May 2020, 17:01
Re: Wiegand keypad
Putting my money where my mouth is:
. .
I decided to test this, so hooked up a Wemos D1 using resistive dividers (2K2/3K3) on the data lines, and it worked, reading tag IDs correctly.
.
Another divider was used to scale down the relay switched 12V output, and this was connected to GPIO12 for future use.
.
. .
I decided to test this, so hooked up a Wemos D1 using resistive dividers (2K2/3K3) on the data lines, and it worked, reading tag IDs correctly.
.
Another divider was used to scale down the relay switched 12V output, and this was connected to GPIO12 for future use.
.
Re: Wiegand keypad
That backward compatibility mode checkbox is supposed to be turned off, as the plugin used to have the GPIO pins configured incorrectly before, resulting in totally different card ID's reported. Please verify if the reported numbers match with your RFID cards for easier administration (so ESPEasy reports the actual tag number instead of something completely different). If it works correctly with this option enabled, that's also just fine
/Ton (PayPal.me)
-
- Normal user
- Posts: 25
- Joined: 11 May 2020, 17:01
-
- Normal user
- Posts: 25
- Joined: 11 May 2020, 17:01
Re: Wiegand keypad
On the other side of the wall is the PSU, which includes a 12v 1.2 Ah battery for backup and a big power transistor to energize a door strike.
The small board under the Wemos houses the TTL-CMOS scaling resistors and the through-wall connections.
Haven't worked out what to use it for within esp-easy/Domoticz yet, but otherwise its working.
-
- Normal user
- Posts: 25
- Joined: 11 May 2020, 17:01
Re: Wiegand keypad
Schematic of a second working device, this time using an esp-32.
.Who is online
Users browsing this forum: Google [Bot] and 1 guest