
And what is the type of diodes?
Jalai,jalai wrote:It can't be work with 10k pullup.
I try 330ohm pullup to 5V and this is not good (with 6x 1N4148).
Syvecs people wakeup! What is this diode circuit and it's pullup?
And... can You tell what is goin wrong with resistors?
I don't agree. Diodes has significant voltage drop vs. temperature slope. Source voltage do not drift nor change much. So resistor network is more accurate, than any diode.Jasper K wrote:I think it's better to use diodes instead of resistors for the simple fact that the body drop on a diode is ALWAYS 0.6~0.7V provided the voltage of the source, in this case a pull-up 5V source, is sufficient to drive all the diodes into conduction.
If you would use resistors then the voltage drop on the resistors would depend on the voltage coming from the pull-up 5V source which would depend on the amount of current that is drawn. It's just a lot more complicated to get to proper resistor values when more or lesser cal. positions are used. To me it just doesn't make any sense to use resistors. You do not have these problems with diodes as the voltage drop is FIXED and almost doesn't vary with the current drawn out of the 5V supply.