Skip to content
README.md 2.17 KiB
Newer Older
Pixi's avatar
Pixi committed
<p align="center" >
Pixi's avatar
Pixi committed
<img src="./readme/ponycard2.png" alt="Logo" width="400">
Pixi's avatar
Pixi committed
</p>
<p align="center">
<img src="./readme/wrs4i2o.png" alt="Logo" width="200" align="center">
</p>

Pixi's avatar
Pixi committed

Pixi's avatar
Pixi committed
# Pony-Card-WRS4i2o
Pixi's avatar
Pixi committed

Pixi's avatar
Pixi committed
Pony-Card-WRS4i2o is a Wiegand/RS485 capable card for access controle powered by PoE
Pixi's avatar
Pixi committed

# Main feature 
  - Powered by PoE or 12V/2A input
  - Power sercurity device like badge reader in 12V/0.5A
Pixi's avatar
Pixi committed
  - Comunicate in Wiegand, RS485 or digital input (3V to 24V)
  - Drive 2 output NO/NC relay (230V/5A Max)
  - Can run on WiFi and/or Ethernet (e.g for failover)
  - Ready to Home assistant with EspHOME (Sample config avaliable)
Pixi's avatar
Pixi committed
  - Ready to MQTT with Tasmota
  - -40C° +60C° capability
  - Fit in DIN PLC Box like [this](https://fr.aliexpress.com/i/1005004933689728.html)
  - Dimention : 92.4mm X 87.5  
Pixi's avatar
Pixi committed

# Esp32 Pin Mapping 
  - GPIO 0 : Flash write mode Conected to CH340
  - GPIO 1 : UART_TX Conected to CH340
  - GPIO 2 : Free use in pin header
  - GPIO 3 : UART_RX Conected to CH340
  - GPIO 4 : Free use in pin header
  - GPIO 5 : Free use in pin header
  - GPIO 6 - 11 : Reserved by flash memory
  - GPIO 12 : Ethernet PHY Power
  - GPIO 13 : Wiegand D0 or RS485 RX
  - GPIO 14 : Wiegand D1 or RS485 TX
  - GPIO 15 : RS485 DIR or digital out in Wiegand mode (e.g for drive status LED on badge reader)
  - GPIO 16 : Free use in pin header
  - GPIO 17 : EMAC Clock out 180
  - GPIO 18 : MDIO(RMII)
  - GPIO 19 : EMAC TXD0(RMII)
  - GPIO 21 : EMAC TX Enable
  - GPIO 22 : EMAC TXD1(RMII)
  - GPIO 23 : MDC(RMII)
  - GPIO 25 : EMAC RXD0(RMII)
  - GPIO 26 : EMAC RXD1(RMII)
  - GPIO 27 : EMAC RX CRS DV
  - GPIO 32 : Relay 1
  - GPIO 33 : Relay 2
  - GPIO 34 : Digital Input 1 (3V - 24V)
  - GPIO 35 : Digital Input 2 (3V - 24V)
  - GPIO 36 : Digital Input 3 (3V - 24V)
  - GPIO 39 : Digital Input 4 (3V - 24V)

Pixi's avatar
Pixi committed
# Wiegand ESPHome example 
Pixi's avatar
Pixi committed

Pixi's avatar
Pixi committed
```bloc code``` 
Pixi's avatar
Pixi committed

Pixi's avatar
Pixi committed

# Misc
R49 was unpopulated resistance, because it's just for very old PoE device, support only type 1 PoE and this type need permanante 10mA current drain. But this produce 0.5w of heat and in certain condition make overhead the board, please populate only if your PoE injector dont work without an be careful of probaly over heating in +50C° environement.