Hi,
I cannot create or find a precise voltage follower. I want to make my programmer like USBtinyISP but with "proper" level shifting to the target. In the Adafruit's design the level shifter is powered from the target. Since the power source of the target may be weak (e.g. coin battery) I am afraid it may not be able to provide programming current and current for the voltage buffer and all the fancy circuitry I plan to add. So I wanted to power the circuitry interfacing with the target from USB 5V reduced to the target's voltage. Standard solutions are not handy:
Transistor voltage follower will provide V_BE drop less voltage than needed (may be problem when target is 1.8V).
Op amp will need to be rail to rail and may not be able supply enough current.
I expected there will be plenty simple circuits for such purpose (something like current mirrors) but I cannot find any. Is there a trick to get rid of the V_BE drop (but still be able to supply 5V when the target is at 5V)? Or do I need power it from transistor driven by an opamp somehow?
Are you trying to level shift a power line or logic signals? What are the ranges of the input voltage and the output voltage that you are trying to shift?