Geen omschrijving

Your Name 9421c5557e TODO 6 jaren geleden
1_ZoneAVR_Camp_A 39e668081e tested briefly. microwave working. 6 jaren geleden
images 010e75d6a3 Readme 7 jaren geleden
.gitignore a8452b1b81 Working on microwave sensor 6 jaren geleden
LICENSE 6092a61481 Initial commit 7 jaren geleden
README.md e4b4714120 Readme 6 jaren geleden
TODO 9421c5557e TODO 6 jaren geleden

README.md

ZoneAVR

ZoneAVR is a project to interface AVRs/Arduino to Zoneminder.

Camp A

Camp A, is code for an Arduino Uno, an ENC28J60 module, and a PIR sensor. It listens for an IO high from the sensor, and sends a packet to the ZMTrigger daemon when it is detected. NTP can be configured optionally and the packets can be silent for a given time during the week (e.g. 9-5).

alt text

More details for hookup can be found online (such as ethercard git). The ENC28J60 hooks up to 3.3v and the SPI bus. Because this particular project uses the Tuxgraphics TCP/IP stack, only an Arduino Uno can be used. Not Mega.

The PIR sensor typically plugs into 5V, Gnd, and a digital IO pin. On this program, Digital IO pin 3 is used. Different PIR sensors have different pinouts.

Digital IO 2 is connected to the reset pin.

ENC28J60
VCC -   3.3V
GND -    GND
SCK - Pin 13
SO  - Pin 12
SI  - Pin 11
CS  - Pin 10