stevenh
Member
Well, I can't get a stable and consistent output on this... Changing the resistors on the LM339 worked randomly (I should get a cleaner development environment) but seems not to be the correct answer as the DCC Accessory Decoder still sucks too much current.
Sorry for digging this up again but I think I might attempt the second method of the low pass filter on the LM339 output. It seems like a good idea, I just need to get the right calculations...
Wikipedia tells me 1/ PI x 2 x R x C.
Where R is inline with the output of the LM339 and C is to ground from the other side of R.
What is the base value for standard calculations though? R is Ohms and C is uF? or just farads?
Trial and error is so much more fun
Sorry for digging this up again but I think I might attempt the second method of the low pass filter on the LM339 output. It seems like a good idea, I just need to get the right calculations...
Wikipedia tells me 1/ PI x 2 x R x C.
Where R is inline with the output of the LM339 and C is to ground from the other side of R.
What is the base value for standard calculations though? R is Ohms and C is uF? or just farads?
Trial and error is so much more fun