leosac / access-control

Leosac Access Control - Open Source Physical Access Control System
https://leosac.com
GNU Affero General Public License v3.0
240 stars 40 forks source link

RPi+Piface+Wiegand reader tutorial is missing diagrams #119

Closed systeemgod closed 3 years ago

systeemgod commented 6 years ago

Hi,

I want to build a setup as described in the tutorial, however the wiring diagrams seem to be missing (e.g. the 'wiring everything' section). Do you have these diagrams or images available somewhere?

Nico

brianredbeard commented 6 years ago

Hope this helps.

The idea is to create a voltage divider which brings the voltage down from +5v to something roughly in the range of +3.3v.

wiegand_bb

To double check that everything is wired correctly this C program is very useful: wiegand.c. Just make sure you referencing the wiringPi pins, not BCM pins.

systeemgod commented 6 years ago

Thanks for the info!

Nico

On Wed, Jun 6, 2018 at 8:31 AM redbeard notifications@github.com wrote:

Hope this helps.

The idea is to create a voltage divider https://elinux.org/RPi_GPIO_Interface_Circuits#Voltage_divider which brings the voltage down from +5v to something roughly in the range of +3.3v.

[image: wiegand_bb] https://user-images.githubusercontent.com/57542/41020428-af29c95c-6917-11e8-8937-6be76f4a9511.png

To double check that everything is wired correctly this C program is very useful: wiegand.c https://gist.github.com/hsiboy/9598741. Just make sure you referencing the wiringPi http://wiringpi.com pins, not BCM pins https://pinout.xyz.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leosac/leosac/issues/119#issuecomment-394955666, or mute the thread https://github.com/notifications/unsubscribe-auth/AirgKRoF9FoVll23td0GX-Aj709cdtPQks5t53dAgaJpZM4TI9or .

-- Nico & Ann De Ranter - Van Aelst

dplicato commented 2 years ago

Hi, I found that the diagram were missing at leosac 0.7.0 doc, but they are present at 0.8.0 doc here.

About the hardware it says that are only needed:

  1. A Raspberry Pi
  2. A Piface Digital board

In the "Wiring everything" section there is no reference to the need of a voltage divider and it seems that is possible to directly connect the 5v wiegand data wires to the piface digital inputs.

Is this correct?

Thank you.

Maxhy commented 2 years ago

Yes that's correct. When using a Piface board/hat you don't need a voltage divider / level shifter. Piface inputs should support up to 5v. Piface Digital manufacture several products so it may be safe to check their documentation first depending the model you are using.

Uzzi commented 2 years ago

Hi Could you help me about https://wiki.geekworm.com/Raspberry_Pi_DIDO_Board and https://ae01.alicdn.com/kf/H1af968b7b7ec4bce83c5e4152c6be2b2z.jpg connections schema diagram? Thank you