You don't really mean "-5V" in the schematic... call it "ground" or something... else we see the little gears in the IC come flying out...
Mike Tripoli
You don't really mean "-5V" in the schematic... call it "ground" or something... else we see the little gears in the IC come flying out...
Mike Tripoli
Last edited by mtripoli; - 16th February 2010 at 00:02. Reason: v
Hehehe
Speed kills hey ?
Well that would make 10V the supply then :-) and without a regulator mmm could prove interesting ;-)
Mike ..thanks a million for catching that one in time :-)
Yes it definitely must be GND not -5v as in the schematic :-)
Will see if I can replace the schematic :-0
Keep well
Kind regards
Dennis
Here it is .. the schematic corrected to show +5V and GND rails :-)
Kind regards
Dennis
Hi Dennis,
So you have an LDR and a pot and a 1 k resistor across the supply rails. Isn't this combination suppose to connect to an input on the micro? I mean how else is the micro suppose to sense a change then turn the LED on?
Just an observation!
BobK
Nice program example though!
Last edited by BobK; - 16th February 2010 at 04:36. Reason: After thought
forgive just trying to understand what your doing here.
instead of using the LDR as a A/D input (which the 29 does not have)
when the amount of light causes the voltage to over come the the pull down resistor you get a high input on gpio.2 ?
am I close?
" be nice it's people like me that make people like you look smart"
yes I read the datasheet, of the 300 pages I understood 10
Hi all
Apologies for the confusion .. I had left an important line out of the schematic in my rush to share.
All is fixed now !! The new corrected schematic is attached.
I don't know how those bad schematics got here ..HUMAN HUMAN HUMAN.. grrr!
@BobK .. well we could have been trying a current limiter or 'floating points' ;-)
Valid chirp though was laughing like mad at myself for forgetting a track in schematic and spot on it should connect somewhere for the PIC to be of any use ...!
@grounded , damn right... build it , and see the magic ;-), works like a charm!
@Bruce GPIO.2 conects right between the 10K potentiometer and the LDR
Build it build it build it !
Kind regards
Dennis
Bookmarks