Hey Bob
I printed that out no problem
I'm still working on you simple circuit
Can't get it to work with the lights farther away then 8 inches
But it works
Ted
Bob Frey’s IR Cover Box Circuit. Was anyone able to print this Link?
Bob Frey
Website: http://bobfrey.auclair.com
Part No. Description: http://www.digikey.com/ 754-1600-ND EMITTER IR 3MM 940NM CLEAR (50 ma) $1.87/10 (Em) 160-1030-ND PHOTOTRAN NPN 3MM IR DARK 940NM $2.70/10 (PT) KSP13BU-ND TRANS NPN DARL 30V 0.5A To-92 $2.74/10 (T1) PN2222AFS-ND TRANS NPN 40V 1A TO-92 CASE $1.99/10 (T2) 10KQBK-ND RES 10K OHM 1/4W 5% AXIAL $0.61/10 (R1) 100KQBK-ND RES 100K OHM 1/4W 5% AXIL $0.61/10 (R2) 680QBK-ND RES 680 OHM 1/4W 5% AXIL $1.22/10 (R3) 3.3KQBK-ND RES 3.3K OHM 1/4W 5% AXIAL $0.61/10 (R4) 220H-ND RES 220 OHM 1/2W 5% AXIAL $0.85/10 R5) P14482-ND CAP ALUM 10UF 16V 20% RADIAL $2.20/10 (C1) 1080-1122-ND LED SS HI EFF RED DIFFUSED 3MM $2.84/10 LED 1N148DICT-ND DIODE SWITCHING 75V 0.15A DO35 $1.06/10 (D1) 277-1667-ND TERM BLOCK PCB 2POS 5.0MM GREEN $3.52/1 (TB) 3405K-ND BREADBOARD 1/16"DIA 2.00X4.50" $5.65/1 (BB)
The two EMITTERS IR cover Box and the Photo Transistor cover Box can be up to 3 feet away. The IR light is weak at 3 feet, but the LED still turns on when the beam is broken. The beam can be found by moving a pencil up and down. With the 0.062 brass tube in a drilled hole, both ends can be rotated, and moved up and down to find the flat cars, so that either car can stop our IR beam of light.
http://home.cogeco.ca/~rpaisley4/IrProximity.html
Proximity Detector using the Vishay Electronics - TSOP4830 Infrared. This IR receiver is used as a sensitive detector that does not require shielding from room lighting. The IR detector will work under almost any lighting condition from complete darkness to full sunlight.
Note: The upper portion of the circuit uses two astable 556 oscillators. The lower portion of the circuit is the IR detector, time delay and output section. ROB PAISLEY shows the basic Infrared - Proximity Detector Circuit and Parts.
CF12JT180RCT-ND RES 180 OHM 1/2W 5% CARBON FILM $0.14/1 (R5)
Ted:
Sorry I didn't get back to you sooner. IR receivers are often black so the ones they sent you should be ok.
If you don't have the shrink tube installed then the circuit will suffer from too much extranious light and will not work properly.
Without adding in more components to allow you to adjust the sensitivity, the only variable is the shrink tubing. You could do a series of tests by starting with a longer piece of tubing over the receiver and then gradually shortening it a bit at a time to see what changes occur.
Something that I did to test the detectors was to set up a short piece of track on some 2" pink foam insulation, including cork roadbed. That allowed me to mount the detectors in a controlled environment to see how they worked. I did have trouble initially with light coming from my workbench but when I turned off the center light that was shining directly into the receiver tube things worked ok. There are two other lights over the workbench, and all three are within three feet of each other. The center one is halogen and the other two are CFLs.
Dave
I'm just a dude with a bad back having a lot of fun with model trains, and finally building a layout!
I think the trick to circuit 1 is to try to prevent any direct room light from getting to the receiver. That's where the heat shrink tubing is crucial. If the receiver can 'see' any of the room lighting fixtures then it will trigger the sensor. I use a 1/16" drill shank to control the size of the opening in the heat shrink tubing. Put the tubing over the LED, then put the drill shank into the top of the tube so that it rests on the top of the LED, then apply the heat. You want to form a 'tube' with a 1/16" inside diameter about 1/8" long above the receiver. That gives a very narrow 'viewing angle' so the receiver can only 'see' what is directly above it. When a car passes over there is plenty of IR light to bounce off the bottom of the car and into the receiver, but the narrow angle will hopefully cut out direct light from the ceiling fixtures. Placement of the ceiling fixtures is obviously an issue. If they can shine directly down the tube then they will trigger the sensor. Please remember that I described the sensor as being "basic", as in "very".
Very interesting comments Ted. Since you ordered parts from my new list, try building both Circuit 1 and 2. Could you give us a report on how you did in about 1 week?
Circuit 2 is 940NM IR light bouncing off the bottom of the car. Notice that the IR Photo transistor has a heat shrink cover? About a 1/16” dia. hole is in the front. This is like you are in a well looking for the moon. When it is over head, you see it. Say +/- 15 degrees off center you don’t. Now 10u Amp of reflected IR light will produce 1 Volt DC at the 100K, then the Darlington will give 10 m Amp of current to the Red LED. (Your Lamp, incandescent bulbs and day light all have 940NM IR light, then the Red LED may never turn off.)
Circuit 1 is the lost of light. The IR Photo transistor does not need a heat shrink cover! The shadow of the car over the light sensor turns off ANY light source, and the Darlington stops shorting out the LED.
One of my current projects is installing grade crossing flashers. I find the between-the-rails phototransistors work pretty well even in very reduced ambient light, but if I dim the room enough they will stop working. So, I'm playing with IR LEDs. I have a few hooked up and they seemed to be completely useless, but I put a meter on the phototransistor and found that the IR LEDs are extremely directional, and if I don't point them pretty much directly at the phototransistor it won't get enough IR light. So, now I need to take some more careful measurements and determine the "cone" sizes for both the LED and the phototransitor, and make sure I mount both of them accordingly.
It takes an iron man to play with a toy iron horse.
Glad you are sorting out the problem.
Hi Ted http://www.digikey.com Part list updated: 22 March 2015
Part No. Description
754-1600-ND EMITTER IR 3MM 940NM CLEAR (50 ma) $1.87 per 10
160-1030-ND PHOTOTRAN NPN 3MM IR DARK (940NM) $2.70 per 10
A364B-4-ND HEATSHRINK 3/64 IN X 4FT BLACK $1.13 per 4 Ft.
Q2F332B-ND HEATSHRNK POLY 3/32" BLK 4' $0.51 per 4 Ft.
(Request To Digi-Key: “Please cut Tubes into 8 pieces, about 6” long
KSP13BU-ND TRANS NPN DARL 30V 0.5A TO-92 $2.74 per 10
100KQBK-ND RES 100K OHM 1/4W 5% AXIAL $0.61 per 10
680QBK-ND RES 680 OHM 1/4W 5% AXIAL $1.22 per 20
270H-ND RES 270 OHM 1/2W 5% AXIAL $0.85 per 10
1080-1122-ND LED SS HI EFF RED DIFFUSED 3MM $2.84 per 10
1N4148DICT-ND DIODE SWITCHING 75V 0.15A DO35 $1.06 per 10
The parts list is for Circuits 1 or 2 is shown in the beginning of this thread.
If you reverse the pins 1 & 3 of the NPN Transistor, neither circuit will work.
Electronic parts in both the circuits are polarity sensitive. One wrong, circuits will not work.
Hi Ted
Welcome to the forums!
Without being able to see exactly what you have done its kind of hard to figure out why your circuit isn't working. The only thing I can suggest is to take a look at each of the components and make sure they are all wired the right way round. You could also check out the thread I started prior to this thread on the simpler version of the circuit with both the emitter and receiver mounted in the track. Robert referenced my thread but in case you missed it here is the link:
http://cs.trains.com/mrr/f/744/t/213706.aspx
(To get the link to work, highlight it, then right click on it, then select "Open Link" or words to that effect from the drop down menu).
I'll take the liberty of suggesting that you contact Robert Frey directly too. He has been very willing to help in the past.
You want plain perfboard with 0.1x0.1 hole spacing. This is available in anything from sizes to hold just one circuit on up to big sheets you can cut apart. You cna also get it at your local Radio Shack. Squares cut from a big sheet were what I used for my Tortoise mounts back when I used Tortoises. To cut it I used wire cutters to snip through a few holes on each side of where I wanted to seperate it, then carefully snapped it along that line.
--Randy
Modeling the Reading Railroad in the 1950's
Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.
hi guys , got a shopping list going to make some of these detection units as decribed BUT would like to get some kind a circuit board material to build it on so I can attache & or move inside a covered helix ..
so I'M looking at boards at digikey site and there a ton , is there a spacific type thats CHEAP and easily cut apart ,for making little circuits as these ..??? or somthing other /
I know a board is NOT required for these units but having made things in the past Ive come to beleive it would make it easyer for me. ....... Jerry
Dave, Thanks for the reply. Good to hear others have tested the greater distance and had success. I did email Bob directly, he replied giving this thread link and suggesting I post and ask here, so am doing.
Bob, was wondering about the use of two 100ohm resistors in series, instead of one. Would a 200ohm do the same? Can't find the posting that mentioned using two, so thought would ask here.
Guys... care to see examples of indoor G/Gn3, that I am referring to? Not casual "G gauge" but true 1/22.5 scale, using both Gauge 1/G for Gn3 NG and Gauge 3 for Std Ga trackage. My layout is not as far along, but my site has photos and videos of my friend Barry's layout. Try the 'Sampler' video... http://www.frolin.net/cwrr/data/videos.html
thanks again!Frolin Marek Mountain RR
Note that both the IR EMMITTER Diode and the IR Photo Transistor use IR light @ (940NM). I don't think the new LED style produce IR light in this range? (I have some of them, and Foresselent Lamps in my work shop. The problem of my circuit LED staying on comes when I push the "Sensitivity Resistor" near 470K.) .
What should you use if your room lighting is the new LED style?
Sorry Frolin. I didn't read your post carefully enough.
To answer your question, the sensors should work just fine with your scale. My test units consistently worked at about 5" - 6".
If you want a more detailed answer why not send a PM to Bob Frey. In my experience with him, he is quite willing to help out.
Dave,
Maybe I was unclear on my question, as I am looking for a detector circuit that is 'not' light source based. I do not want to use any light source in the setup, that is why I liked the circuit as I read, as both the emitter and detector are mounted in the track. Do not want an overhead lamp, room lighting or such, to be needed. And staying away from blocks or gaps and circuit detection if possible as well.
What I was wondering about though is, the increased distance that I have in G scale. That is, the distance from tie to bottom of an HO car is maybe 1/2 inch, where the distance from ties to bottom of a G scale car is closer to 1 1/2 inches.
One of the circuit comments was to put two 100 ohm resistors in series (why not a 200ohm), to increase the sensativity of the circuit.
Will this circuit still work, and sense the car, when the distance is 3 times the space found in HO scale? Is there a higher resistance value needed to handle the increase in distance I have in G scale?
thanks!
Frolin
Hi Frolin
The detectors that Rob Frey is explaining don't necessarily need an overhead light source, in fact they don't need any incandescent light at all. They can work by reflecting a beam of infrared light off of the bottom of the cars as the cars pass over the sensors which are mounted in the track between the ties. The sensors have two components. One is an infrared emitter and the other is an infrared sensor. They will work just fine in tunnels and if you use them in other locations they will work in both daytime and night time operations.
Don't be afraid to ask more questions! I was (and still am) an electronic dinosaur but I have managed to figure out how these sensors work.
Bob,
Looking at building some of these detector circuits to test use on my layout.
I read about having two 100ohm resistors in series to increase the sensativity. I model (indoors) in 1/22.5 scale and thus the distance is between 1 1/2 to 1 3/4 inches from top of ties (sensors) to the bottom of most cars. Wondering if you see any concerns with this much distance?
The common answer idea is photocel based, but I want to use the same circuit on the layout in hard to view places, along with in hidden storage. Do not want to mount a light source over each circuit. Will not always have a light source, and with possible night time lighting, means the circuit should not by room lighting based.
So any concerns over the distance from sensors to bottom of cars, in G scale compared to HO scale?
DiscoverCircuits.com, has 30,000+ electronic circuits, cross-referenced into 500+ categories. Model Trains Circuits: http://www.discovercircuits.com/M/model-trains.htm
I also like Rob Paisley's Model Train web site. “Model Railroad & Misc. Electronics” He has a Main Circuit Index list. Computers and microcontrollers have largely been avoided. The circuits are explained as to how they work, and has a list of Dig Key Part No.
Rob Paisley's: http://home.cogeco.ca/~rpaisley4/CircuitIndex.html
Day&Night IR: http://home.cogeco.ca/~rpaisley4/DayNight.html
Track IR: http://home.cogeco.ca/~rpaisley4/ATDetIR.html
IR Detector: http://home.cogeco.ca/~rpaisley4/IrProximity.html