![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
no,i want measuare three phase if three phase is not correct direction, pic will be turn off the led(0) direction of three phase is correct pic turn on the led(1) how can find right direction of three phase of line ??? | |
| |
| | #2 |
|
A program something like this ? Code: TestRed
Test RED phase - is it high? (this is my ref. point)
- - If NOT goto TestRed
Wait for 6.6mS (50Hz mains, three phase)
Test YELLOW phase - is it high?
- - If so then all is on track -- GOTO YelGood
Test BLUE phase - is it high?
- - If so then we are running backwards -- GOTO BluBad
Signal that a phase is missing - GOTO TestRed
YelGood
Wait for 6.6mS
Test BLUE phase - is it high?
- - If so then one phase complete -- GOTO SeqGood
Signal that a phase is missing - GOTO TestRed
SeqGood
Signal that all is well
GOTO TestRed
BluBad
Wait for 6.6mS
Test YELLOW phase - is it high?
- - If so then one phase complete -- GOTO SeqRev
Signal that a phase is missing - GOTO TestRed
SeqRev
Signal that phases are reversed
GOTO TestRed
__________________ I need a memory upgrade ... My head is full ! | |
| |
| | #3 |
|
thanx a lot my second question is related my first question which signal that i want to find direction of them are over the DC signal for waht!!??? beacause i convert the ac signal to dc but this dc voltage include ac riple as well as .... on the other hand how i find when signal is start zero point because my pic initial with 4MHZ ... | |
| |
|
| Tags |
| phase, sequencebut |
| Thread Tools | |
| Display Modes | |
| |