hi,
i want to write a program to set voltage o/p at 210 v.
this voltage regulation i have to done using no. of resistor and transistor ckt, concept behind is that if o/p voltage is 230v then controller will compare it with set value 210. and operate 1st transistor to select first resistor. thn again controller will compare o/p across that resistor with se value if its not same then it will operate next transistor as switch to select next resistor of diff value and process goes on till it get nearest value.
pl help me to write program for above logic.
i want to write a program to set voltage o/p at 210 v.
this voltage regulation i have to done using no. of resistor and transistor ckt, concept behind is that if o/p voltage is 230v then controller will compare it with set value 210. and operate 1st transistor to select first resistor. thn again controller will compare o/p across that resistor with se value if its not same then it will operate next transistor as switch to select next resistor of diff value and process goes on till it get nearest value.
pl help me to write program for above logic.