Power switched supply stabilizator
Hi, I am working on power switched supply stabilizator. An gasoline engine turns the generator and Propeller has to drive rpm through the servo acording to output current (ACS754) and second part of stabilization is switched supply. My problem is that i need informations about voltage from several (2-3) ADC0831. The program i wrote doesnt work. Where do I mistake? I want part PRI ServoMotor make a decision on ADC0831 informations (UA) and part PRI Supply make a decision on another ADC0831 informations (U2). ould it work like this? Thanks for answers.
Comments
sorry, but it is a bit difficult to work through your code. For example: I could find only one ADC0831.
I would try to test separately:
1. The servo code. Can you move it from left to right to every position?
2. The adc. Can you read different voltages?
3. The regulating.
For the debugging a serial LCD or other text output (serial debug?) is very helpful.
Good luck, Christof