This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:whitehouse-lock [2011/04/28 06:18] – [Foreløbig indkøbsliste] Jesper Rosenkilde | projects:whitehouse-lock [2013/04/08 15:47] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Whitehouse Lock ====== | ||
+ | |||
+ | === Foreløbig indkøbsliste === | ||
+ | Låseblik: | ||
+ | Abloy EL412 | ||
+ | |||
+ | Strøm: | ||
+ | 2x 12v lader (fra biltema) | ||
+ | 2x 12v blyakkumulator (fra biltema) | ||
+ | Noget sikring til batteri + sikringsboks | ||
+ | |||
+ | Arduino: | ||
+ | 1x Arduino | ||
+ | 1x Strøm til Arduino (24v -> 5v) | ||
+ | 1x Prototyping shield til Arduino | ||
+ | |||
+ | Kommunikation: | ||
+ | 4x RS485 dil-pakker (MAX487) OK | ||
+ | 1x D-sub 9 hun OK | ||
+ | |||
+ | Dør og bipper: | ||
+ | 2x MOS-FET RFD14N05 + det løse | ||
+ | |||
+ | Adgangskontrol: | ||
+ | 2x RFID-læser til Arduino | ||
+ | 1x Matrix Keypad OK | ||
+ | 2x RGB-lysdiode OK | ||
+ | 1x Bipper OK, bruger den fra nuværednde installation | ||
+ | 2x Kasse OK | ||
+ | |||
+ | Styring: | ||
+ | 1x Søkris net4801 | ||
+ | 1x VT220 Terminal | ||
+ | 1x USB RFID | ||
+ | 1x Strømstik | ||
+ | | ||
+ | === RS485 communication === | ||
+ | |||
+ | Example implementation http:// | ||
+ | |||
+ | The MAX487 chip only allows half-duplex. This means that the receiver and transmitter must switch between RX and TX mode internally as well as on the enable pins on the level-converter. | ||
+ | |||
+ | The protocol will be [[wp> | ||
+ | |||
+ | === Bus connection === | ||
+ | Pin out for the [[http:// | ||
+ | |||
+ | ^**Position**^ **Use** ^ **Colour code for EIA-568-B** ^ | ||
+ | |Pos. 1 | ++ (12 V dc) | Orange/ | ||
+ | |Pos. 2 | ++ (12 V dc) | Orange | | ||
+ | |Pos. 3 | -- (Common) | Green/ | ||
+ | |Pos. 4 | " | ||
+ | |Pos. 5 | " | ||
+ | |Pos. 6 | -- (common) | Green | | ||
+ | |pos. 7 | Not connected | Brown/ | ||
+ | |pos. 8 | Not connected | Brown | | ||
+ | |||
+ | The Cat5e cable going to the front door is wired by the [[http:// | ||
+ | |||
+ | |||
+ | === Registers === | ||
+ | The door-arduino has the following registers: | ||
+ | 1. status | ||
+ | 2. rfid | ||
+ | ... | ||
+ | x. pincode1-4 | ||