Swap the LDR and the pot
LDR to ground and the pot to 12V and the 330 in series with the pot=20
The relay will give you hysterisis in the circuit you are using
Peter Cousens
cousens@biscit.biz=20
> -----Original Message-----
> From: pic microcontroller discussion list
[mailto:PICLIST@MITVMA.MIT.EDU] On
> Behalf Of =C5ke Neehr
> Sent: Saturday, July 26, 2003 9:17 PM
> To: PICLIST@MITVMA.MIT.EDU
> Subject: Re: [OT]: LDR-problem
>=20
> Hello!
> Here is the part of the circuit who don=B4t works
> properly, maybe wrong values at the resistors?
>=20
>=20
> ------------------------- +12V
> I I
> I I
> LDR I
> 10lux 3-20k I
> I I
> 330R I
> I------------------------PNP
> I I
> pot 200k Relay
> I I
> I--------------------------- 0V
>=20
> Regards
>=20
> =C5ke Neehr
>=20
> ----- Original Message -----
> From: "p.cousens"
> To:
> Sent: Friday, July 25, 2003 10:06 PM
> Subject: Re: [OT]: LDR-problem
>=20
>=20
> > You will need a delay and or hysterisis or the lamp will be
switching on
> > and off more than once a day
> >
> > What's the app and circuit
> >
> > Peter Cousens
> > cousens@biscit.biz
> >
> > > -----Original Message-----
> > > From: pic microcontroller discussion list
> > [mailto:PICLIST@MITVMA.MIT.EDU]
> > > On Behalf Of =C5ke Neehr
> > > Sent: Friday, July 25, 2003 5:52 PM
> > > To: PICLIST@MITVMA.MIT.EDU
> > > Subject: [OT]: LDR-problem
> > >
> > > Hello!
> > >
> > > I=B4m using a LDR-resistor as a sensor for the light to steer a
relay.
> > > Is there any method to reduce the sensitivity
> > > so the relay don=B4t switch on/off when the
> > > lamp is on, except to hide it from the lamplight?
> > >
> > > Regards
> > >
> > > =C5keNeehr
> > >
> > > --
> > > http://www.piclist.com hint: To leave the PICList
> > > mailto:piclist-unsubscribe-request@mitvma.mit.edu
> >
> > --
> > http://www.piclist.com hint: To leave the PICList
> > mailto:piclist-unsubscribe-request@mitvma.mit.edu
> >
>=20
> --
> http://www.piclist.com hint: PICList Posts must start with ONE topic:
> [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
--
http://www.piclist.com hint: PICList Posts must start with ONE topic:
[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads