Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pony-Card-WRS4i2o
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pixi
Pony-Card-WRS4i2o
Commits
6b48d2e5
Commit
6b48d2e5
authored
1 year ago
by
Pixi
Browse files
Options
Downloads
Patches
Plain Diff
Update Readme
parent
4cba76f6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Hardware/REV-B/_autosave-ESP32-POE-Wiegand-Relay-REV-B.kicad_pcb
+126073
-0
126073 additions, 0 deletions
...e/REV-B/_autosave-ESP32-POE-Wiegand-Relay-REV-B.kicad_pcb
README.md
+101
-4
101 additions, 4 deletions
README.md
with
126174 additions
and
4 deletions
Hardware/REV-B/_autosave-ESP32-POE-Wiegand-Relay-REV-B.kicad_pcb
0 → 100644
+
126073
−
0
View file @
6b48d2e5
This diff is collapsed.
Click to expand it.
README.md
+
101
−
4
View file @
6b48d2e5
...
...
@@ -13,12 +13,14 @@ Pony-Card-WRS4i2o is a Wiegand/RS485 capable card for access controle powered by
# Main feature
-
Powered by PoE or 12V/2A input
-
Power sercurity device like badge reader in 12V/0.5A
-
Comunicate in Wiegand, RS485 or digital input (3V to 24V)
-
Wiegand or RS485 input selectable by switch
-
In Wiegand mode, 1 digital output (e.g for drive 5V Led or buzzer from badge reader)
-
4 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)
-
Ready to MQTT with Tasmota
-
-
4
0C° +60C° capability
-
Ready to MQTT with Tasmota
(Base firmware avaliable)
-
-
2
0C° +60C°
running continous
capability
-
Fit in DIN PLC Box like
[
this
](
https://fr.aliexpress.com/i/1005004933689728.html
)
-
Dimention : 92.4mm X 87.5
...
...
@@ -53,7 +55,102 @@ Pony-Card-WRS4i2o is a Wiegand/RS485 capable card for access controle powered by
# Wiegand ESPHome example
```
bloc code```
```
esphome:
name: Pony Card WRS4i2o
friendly_name: Pony_Card_WRS4i2o
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key:
ota:
password:
ethernet:
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO17_OUT
power_pin: GPIO12
globals:
- id: autorized_badge
type: int64_t
restore_value: no
initial_value: '5562314525698'
wiegand:
- id: badgereader
d0: GPIO13
d1: GPIO14
on_raw:
- if:
condition:
labda : 'return value == id(autorized_badge);
then:
- switch.toggle: r1
else:
- switch.toggle: r2
- delay : 1s
- switch.toggle: r2
binary_sensor:
- platform: gpio
pin:
number: 34
inverted: true
name: "input1"
- platform: gpio
pin:
number: 35
inverted: true
name: "input2"
- platform: gpio
pin:
number: 36
inverted: true
name: "input3"
- platform: gpio
pin:
number: 39
inverted: true
name: "input4"
output:
- platform: gpio
pin: 32
id: 'Relay_1'
- platform: gpio
pin: 33
id: 'Relay_2'
switch:
- platform: output
name: "Relay 1"
id: "r1"
output: 'Relay_1'
- platform: output
name: "Relay 2"
id: "r2"
output: 'Relay_2'
- platform: gpio
name: "LED"
id: "led"
pin:
number: 15
inverted: true
```
# Misc
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment