View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001327 | Microcontrollers, shields, automation, arduino | [All Projects] General | public | 2020-08-27 17:27 | 2022-05-30 19:23 |
Reporter | DigitalMy | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Summary | 0001327: Make door lock system with access control | ||||
Description | Based on arduino UNO contoller board with ethernet shield W5100 Keypad digital panel with RFID (card) reader Mifare 13.56MHz Magnetic door holder 12V Open button | ||||
Tags | No tags attached. | ||||
|
Use Dahua DHI-ASR1101A panel with Wiegand 34/26 protocol (default version is 34 , confirmed by library Wiegand.h) Power 12V DC (same as for Arduino UNO) Pins have 4.2V high level (5.0V tolerant) and 0.0V low level Reader for MIFARE 13.56 MHz cards, also read smartphone NFC signal fine Wiring (connector pinout): (1) Red - 12V power DC - Card reader power (2) Black GND to GND (common controller) (3) Blue - CASE - Card reader protection alarm (default signal from reader is LOW) - connects to Arduino PIN 6 (4) White D1 - DATA1 of Wiegand - connects to Arduino PIN 3 (INT1) (5) Green D0 - DATA0 of Wiegand - connects to Arduino PIN 2 (INT0) (6) Brown - LED - connects to Arduino PIN 7 - with intermadiate resistor 150 Ohm (default signal is HIGH +5.0V , same for non valid read). Use 1.0sec LOW signal after received code for "success" beep (7) Yellow - RS485- (8) Purple - RS485+ |
|
Use "low level activation" relay, connect lock to NC terminal #define LOCK_PIN 4 it works fine default "closed" state of this PIN = HIGH (5.0V) |
|
Attach button (low-level activation = GND) to pin 5 Use PULLUP mode for this pin (default "off" mode is HIGH 5.0V) add 50 Ohm resistor to button it works fine |
|
Arduino Uno with this chip ATmega 328P got some defect in "String" length... In one of those functions I cannot "add" symbol (save char to "buffer") more than length: 323 Decided to remake functions: read data by line - done Removed all global variables of "String" type General problem with this microcontroller: not stable work, especially ethernet functions (using local String variables) Found that wg loop function makes +2200 bytes RAM usage (overflow) wg class added 20 byte only... |
|
Arduino Uno has got issue with 12.0V power: significant overheating AMS1117 On USB 5.0V power there is no any overheat |
|
Before this system there was no-name reader with 7-wire red +12V black GND white DATA0 brown DATA1 green LED g yellow LED y blue Beep and popular controller Z-5R (IronLogic) |
|
Tested Nano version got issue with WG read 0 randomly in idle ... |