I want to use c for this circuit For Volt Var optimization y
I want to use c++ for this circuit
For Volt Var optimization, you will need two arduino boards and a circuit board. One microboard will represent the voltage regulation and the second board will represent the Var compensation. Use the Arduino to model a voltage regulator for the of distribution network. Put together a system that has an input of 12VAC (10% of 120VAC but can provide a maximum of 12.6 VAC), but provides 12VDC to the circuit below When the voltage drops to control board should light up an LED/.4V until the voltage gets to a 12.6V. I need to see a demonstration and calculations. If you have any questions.Solution
#include <avr/io.h>
#include <util/delay.h>
#define BLINK_DELAY_MS 1000
int main (void)
{
DDRB |= _BV(DDB5);
while(1) {
PORTB |= _BV(PORTB5);
_delay_ms(BLINK_DELAY_MS);
PORTB &= ~_BV(PORTB5);
_delay_ms(BLINK_DELAY_MS);
}
}
