2d8959d7dfa0ba37b5989b63a2208ca60ecf8191
Board-dat/NID/NID1020-DAT/NID1020-DAT.md
| ... | ... | @@ -10,25 +10,30 @@ |
| 10 | 10 | |
| 11 | 11 | |
| 12 | 12 | |
| 13 | -## Notice: |
|
| 13 | +## Notice about the distance: |
|
| 14 | 14 | |
| 15 | 15 | **Notice demo video shows the BEST ideal setup**, different setup can not get the same good result. Read more details in our wiki instructions. |
| 16 | 16 | |
| 17 | -**Please ONLY use with high quality cards**, if you use other cards, it may not work as expected distance. |
|
| 17 | +- **Please ONLY use with high quality cards**, if you use other cards, it may not work as expected distance. |
|
| 18 | +- only large and high quality card, not key fab tag (10~20CM), can get the best distance. |
|
| 19 | +- MUST use pure power supply, preferrable battery, or linear regulator output (not DCDC), to avoid interferences. |
|
| 20 | + |
|
| 21 | + |
|
| 22 | + |
|
| 18 | 23 | |
| 19 | 24 | ## pin definitions |
| 20 | 25 | |
| 21 | -| pin | name | note | |
|
| 22 | -| --- | -------------------------------------------------------------- | -------------------- | |
|
| 23 | -| 1 | antenna 1 | **MUST CONNECT** | |
|
| 24 | -| 2 | antenna 2 | **MUST CONNECT** | |
|
| 25 | -| 3 | high-level election serial port, low-level selection of Wigan, | **THIS MUST SELECT** | |
|
| 26 | -| 4 | buzzer output, no card low, a card output 2.7k square wave | | |
|
| 27 | -| 5 | Serial TX output or Wigan 26 data D1 | data out | |
|
| 28 | -| 6 | Wigan 26 data D0 | | |
|
| 29 | -| 7 | reset terminal, active low to repeat reading | | |
|
| 30 | -| 8 | ground | **MUST CONNECT** | |
|
| 31 | -| 9 | power supply | **MUST CONNECT** | |
|
| 26 | +| pin | name | note | |
|
| 27 | +| --- | ------------------------------------------------------------------------ | -------------------- | |
|
| 28 | +| 1 | antenna 1 | **MUST CONNECT** | |
|
| 29 | +| 2 | antenna 2 | **MUST CONNECT** | |
|
| 30 | +| 3 | high-level election serial port, low-level selection of [[Wiegand-dat]], | **THIS MUST SELECT** | |
|
| 31 | +| 4 | buzzer output, no card low, a card output 2.7k square wave | | |
|
| 32 | +| 5 | Serial TX output or Wigan 26 data D1 | data out | |
|
| 33 | +| 6 | Wigan 26 data D0 | | |
|
| 34 | +| 7 | reset terminal, active low to repeat reading | | |
|
| 35 | +| 8 | ground | **MUST CONNECT** | |
|
| 36 | +| 9 | power supply = 3.3V-6V | **MUST CONNECT** | |
|
| 32 | 37 | |
| 33 | 38 | |
| 34 | 39 | - pin 1/2 antenna |
| ... | ... | @@ -36,7 +41,7 @@ |
| 36 | 41 | - pin 5 tx output data |
| 37 | 42 | - pin 8/9 power supply |
| 38 | 43 | |
| 39 | - |
|
| 44 | +also support [[Wiegand-26-dat]] by set pin 3 |
|
| 40 | 45 | |
| 41 | 46 | ## read info |
| 42 | 47 | |
| ... | ... | @@ -69,6 +74,7 @@ |
| 69 | 74 | - https://w.electrodragon.com/w/Category:EL125 |
| 70 | 75 | - or Arduino demo code here: https://github.com/Edragon/arduino-main2/tree/main/0-BSP/NID/NID1020-EL-125 |
| 71 | 76 | |
| 77 | +- [[atmega-serial-dat.c]] |
|
| 72 | 78 | |
| 73 | 79 | ## demo video |
| 74 | 80 |
Network-dat/RFID-dat/rfid-dat.md
| ... | ... | @@ -24,6 +24,13 @@ readers [[USB-dat]] based - [[NID1024-dat]] |
| 24 | 24 | |
| 25 | 25 | |
| 26 | 26 | |
| 27 | +## interface types |
|
| 28 | + |
|
| 29 | +- [[EM4100]] - [[TK4100]] - [[4001]] |
|
| 30 | + |
|
| 31 | +- [[EM4305]] |
|
| 32 | + |
|
| 33 | + |
|
| 27 | 34 | |
| 28 | 35 | ## ref |
| 29 | 36 |
Network-dat/RFID-dat/wiegand-dat/Wiegand-26-dat/Wiegand-26-dat.md
| ... | ... | @@ -0,0 +1,96 @@ |
| 1 | + |
|
| 2 | +# Wiegand-26-dat |
|
| 3 | + |
|
| 4 | +- [[wiegand-dat]] [[Wiegand-26-dat]] - [[Wiegand-34-dat]] - [[Wiegand-37-dat]] |
|
| 5 | + |
|
| 6 | +**Wiegand-26** is a **widely used RFID access-control data format**, not a wireless protocol. |
|
| 7 | +It defines **how card data is encoded into 26 bits** and **transmitted from a reader to a controller**. |
|
| 8 | + |
|
| 9 | +> Correct name: **Wiegand-26** |
|
| 10 | +> Common misspelling: *Wigan-26* |
|
| 11 | + |
|
| 12 | +--- |
|
| 13 | + |
|
| 14 | +## What Does Wiegand-26 Do? |
|
| 15 | +It specifies the **bit structure and wiring method** used to send an RFID card’s ID from: |
|
| 16 | +- **RFID reader → Access controller** |
|
| 17 | + |
|
| 18 | +It does **NOT** define: |
|
| 19 | +- RF frequency (125 kHz / 13.56 MHz) |
|
| 20 | +- Card chip type |
|
| 21 | +- Encryption method |
|
| 22 | + |
|
| 23 | +--- |
|
| 24 | + |
|
| 25 | +## Wiegand-26 Bit Structure |
|
| 26 | +Total: **26 bits** |
|
| 27 | + |
|
| 28 | +| Bit Position | Purpose | |
|
| 29 | +| ------------ | --------------------------- | |
|
| 30 | +| Bit 1 | Even parity (first 12 bits) | |
|
| 31 | +| Bits 2–9 | Facility Code (8 bits) | |
|
| 32 | +| Bits 10–25 | Card Number (16 bits) | |
|
| 33 | +| Bit 26 | Odd parity (last 12 bits) | |
|
| 34 | + |
|
| 35 | +### Capacity |
|
| 36 | +- Facility codes: **0–255** |
|
| 37 | +- Card numbers: **0–65,535** |
|
| 38 | + |
|
| 39 | +--- |
|
| 40 | + |
|
| 41 | +## Electrical Interface |
|
| 42 | +- **Two data lines**: |
|
| 43 | + - `DATA0` → pulse = logic 0 |
|
| 44 | + - `DATA1` → pulse = logic 1 |
|
| 45 | +- **Plus**: |
|
| 46 | + - GND |
|
| 47 | + - Power (usually 5–12 V) |
|
| 48 | + |
|
| 49 | +No clock line — timing is pulse-based. |
|
| 50 | + |
|
| 51 | +--- |
|
| 52 | + |
|
| 53 | +## Typical Use Cases |
|
| 54 | +- Door access control |
|
| 55 | +- Time & attendance systems |
|
| 56 | +- Parking gates |
|
| 57 | +- Elevators |
|
| 58 | + |
|
| 59 | +Very common in: |
|
| 60 | +- 125 kHz proximity cards |
|
| 61 | +- Low-cost access systems |
|
| 62 | + |
|
| 63 | +--- |
|
| 64 | + |
|
| 65 | +## Advantages |
|
| 66 | +- Simple |
|
| 67 | +- Very widely supported |
|
| 68 | +- Easy to integrate with controllers |
|
| 69 | + |
|
| 70 | +--- |
|
| 71 | + |
|
| 72 | +## Limitations ❌ |
|
| 73 | +- No encryption |
|
| 74 | +- Card ID is transmitted in plain form |
|
| 75 | +- Vulnerable to cloning |
|
| 76 | +- Short cable length (typically < 150 m) |
|
| 77 | + |
|
| 78 | +--- |
|
| 79 | + |
|
| 80 | +## Comparison with Other Formats |
|
| 81 | +| Format | Bits | Security | Notes | |
|
| 82 | +| ---------- | ------------ | -------- | ------------------ | |
|
| 83 | +| Wiegand-26 | 26 | Low | Most common legacy | |
|
| 84 | +| Wiegand-34 | 34 | Low | Larger card ID | |
|
| 85 | +| Wiegand-37 | 37 | Low | Used by HID | |
|
| 86 | +| OSDP | Packet-based | High | Encrypted, RS-485 | |
|
| 87 | + |
|
| 88 | +--- |
|
| 89 | + |
|
| 90 | +## Important Note |
|
| 91 | +**Wiegand-26 is a data format, not RFID itself.** |
|
| 92 | +You can have: |
|
| 93 | +- 125 kHz + Wiegand-26 |
|
| 94 | +- 13.56 MHz + Wiegand-26 |
|
| 95 | + |
|
| 96 | +They are independent layers. |
|
| ... | ... | \ No newline at end of file |
Network-dat/RFID-dat/wiegand-dat/wiegand-dat.md
| ... | ... | @@ -1,6 +1,9 @@ |
| 1 | 1 | |
| 2 | 2 | # wiegand-dat |
| 3 | 3 | |
| 4 | +- [[wiegand-dat]] [[Wiegand-26-dat]] - [[Wiegand-34-dat]] - [[Wiegand-37-dat]] |
|
| 5 | + |
|
| 6 | + |
|
| 4 | 7 | A **Wiegand device** typically refers to a component in an access control system that uses the **Wiegand interface** to communicate. This interface is a de facto standard for transmitting data from a card reader (like those for ID badges) to an access control panel. |
| 5 | 8 | |
| 6 | 9 | Key characteristics: |
code-dat/atmega-serial-dat/atmega-serial-dat.c
| ... | ... | @@ -0,0 +1,49 @@ |
| 1 | + |
|
| 2 | +# atmega-serial-dat |
|
| 3 | + |
|
| 4 | +使用ARV MEGA88单片机,串口中断接收卡号例程序 |
|
| 5 | + |
|
| 6 | + |
|
| 7 | +void Init_Uart (void) // 初始化波特率, 7.3728M晶振, 9600 8 N 1 |
|
| 8 | +{ |
|
| 9 | + UCSR0B = 0x00; |
|
| 10 | + UCSR0A = 0x00; |
|
| 11 | + UCSR0C = 0x06; |
|
| 12 | + UBRR0L = 0x26; |
|
| 13 | + UBRR0H = 0x00; |
|
| 14 | + UCSR0B = 0x90; |
|
| 15 | +} |
|
| 16 | + |
|
| 17 | + |
|
| 18 | + |
|
| 19 | +#pragma vector = USART_RX_vect //串口中断 接收卡号。 |
|
| 20 | +__interrupt void Usart_Rxc(void) |
|
| 21 | +{ |
|
| 22 | + char Rx_Char; |
|
| 23 | + Rx_Char = UDR0; |
|
| 24 | + if(Rx_Char == 0X02) Rx_Length = 0; //收到数据头,接收计数从0开始 |
|
| 25 | + Rx[Rx_Length] = Rx_Char; |
|
| 26 | + Rx_Length ++; |
|
| 27 | + if (Rx_Char == 0X03 ) //收到数据尾 |
|
| 28 | + { |
|
| 29 | + Comm_Start = 1; //数据接收完成标志位 |
|
| 30 | + cbi(UCSR0B,RXEN0); //暂时关闭串口 |
|
| 31 | + } |
|
| 32 | +} |
|
| 33 | + |
|
| 34 | + |
|
| 35 | + |
|
| 36 | +void main (void) |
|
| 37 | +{ |
|
| 38 | + while(1) |
|
| 39 | + { |
|
| 40 | + if (Comm_Start == 1) //主程序判断 如果收到完整卡号 |
|
| 41 | + { |
|
| 42 | + Comm_Start = 0; |
|
| 43 | + sbi(UCSR0B,RXEN0); //打开串口接收 |
|
| 44 | + LED_ON; |
|
| 45 | + } |
|
| 46 | + } |
|
| 47 | +} |
|
| 48 | + |
|
| 49 | + |
|
| ... | ... | \ No newline at end of file |
fab-dat/fab-standard-dat/ISO9001-dat/ISO9001-dat.md
| ... | ... | @@ -0,0 +1,90 @@ |
| 1 | + |
|
| 2 | +# ISO9001-dat |
|
| 3 | + |
|
| 4 | +**ISO 9001** is an **international standard for Quality Management Systems (QMS)** issued by the **International Organization for Standardization (ISO)**. |
|
| 5 | +It defines how an organization should **manage processes to consistently meet customer and regulatory requirements and continually improve**. |
|
| 6 | + |
|
| 7 | +--- |
|
| 8 | + |
|
| 9 | +## One-Sentence Explanation |
|
| 10 | +> **ISO 9001 is a standardized way to manage work so results are consistent, traceable, and continuously improving.** |
|
| 11 | + |
|
| 12 | +--- |
|
| 13 | + |
|
| 14 | +## What Does ISO 9001 Focus On? |
|
| 15 | +ISO 9001 is **not about the product itself**, but about **how work is managed**. |
|
| 16 | + |
|
| 17 | +Core principles include: |
|
| 18 | +1. **Customer focus** |
|
| 19 | +2. **Process-based management** |
|
| 20 | +3. **Continuous improvement (PDCA cycle)** |
|
| 21 | +4. **Risk-based thinking** |
|
| 22 | +5. **Evidence-based decision making** |
|
| 23 | + |
|
| 24 | +--- |
|
| 25 | + |
|
| 26 | +## What Does ISO 9001 Require? |
|
| 27 | +An organization must establish and operate a documented **Quality Management System**, typically covering: |
|
| 28 | + |
|
| 29 | +- Documented procedures and SOPs |
|
| 30 | +- Quality objectives and performance metrics |
|
| 31 | +- Supplier and material control |
|
| 32 | +- Process control (production or service) |
|
| 33 | +- Nonconformance handling & corrective actions |
|
| 34 | +- Internal audits & management review |
|
| 35 | +- Customer feedback and complaint handling |
|
| 36 | + |
|
| 37 | +> ISO 9001 does **not** tell you *how* to produce |
|
| 38 | +> It requires that your processes are **defined, controlled, recorded, and improved** |
|
| 39 | + |
|
| 40 | +--- |
|
| 41 | + |
|
| 42 | +## Who Can Use ISO 9001? |
|
| 43 | +ISO 9001 is applicable to **any organization**, regardless of size or industry: |
|
| 44 | + |
|
| 45 | +- Manufacturing |
|
| 46 | +- Trading & import/export |
|
| 47 | +- E-commerce |
|
| 48 | +- Software / IT |
|
| 49 | +- Engineering, design, consulting |
|
| 50 | +- Small businesses and startups |
|
| 51 | + |
|
| 52 | +--- |
|
| 53 | + |
|
| 54 | +## Benefits of ISO 9001 Certification |
|
| 55 | +### External Benefits |
|
| 56 | +- ISO 9001 certificate (internationally recognized) |
|
| 57 | +- Increased customer trust |
|
| 58 | +- Often required for bidding and supplier qualification |
|
| 59 | + |
|
| 60 | +### Internal Benefits |
|
| 61 | +- Clear workflows and responsibilities |
|
| 62 | +- Reduced errors and rework |
|
| 63 | +- Easier onboarding of new staff |
|
| 64 | +- Less dependence on individuals, more on systems |
|
| 65 | + |
|
| 66 | +--- |
|
| 67 | + |
|
| 68 | +## Common Misunderstandings ❌ |
|
| 69 | +- ❌ ISO 9001 guarantees high product quality |
|
| 70 | + ✔ It guarantees a **qualified management system** |
|
| 71 | +- ❌ Only large companies need it |
|
| 72 | + ✔ Small companies benefit even more |
|
| 73 | +- ❌ Certification is everything |
|
| 74 | + ✔ Real value comes from actual implementation |
|
| 75 | + |
|
| 76 | +--- |
|
| 77 | + |
|
| 78 | +## Quick Summary Table |
|
| 79 | +| Item | ISO 9001 | |
|
| 80 | +| ------------- | ---------------------------------- | |
|
| 81 | +| Type | Quality Management System Standard | |
|
| 82 | +| Focus | Management processes | |
|
| 83 | +| Certification | Yes | |
|
| 84 | +| Mandatory | No (voluntary) | |
|
| 85 | +| Applicable To | All industries | |
|
| 86 | + |
|
| 87 | + |
|
| 88 | +## ref |
|
| 89 | + |
|
| 90 | +- [[fab-standard-dat]] |
|
| ... | ... | \ No newline at end of file |
fab-dat/fab-standard-dat/fab-standard-dat.md
| ... | ... | @@ -0,0 +1,4 @@ |
| 1 | + |
|
| 2 | +# fab-standard-dat |
|
| 3 | + |
|
| 4 | +- [[ISO9001-dat]] |
|
| ... | ... | \ No newline at end of file |