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
    • 6030
    • 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
    • 30965
    • 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
      • 8689
      • 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
        • 30965
        • 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

        • master3112
          ASUS ROG Strix- G513IH-HN008, G513-6050A3249301- MB-A04 (A4) damaged Embedded Controller
          by master3112
          I have an ASUS ROG Strix- G513IH-HN008, motherboard G513-6050A3249301- MB-A04 (A4)

          When I received the device, the device has no function. After an investigation, I found that the PWM CONTROLLER RT6575B (U6100) is getting warm and there is a short circuit at the 3V3 output. This normally supplies 3V3 for the embedded controller IT5571E-128 (U301). When measuring and analyzing with a thermal imaging camera, I found that some components are damaged: SLG4E42553VTR (U8500), IT5571E-128 (U301), LAN RTL8111H (U450), LOGIC 74LVC1G08GW (U1900), RT6575B (U6100) All these components are on...
          10-29-2024, 09:32 PM
        • sam_sam_sam
          TL494 PWM Controller Module Booard to control a SMPS switching power supply are they available for this purpose
          by sam_sam_sam
          I have seen some board on eBay and Aliexpress but I have not seen any for SMPS switching power board modules I would like to build one if I can not find one that is already made

          Dose anymore known if there is such a module and where would I find some

          While searching this topic on google I found this

          https://www.badcaps.net/forum/troubl...anything/page3

          I have read through this I have some switching...
          09-16-2024, 05:39 AM
        • sikocan
          Lenovo X1 Carbon 9th Gen Black Screen
          by sikocan
          I believe Chip 2 is BIN is the main one as it contained the Windows product key, marked with XXXXX for now.

          SN: PF3G1REP
          MODEL: 20KW-00J1AU

          PROBLEM: Turns on blank screen, charging circuitry motherboard looks good. I have tried another firmware here - but resulted in 5V will not go to 20v due to different PD firmware I believe - using the current firmware it does go to 20V.

          Requesting a firmware clean/BIOS region cleaned. Here is output from ME Analyzer:
          ╔═══════════════════════════════════════════╗...
          06-24-2025, 09:01 PM
        • meraklinetx
          Asus Z97-a power cycle, no boot no cpu voltage
          by meraklinetx
          Hello, I have an asus Z97-A motherboard and it doesn't start which was working properly before, the problem isn't related by ram, ram slots or psu (I changed all and nothing work), the exact problem is when you switch it on , it starts and after 1 seconds (no boot or display picture) it's off and then on cycle continuously until you power it off from psu also it's responding to the power switch for turning it off if you keep pressing it 3 or 4 seconds (power button pin has 3.3v) , also when you start it with eatx 12v socket connected this is happening (power cycle also all voltages are resetting...
          05-10-2023, 06:08 AM
        • madjid911
          Xiaomi NoteBook Pro 15.6 NO POWER
          by madjid911
          Hi, I have a Xiaomi NoteBook Pro laptop (r15-6050a2940901-mb-a01), SN BCA8H103CMJ7E0AA0A, which does not start, the 20V usb-c is launched but without charging. Looking at the LE=Richtek chip, it is well supplied with 23V and supplies the micro controller with 3V8. I did not find a short circuit, the mp3426 chip is not powered so I do not have 3V3 on the bios chip. Could my micro controller be defective? Why is the mp3426 not powered? Is it the micro controller with the power button that triggers the power control of this chip? ...
          11-25-2023, 06:55 AM
        • Loading...
        • No more items.
        Working...