hevans1944
Hop - AC8NS
You can replace the 2N2222 NPN transistors with the 2N5401 PNP transistors if you reverse the LEDs and substitute a negative 4.5 V supply for Vcc.
Sure, just reverse the battery, and all LED polarities.A lot simpler than mine. Can you do it with PNP's like he wanted?
Here's a discrete concept you may like or not. It uses transistors in their linear mode. It should not be considered a finished circuit but does demonstrate a discrete method of lighting LEDs in a bar graph fashion. IE, when the next led lights the previous led does not go off. This better mimics a mercury thermometer anyway.
All transistors are configured as Common Collector Amplifiers (Emitter Followers). In this configuration a transistor cannot provide voltage gain but does provide current gain. They also provide a low output impedance (Emitter to GND) as well as relatively high input impedance (Base to GND). P1 is set at 100%. P2 is set to 80% and P3 is set at 60%.
As you can see from the LED current curves each LED gets progressively brighter until the next LED up the ladder begins to turn on also.
If learning to design Transistor circuitry is what you desire then give it a go. As I said earlier, I'm not claiming it's the best choice around but it certainly demonstrates transistors as current amplifiers.
Chris
View attachment 29389
View attachment 29390
No, it's basically a classic job for an analog-to-digital converter and a microprocessor.The thing you are trying to build is basically a classic job for comparators.
Yep, we did it again.I use Tina Classic but it's not freeware. A freeware version of Tina called Tina-TI can be downloaded from the Texas Instruments website.
BTW, I see your spellcheck nailed you again.... "Drowning"?
Chris
No, it's basically a classic job for an analog-to-digital converter and a microprocessor.
Since the NTC thermistor is more or less linear over the temperature range in question, it shouldn't require anything more fancy than an 8-bit ADC. Test the range of the A/D conversions and bin them into eight outputs according to temperature, one for each LED you want to light up. Program it so they light in sequence and stay lit (like a real thermometer) or just one lights up depending on what bin the input falls into.
You won't learn much about electronics, but Microchip PIC microprocessors are tons of fun in their own right... and very inexpensive once you have laid out the fifty bux or so for the PICkit 3 programming pod. Make sure you purchase this pod and the chips from Microchip or an authorized distributor because there are a lot of Asian counterfeits floating around.
And if you are really lazy, or just anxious to get something up and working, just purchase an Arduino Uno and program it from your desktop or laptop computer. All the gazintas and gazoutas you need are right there on the Arduino. Just add some LEDs and a thermistor and a few resistors. Voila! An LED thermometer to impress and amaze your friends with your newly acquired electronics prowess. Plenty of "sketches" available on the Internet for this sort of thing, so you don't even have to roll your own code. What's not to like?
I hadn't thought of THAT! But in keeping with the analog idea, a digital panel meter is out. So all we need to do is convert the needle deflection into signals that will drive eight LEDs... maybe a tiny mirror glued to the needle to deflect a beam of light onto eight LDRs each wired to turn on an LED when the light illuminates them? Where the hell is Rube Goldberg when you need him?David could demonstrate its action with an inexpensive analog (D'Arsonval) or digital panel meter and a few resistors.
@CDRIVE, my time to correct you.
Thermistors are not linear devices !
They are in fact exponential ones in regards to temperature.