Menu

Breaks in the program action.

Help
JANIS
2016-01-13
2016-01-19
  • JANIS

    JANIS - 2016-01-13

    I again with thyristor firing angle program code. The project is ready, the scheme and the program code is working. But there is one big problem. Every small time interval lamp flashes, so a break in the program. The time interval lengths are not cyclical, they are different, they can be approx. 30 sec - 4min.
    It appears that this break is one of the program cycle long, the voltage is not able to fall to zero.
    That problem is in the program code, I made sure so - I made simplification program code, where I delete the extra activities, such as interrupt with timer1 , 7segm display, .etc.
    With this simplified program code lamp glows steadily, no interruptions!
    Attached is the wiring diagramm, finished program code and the simplified test code.

     
  • JANIS

    JANIS - 2016-01-13

    Attached is the wiring diagramm, finished program code and the simplified test code.

     
  • JANIS

    JANIS - 2016-01-13

    Attached is the wiring diagramm, finished program code and the simplified test code.

     
  • JANIS

    JANIS - 2016-01-13

    Attached is the wiring diagramm, finished program code and the simplified test code.

     
  • William Roth

    William Roth - 2016-01-16

    Do you need a pullup resistor on Byoass (PortC.5) ?

     
  • JANIS

    JANIS - 2016-01-19

    William, there's a pull up resistor. The error is in the scheme.
    I found the problem. There may not use the Timer1 interrupt. Because 2 Interrupts have already been used. I organized the timer yourself. Now work!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.