How would you something like this “ AC cycle control ” to a micro controller

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sam_sam_sam
    Badcaps Legend
    • Jul 2011
    • 6018
    • USA

    #1

    How would you something like this “ AC cycle control ” to a micro controller

    How would you hook up a micro controller to zero crossing to be used as a AC cycle controller

    This right now is for a proof of concept and weather or not it can be done for educational purposes for now

    Using this type of optic sensor “ H11AA1 ”

    Here is the discussion on this forum

    https://forums.parallax.com/discussi...with-p1#latest
    Last edited by sam_sam_sam; 01-17-2021, 03:33 PM.
  • stj
    Great Sage 齊天大聖
    • Dec 2009
    • 30911
    • Albion

    #2
    Re: How would you something like this “ AC cycle control ” to a micro controller

    microchip has a pdf all about doing zero-crossing with an mcu
    https://www.microchip.com/design-cen...o-cross-detect
    Last edited by stj; 01-17-2021, 04:05 PM.

    Comment

    • eccerr0r
      Solder Sloth
      • Nov 2012
      • 8659
      • USA

      #3
      Re: How would you something like this “ AC cycle control ” to a micro controller

      If you're using a ZC optoisolator, you don't need to do anything, just turn it on and isolator does ZC for you. Just that the microcontroller won't know exactly when the device is on, it could be many milliseconds before the device turns on.

      Or as stj says you can do this in software and you have to tell the microcontroller when the ZCs occur. This way the microcontroller knows when the device is on because it knows when the ZC occurred.

      Yes knowing the whole system would be helpful. Costs an extra pin on the microcontroller to detect ZCs but sometimes like controlling a heater, it doesn't matter and you can save a pin. Motors likely also fall into this category unless you want to know the exact positioning of the motor, then perhaps it matters.

      Comment

      • stj
        Great Sage 齊天大聖
        • Dec 2009
        • 30911
        • Albion

        #4
        Re: How would you something like this “ AC cycle control ” to a micro controller

        knowing the use would help.

        the biggest reason for an mcu to know 0-point i think would be a video-wall - to prevent tearing of the image

        Comment

        Related Topics

        Collapse

        Working...