How do I mount an LDR to the top/front of an enclosure?

Started by Filament, May 24, 2008, 07:25:21 PM

Previous topic - Next topic

Filament

Another forum member recently turned me on to the idea of using an LDR in place of a pot to control various functions withing a circuit and I'm taken with the idea.  Trouble is, I'm not sure how I'd mount it on top of the enclosure so you can put your hand over it to diminish the amount of light striking it.  The ones I've seen for sale don't seem to have a means for mounting.  I've been told to hot glue them in place put I don't see how. 

Here's a link to the LDR I'm referring to in case it helps.  http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&storeId=10001&catalogId=10001&productId=120301

It would seem that it needs to sit flush on the surface of the enclosure so you wouldn't want to put hot glue on top (unless maybe it was totally clear glue, so light could get through).  Would you just put a dab on the back?  Could it be a big dab so that it covered the entire underside and the leads?  If so, wouldn't a nice Dow RTV work even better?

Any advice is surely appreciated.
This is not my large automobile

ACS

Interesting one...  LDR's are almost always designed to be PCB mounted, and that = fragile.  You need to find some way of protecting it.  My advice would be to go for plexiglass.  Cut yourself a square of this around 20x20mm, then bore a shallow hole in to the back of it - if you can get a drill bit a) the right diameter for your LDR, and b) with a 'flat' end on it.  Another option would be a very small router bit possibly, or the router attachment for a Dremel...  I'd then use that 'crystal' epoxy that you can buy, put a small blob in the hole, glue in your LDR, and then Bob's your Auntie.  Or Uncle possibly..

How you mount the LDR/Plexi block to your enclosure is another story... Glue, screw, bolt, take your pick.  I'd be tempted to paint the back of the plexi too, just to neaten things up a little...

Aidan



any

Depends on the diameter, I've had succes with ±5 mm diameter ones in plastic Led bezels.
Using a Led bezel makes mounting them a lot easier and you can keep them slightly below
the pedal surface.

I found a great one at Conrad (kind of European JayCar/Mouser) in a TO-18 casing with a glass top.
(specs are great, 75 to 300 Ohm light resistance @ 1000LX, 10M Ohm dark resistance)

Here it is mounted with a transparent 5mm Led bezel (below the stompswitch, in case you wondered):

It's supposed to sound that way.

blues_mang

The way that Devi makes her PEEP pedals and how I did mine for my Neovibe was to use the clear rubber feet you can find at any hardware store. Drill your hole slightly larger than the LDR and find clear flat rubber feet that is slightly larger than your hole. Apply the rubber foot over the hole, press the "face" of the LDR to the sticky side of the rubber foot, then hot glue around the back side so it will stay. Here's a photo of my Neovibe again with the foot controllable speed using a pair of LDR's:

If you ain't gots da blues in yo shoes, then you got a hole in ya soul.

Filament

Hey, thanks for the ideas.  Now that I've got some avenues to explore all that's left is to build this bad boy. 

Thanks!
This is not my large automobile

caress

heat shrink around the ldr then wedge that into a metal led bezel.  it will be slightly below the surface, so it won't get knocked, yet will stay in because of the friction/fit of the tubing against the bezel.  you can also squirt a little hot glue in the back to seal it up...