[TriEmbed] Raspberry Pi & Object Detection

The MacDougals paulmacd at acm.org
Mon Oct 7 15:32:22 CDT 2013


Both the IR and Photocell give you an analog voltage (0 - Vcc) that you will have to interpret as High/Low in your code.

Well, you can hook up some additional hardware to make the decision in HW and make your SW easier, but I don't think that is what you want.

---> Paul


-----Original Message-----
From: TriEmbed [mailto:triembed-bounces at triembed.org] On Behalf Of Grawburg
Sent: Monday, October 07, 2013 3:56 PM
To: TriEmbed at triembed.org
Subject: [TriEmbed] Raspberry Pi & Object Detection

I'm working on a project to demonstrate how a basic conveyor system can separate different size objects by using some HO train cars and electric turn-out switches.

The intention is to have a detector, either a visible light photocell arrangment using LEDs or an infrared LED emitter/receiver.  The turn-out switch will be isolated from the Pi with a relay.

I know the photocell will give me a basic ON-OFF (high-low), but what does the IR LED give?  I will have a timer loop in my Python code that instructs the switch to remain in the diverted position for x-seconds and then return to the default position.


Brian Grawburg
Wilson 




_______________________________________________
Triangle, NC Embedded Computing mailing list TriEmbed at triembed.org http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
TriEmbed web site: http://TriEmbed.org





More information about the TriEmbed mailing list