.:: Motion Sensing Trigger ::.
Motion Sensing Infrared Camera Trigger

This is a device that detects motion and sends out an infrared signal to the camera to take a photo.

SOFTWARE WRITTEN IN GREAT COW BASIC
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ;Chip Settings #chip 16F628,4 #config PWRTE=OFF, WDT=OFF, LVP=OFF, MCLRE=OFF, OSC=INTRC_OSC_NOCLKOUT Dir PORTA.0 Out Dir PORTA.1 In start: Do While PORTA.1 = 1 POUT 494 Wait 3 ms POUT 38 Wait 1 ms POUT 38 Wait 1 ms POUT 38 Wait 1 ms POUT 38 Wait 1 ms POUT 38 Wait 1 ms POUT 38 Wait 1 ms POUT 38 Wait 1 s Loop Goto start Sub POUT (length As word) For i = 1 To length Set PORTA.0 On Wait 13 us Set PORTA.0 Off Wait 13 us Next End Sub |