+ Reply to Thread
Page 1 of 2
1 2 Last
Results 1 to 15 of 28

Thread: Triggering an IR receiver from a white object/paint

  1. #1
    avz10 Newbie
    Join Date
    Apr 2009
    Posts
    24

    Triggering an IR receiver from a white object/paint

    I have started to build a system/circuit to capture old cine 8/super 8 using the Cinecap programme.

    I am having trouble to get the IR receiver being triggered when a white blade moves passed the IR receiver.

    (There are three blades of which I have painted one white i.e. 2 black blades will pass before the white blade is supposedly required to trigger the system)

    For the system I used the following-
    A cine projector that can run as slow as 3 frames per second (Eumig 610D).

    The moment that the frame "stops" for a split second, you need your camcorder to record the image and these frames are put together by the Cinecap into an AVI file. So when the frame stops, a trigger needs to be activated. In this case an IR receiver is the trigger.
    (I also tried with a microswitch, but the capturing was erratic)

    My video camera is a 3CCD Panasonic NV GS250

    I have done the following: I converted a mouse (acknowledge James Rueben):



    Used the following circuit (acknowledge James Rueben)::



    Connected to an IR receiver:
    OPB608A


    http://www.datasheetcatalog.org/data...2/229105_1.pdf

    The IR receiver and all my connections (converted mouse; circuit board) are working well.

    My finger, or any white paper triggers a signal which captures a frame via my camcorder on Cinecap, BUT, the paper, my finger, etc need to be very close to the surface of the IR receiver to trigger the signal.

    As mentioned before, I painted one of the three blades white, which will hopefully be triggered by the white blade going past.(acknowledge James Rueben):




    It only works when I bring the IR receiver very close to the stationary blade.

    If the blade rotates at 3fps, it does not trigger a signal, although I bring the receiver quite close.


    What is the solution?:

    I can see two possibilities
    1. Either put something on the blade ? white paper, other material which the IR receiver will pick up (this is where I need advice and this will be the easiest),
    2. Or get a stronger?? IR receiver.

    I feel that there must be a way to produce a strong input by means of some material to create the trigger. I used PVA paint.

    Any advice will be helpful. Will try it out in the next week or two.

    Regards
    Albie

    I need to acknowledge the help I got from James Rueben in this regard- he initiated the project, with the initial input fro Ronypony.
    Having Trouble with DIY Telecine (8mm) System - VideoHelp.com


  2. #2
    avz10 Newbie
    Join Date
    Apr 2009
    Posts
    24

    Just more detail I want to add:

    The distance is very close ± 1-2mm, before the switch is triggered. So if I wave a white piece of paper 1cm in front of the detector, it does not trigger it.

    This is how the set-up should be:

    Projector projects to a lens (the Eumig allows for speed to go down with a gear system to 3 fps), produce an ariel image which is captured at 3fps. This is not my set up.




    Initially tried a microswitch, but this works erratic, especially at the start of film





    Cinecap program- screenshot





    The photo that I have posted of the IR receiver next to the blade, is not mine. I havent fixed mine, but this is how I painted a blade.

    Someone advises that in stead of paint, I use a thin mirror or foil on the blade. Any comments on that?

  3. #3
    Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent
    Join Date
    Jul 2008
    Location
    Out there
    Posts
    1,753

    I've worked with those little reflective sensors for many years in VCR spool encoders, and used some for hobby robots etc. It's no problem to detect white paper at 6" or more. You seem to be driving the LED with plenty of current so I think you have much too low a value resistor for R2, try a 100k pot there and adjust it until you get good sensitivity.

    Once you get the sensitivity right, you might want to put a small cap across pins 1 and 2 of the sensor to reduce noise, its probably best to put the cap as close as possible to the video camera plug (or in the plug) which will reduce line noise a bit too.

  4. #4
    avz10 Newbie
    Join Date
    Apr 2009
    Posts
    24

    Thanks for the reply. Please remember I am quite new to this and to get the mouse modified and actually working, is a major achievement for me!!

    You seem to be driving the LED with plenty of current so I think you have much too low a value resistor for R2, try a 100k pot there and adjust it until you get good sensitivity
    Am I correct, do you mean a 100k resistor in stead of my 7k resistor?

    I am not sure what you mean by "adjust it until you get a good sensitivity"- are you referring to the IR receiver?

    Once you get the sensitivity right, you might want to put a small cap across pins 1 and 2 of the sensor to reduce noise, its probably best to put the cap as close as possible to the video camera plug (or in the plug) which will reduce line noise a bit too.
    You have lost me a bit here. Do you mean that I should "bridge" the wires between pin one and two as close to the modified mouse with a resistor to reduce noise? If so, what resistor strength are we talking about?

    Just a last question. On other forums, people have suggested to use a thin mirror/foil on the blade; or shine a IR light towards the blade, or paint the blade with an aluminum colour. Your thoughts on this?

    Thanks for the help

    Albie

  5. #5
    Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent
    Join Date
    Jul 2008
    Location
    Out there
    Posts
    1,753

    Ok, that sensor will EASILY pick up white paint. Given a choice i'd use a matte white paint, no need for fussing with mirrors or additional IR lights etc.

    A distance from the IR device to the white surface should be about 2mm to 3mm, about 1/16" to 1/8" or so.

    Replace the 7k resistor with a 100k adjustable resistor, normally called a "trimpot" you can get one from radio shack or digikey etc. This is how I tune those sensors, just adjust the trimpot (which controls the sensitivity) until it triggers reliably with the paint surface and distance you require.

    Note! the trimpot has 3 legs, connect to only two legs; and it must be the middle leg and ONE outside leg.

    Then once working well you can put a spot of hot glue on the trimpot to secure it at that position, or remove it and measure the "adjusted" value, and replace it with a normal resistor of the right value.

    The people on other forums seem to have complicated this, all you need is to adjust R2 to the right value of resistance to give you the desired sensitivity.

    What I said about the capacitor, forget that for now until you get it triggering reliably, then you can measure the final value of R2 and we can suggest a value of capacitor suitable for noise filtering.
    Last edited by Mr RB; 1st June 2009 at 11:45 AM.

  6. #6
    avz10 Newbie
    Join Date
    Apr 2009
    Posts
    24

    Thanks for that. I will be home this weekend, but might only be able to work again on the project in 2 weeks time.

    Thanks

    Albie
    Last edited by avz10; 4th June 2009 at 09:24 PM.

  7. #7
    avz10 Newbie
    Join Date
    Apr 2009
    Posts
    24

    If I go and buy the resistors, I can just as well buy a photo interrupter.The prizes that I have seen are really cheap. Would save me another trip. So which of the following look like good possibilities?

    Optoelectronics and Displays | Optoelectronics | Slotted Optical Switch

    Thanks
    Albie

  8. #8
    avz10 Newbie
    Join Date
    Apr 2009
    Posts
    24

    I'm not going to have time today to buy resistors, but this what I'm gonna do, as said before:
    Buy the resistors and a photo interrupter at the same time. Will try the resistors, but if I struggle, will try to install the interruptor.







    From the side:





    This is basically the available space. I think if I glue rigid plastic to a blade, it will work quite well.

    Please help me to choose a photo interrupter from this site, as this is where I can buy:

    Optoelectronics and Displays | Optoelectronics | Slotted Optical Switch

    Thanks for the responses
    Albie

  9. #9
    duffy Excellent duffy Excellent duffy Excellent duffy Excellent duffy Excellent duffy Excellent
    Join Date
    Dec 2008
    Location
    nortern 'sconsin
    Posts
    1,822

    Quote Originally Posted by Mr RB View Post
    Ok, that sensor will EASILY pick up white paint.
    ...
    Replace the 7k resistor with a 100k adjustable resistor, normally called a "trimpot" you can get one from radio shack or digikey etc. This is how I tune those sensors, just adjust the trimpot (which controls the sensitivity) until it triggers reliably with the paint surface and distance you require.
    I suggested he remove that 7k completely when he posted this item the first time. Optos don't have much sink capability, the mouse's internal pull-up resistor (actually a current source, I looked up the chip for him) is about in the range he needs for that opto.

  10. #10
    Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent
    Join Date
    Jul 2008
    Location
    Out there
    Posts
    1,753

    Good point, I was under the impression that the "out" ont he schematic went straight into a digital input pin on the chip.

    Hey AVZ10, I wouldn't use a opto interruptor. There is more chance of snagging on the rotating parts, clearances are tighter, mechanical installation is fussier, they also are much harder to inspect the lenses and clean, and they can trap dirt, grease globs etc in the gap, etc.

    All round they are less of an ideal solution than the reflective device you already have. There is no reason to think the refective device won't work or will be "harder" to get working. It is ideal for the task you have.

    I think you are only one resistor change from a reliable working design!

    Why switch to a worse choice of opto, then have all the development time again measuring more voltages, choosing more resistors etc etc??

  11. #11
    ccurtis Okay
    Join Date
    Dec 2008
    Location
    New Jersey
    Posts
    461

    It only works when I bring the IR receiver very close to the stationary blade.

    If the blade rotates at 3fps, it does not trigger a signal, although I bring the receiver quite close.


    That's the crux of the problem as I see it. The sensor is sensitive enough to detect the blade. It's reasonable to conclude that the response time is not good enough.

    I experimented with my computer mouse. If I wave a 3 in wide envelope up against the flat surface, above a certain speed, the mouse pointer on the computer screen doesn't move. Slower speeds, the pointer moves. Maybe that observation is related to your experience with the rotating blade. Maybe, but maybe not.

    A graph on the data sheet for the sensor shows that a lower load resistor gives a better rise and fall time, with 1000 ohms being the highest value shown, and the rise and fall times are increasing at a very high rate from that point.

  12. #12
    duffy Excellent duffy Excellent duffy Excellent duffy Excellent duffy Excellent duffy Excellent
    Join Date
    Dec 2008
    Location
    nortern 'sconsin
    Posts
    1,822

    At 3fps, that's 333ms, which is a very long time. With a 100k resistor that would give you a time constant for 3.3µf worth of capacitance, nothing on there even close to that. In spite of the moving vs. stationary results I don't think it's an issue with too much resistance causing a slow rise time - it looks like a simple current sink issue because the resistance is too low.

  13. #13
    ccurtis Okay
    Join Date
    Dec 2008
    Location
    New Jersey
    Posts
    461

    Yes, the interval between pulses is 333mS. Looking at the photos, the blades have a considerable gap between them, a gap appearing to be well wider than the width of a blade, giving a pulse width of, say, roughly 30mS, maybe less. I can't tell any better than that from the photos and I may be wrong about the gap, as the other blades appear to be hidden except for what looks like a piece of one.

    30 mS is still a long time, but the rise and fall times are going quickly off the datasheet chart at beyond 1000 ohm load resistance and beyond. That's without any external load capacitance. If the rise and fall times increase by a factor of 100 at the load resistance in the OPs circuit, a 30mS pulse becomes a sliver.

    Just my two cents. I can't say what the cause of the problem is. I don't know the width of the blade and I don't know what the sensor is driving. I don't know that what the sensor is driving can even respond to a 30mS pulse if the sensor does reproduce it.

  14. #14
    Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent Mr RB Excellent
    Join Date
    Jul 2008
    Location
    Out there
    Posts
    1,753

    We know what the cause of the problem is. That sensor will work up to KHz range with no problems. He needs to change a resistor value!

  15. #15
    avz10 Newbie
    Join Date
    Apr 2009
    Posts
    24

    I need serious help. This is my set-up so far:




    On request, I tested values at different points, using the original configuration (R1 180 Ohm; R2 6k8 Ohm)

    Here are the results:

    With the IR detector facing away from the blade:

    A: 1.3V
    B: 3.4 V
    C: 3.4 V
    D: 4.25 V

    With the IR detector facing towards the stationary blade:

    A: 1.3V
    B: 1.55 mV
    C: 3.4 V
    D: 4.25 V

    Projector off, blades stationary and turned away from the IR receiver: measure the 5 V (point E), 3.3 V (point F) and signal (point G)
    .


    E: 4.25
    F: 3.4
    G: 3.4

    Projector off, blades stationary and white painted blade in front of the IR receiver: measure the 5 V (point E), 3.3 V (point F) and signal (point G).

    E: 4.25V
    F: 3.4V
    G: 155mV

    As a final check on the cables, measure between the zero volt point on the detector circuit and the zero volt point on the mouse. The projector state doesn't matter for this one. This should of course be zero or very close to it.
    0.02mV

    So it looks as my point E just produces 4.25V.

    With R2 replaced by 100k Ohm (the resistor is not a "trimpot"; it just says 100k

    B (Output) Stationary: 3.1V (facing away from white blade)
    Facing white blade: 0.07 mV
    Moving: 2.4Volt
    Does not trigger “Capture” on Cinecap

    With R2 replaced by 100kOhm and R1 replaced by 68 Ohm:

    B: Stationary: 3.38V (facing away from white blade)
    Facing white blade: 0.37 mV
    Moving: 1.68Volt
    Does not trigger “Capture” on Cinecap

    So, I am not sure what I am doing wrong.

    I bought this Slotted IR optical switch yesterday (OPB365T), just in case I get stuck: Datasheet:
    Details and datasheet on part: OPB365P55



    Does the beam need to be broken in that first 1mm transparent part, or does the object need to go deeper in the slit?



    If so, I can try to mount it close to two movable parts, that move only when a frame advances (so it is stationary and then either move down- that white piece)


    Or to the right:


    These two possible trigger points are very consistent.

    So, should I try this optical switch, I need to know the following
    1. How deep should the object need to go in the slit (because if it needs to go deeper, it might be difficult)II thought of attaching a rigid plastic to the "moving" side of one ot the trigger points.
    2. What wires should be connected to what pins (For me this is very important, being a newbie to electronics)
    3. Do I need resistors?

    Thanks
    Albie

+ Reply to Thread
Page 1 of 2
1 2 Last

Similar Threads

  1. schematic Diagram of Black and White TV Receiver
    By Ayne in forum General Electronics Chat
    Replies: 15
    Latest: 10th January 2010, 09:51 AM
  2. triggering a 555 timer from an LDR????
    By jsdriscky in forum General Electronics Chat
    Replies: 15
    Latest: 1st October 2008, 03:30 PM
  3. False triggering of IR receiver
    By elecfriend in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 28th April 2008, 07:35 AM
  4. RF Blocking Paint
    By DigiTan in forum General Electronics Chat
    Replies: 19
    Latest: 4th January 2008, 02:31 AM
  5. triggering using sound.....
    By steven_first_2001 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 5
    Latest: 11th April 2007, 12:14 AM

Tags for this Thread