If you know that, then you might want to fix your previous post.I know that.
If you know that, then you might want to fix your previous post.I know that.
I understood that Max, but that being correct does not make it common.Definition of 1 millihertz = Hz/1000. The thousandth of the hertz.
How about this?
I think that the Greeks (micro, deca, hecto, kilo, mega and giga) are more to blame than the Romans (deci, centi, milli), or the Spanish (pico) or even the Vikings (femto)Aren't there three cases for "m" : M, m, and µ? Damn, I wish the Romans had been more enlightened.
The change over is pretty abrupt with a signal diode added. With the diode, I'm not seeing any amber color - the eye/brain is a great integrator. Without the diode, both LEDs are on when the signal is driven high, and there's a definite amber content. I did think that it's possible to choose your diodes carefully to be more on the order of 4V and Red is closer to 2. Green forward voltages can vary a lot depending on the technology used, red's less so.Another "feature" is that the changeover is not abrupt, so, with an integrated red/green LED there is a yellow phase when the two voltages are about equal.
It gets more accurate when the supply voltage is higher and a zener sets the threshold.
A discrete solution was requested. I suspect some sort of oscillator is needed. If one searches on "common cathode LED wig wag circuit," the TS should get lots of examples -- unless he is using Google and searched on some naughty things a little earlier.
Here's a single transistor solution from that search:
View attachment 225566
Link: https://www.google.com/url?sa=i&url=http://lednique.com/gpio-tricks/1-gpio-dual-led-common-cathode/&psig=AOvVaw3_AQMIEDUw6TILKj4b3Jkn&ust=1608671170866000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCOjc1Z793-0CFQAAAAAdAAAAABAI
That circuit works as long as the 5 volt supply is appx. equal to the GPIO voltage and if that can handle the current. That is the one piece of data missing, the exact source of the 5 volt "trigger". However the TS wanted the circuit to work on a supply between 15 and 35 volts. At best would require two additional transistors and a variable resistor to control the current on the red LED.I think this would be a good starting point,
Interesting idea, any component recommendations. I've used the 2N7000 but never a P-channel.logic level pmosfet
Every time so far that I’ve used a P channel MOSFET, it’s been driven by a logic level N channel MOSFET. So, you don’t need a logic level P channel MOSFET. The drain of the N channel is connected to the gate of the P channel with a 10k pull-up resistor.Interesting idea, any component recommendations. I've used the 2N7000 but never a P-channel.
There's a good selection at diodes.com part numbers starting with ZVP.Interesting idea, any component recommendations. I've used the 2N7000 but never a P-channel.
Get s Mosfet with a high enough Rds and you won't need a current limiting resistor!@SamR
I have used the STS5PF20V as a high-side switch: 0.1 Ω at -2.5V. There are probably newer and even lower RDSon ones available today.
by Aaron Carman
by Aaron Carman
by Duane Benson
by Aaron Carman