Pigeonhole Light Sensing/Email system - Raspberry Pi Forums
hi, im looking assistance if possible project im working on. want connect array of light-dependent resistors raspberry pi, store ldr's in pigeonholes, , when letter or parcel placed in pigeonhole ldr blocked, sending signal pi sends email pigeonhole's owner informing them of parcel.
current design using 2 8bit shift registers create grid control ldr on @ 1 time, reduce processing , power requirements. idea 1 register control gnd wires along rows, , second register controlling 3.3v wires across columns. 3.3v register step through each of columns connected grounded row (forgive explanation) , signal single live ldr @ time feed pi.
however, i'm having issues shift registers. i've found example circuit controls leds instead of ldrs on arduino system, should fine adaptation, cannot shift registers step through leds. not know if issue hardware, or code.
example arduino circuit :http://hblok.net/blog/posts/2013/06/30/ ... registers/
, here photos of circuit have built emulate this.
http://i.imgur.com/piuuffw.jpg
http://i.imgur.com/rlq9psh.jpg
http://i.imgur.com/ibeqcip.jpg
can spot issues this? in terms of converting arduino code use on pi should simple enough, not sure
a: adjusting current circuit works intended
b: swapping out leds ldrs
apologies if wrong place post this, , assistance appreciated!
current design using 2 8bit shift registers create grid control ldr on @ 1 time, reduce processing , power requirements. idea 1 register control gnd wires along rows, , second register controlling 3.3v wires across columns. 3.3v register step through each of columns connected grounded row (forgive explanation) , signal single live ldr @ time feed pi.
however, i'm having issues shift registers. i've found example circuit controls leds instead of ldrs on arduino system, should fine adaptation, cannot shift registers step through leds. not know if issue hardware, or code.
example arduino circuit :http://hblok.net/blog/posts/2013/06/30/ ... registers/
, here photos of circuit have built emulate this.
http://i.imgur.com/piuuffw.jpg
http://i.imgur.com/rlq9psh.jpg
http://i.imgur.com/ibeqcip.jpg
can spot issues this? in terms of converting arduino code use on pi should simple enough, not sure
a: adjusting current circuit works intended
b: swapping out leds ldrs
apologies if wrong place post this, , assistance appreciated!
raspberrypi
Comments
Post a Comment