PIC12F675 Dimmer Control

0:54

General (prev)
Project
Sí, el PIC12F675 es perfectamente capaz de usarse como controlador de dimmer. Dependiendo de tu aplicación, hay dos enfoques principales:
  1. Dimmer de LEDs (salida DC)
    • Generas una señal PWM con uno de sus pines de E/S (por ejemplo usando un temporizador en modo interrupt).
    • Con un transistor o MOSFET conviertes esa PWM en corriente variable sobre el LED.
  2. Dimmer de fase para AC (control de lámparas incandescentes o motores)
    • Haces detección de cruce por cero de la CA (con un optoacoplador o comparador).
    • Tras un retardo controlado por un temporizador, disparas un triac vía optoacoplador para ajustar el ángulo de conducción.
Para poder avanzar con el diseño, necesito que me digas:
  • ¿Qué tipo de dimmer quieres implementar? ¿LED (DC) o fase de AC?
  • ¿Qué rango de potencia o tensión vas a controlar?
Con esa información te puedo proponer un esquema de componentes y la lógica de firmware.
222 days
Va hacer de AC a 120 volts 60hz usando cruce por cero con H11AA1 y MOC3021
View 1 Knowledge Suggestion
222 days

is thinking...

222d 10:14:05

General (prev)
Chat History
Project
Library

Creating search plan for: "100Ω 2W resistor"

Searching: "Searching broadly for surface-mount resistors in a 0603 footprint. Aim to identify resistors intended for low-power applications, with ratings around 1/4W, to later narrow down to specific values such as 10k ohm with 5% tolerance."

Searching: "Looking for surface-mount resistors with a nominal value of 10k ohms, in the 0603 package. Part of a mid-level specificity search to identify devices rated approximately 1/4W with typical tolerance descriptions, before finalizing the search."

Searching: "Narrow search to find a resistor designed for PCB mounting with a 10k ohm nominal resistance, a power rating of 1/4 watt, packaged in a 0603 SMD footprint and having a 5% tolerance. This search is targeting parts used in biasing, pull-ups or similar low-power applications where precise tolerance is not critical."

Searching: "Searching for the BT136 triac component known for its 600V rating in a TO-220 package. This is used for AC power control applications, such as dimming and motor control."

Searching: "Looking for a 600V rated triac in a TO-220 package for high-voltage switching applications in power control circuits. This includes the original BT136 or close functional matches."

Searching: "Component for AC power switching: a triac rated at 600V in a TO-220 package, such as the BT136. Suitable for applications in light dimming, motor control, and other mains switching circuits."

Searching: "Identify alternative high-voltage triacs in a TO-220 package. The search targets parts with similar specifications to BT136 for applications that require reliable AC phase control, offering multiple vendor options."

Searching: "A general surface-mount resistor in the 0603 package used for PCB mounting. This search targets a resistor component format for applications requiring compact resistive elements on a circuit board."

Searching: "A surface-mount resistor with a value of 330 ohms in a 0603 package. This search focuses on finding resistors suitable for voltage divider or signal conditioning circuits on PCBs, targeting standard 5% tolerance devices with common power ratings."

Searching: "A specific surface-mount resistor component featuring a resistance of 330 ohms, a power rating of 1/4 watt, and a tolerance of 5% in the 0603 package. The component is intended for use in standard PCB applications where reliable resistive performance is necessary, such as bias networks or current limiting circuits."

Found 3 results.

Searching: "10k resistor 1/4W 0603 5%"

Found 4 results.

Searching: "BT136 600V triac TO-220"

Found 3 results.

Searching: "330Ω resistor 1/4W 0603 5%"

Searching: "Surface mount capacitor with 100nF capacitance in ceramic dielectric, intended for decoupling or bypassing on power rails. Not specific to voltage rating or package size initially, used to explore the general capacitor family."

Searching: "Looking for a 100nF capacitor in an 0603 package, typically used for high-frequency decoupling applications on compact PCBs. This query targets size-constrained designs without initial emphasis on voltage rating."

Searching: "Searching for a 100nF ceramic capacitor rated at 50V. This component is well-suited for high-voltage decoupling and bypass filtering applications. The focus here is on the key electrical specifications with less emphasis on form factor."

Searching: "Targeting a capacitor that meets all defined criteria: 100nF capacitance, 50V voltage rating, in a 0603 surface mount package. Essential for power rail decoupling, requiring low ESR and high frequency performance. This query ensures tight matching of both electrical and physical specifications."

Searching: "Searching for the H11AA1 optocoupler, a widely used component in AC mains detection and zero cross applications for isolating and triggering triac circuits."

Searching: "Seeking an optocoupler designed for zero cross detection typically used in AC mains switching and triac drive applications with high isolation and reliable triggering performance."

Searching: "Looking for an optocoupler that performs zero crossing detection in AC circuits, ideal for minimizing switching noise in phase control or dimming applications. The component should offer high isolation voltage and consistent triggering performance."

Searching: "Searching for an optocoupler with built-in zero cross detection for AC line applications, with a focus on high-voltage isolation (typically >2500 Vrms) and stable operation in power switching circuits. Suitable for use in both industrial and consumer electronics where phase control is critical."

Searching: "Searching for X2 class safety capacitors broadly. These capacitors are used for EMI suppression and AC line filtering, featuring design compliance with safety standards for across-the-line applications. This search will capture a range of safety-rated capacitors that could support 50/60Hz AC operations."

Searching: "Looking for capacitors with a capacitance of 100nF and an X2 safety rating. The focus is on components for EMI filtering and AC line applications which meet the necessary voltage stress and safety certifications. This query narrows the search to parts with a specified value."

Searching: "Targeting a 100nF capacitor with X2 safety certification designed for use in AC line filtering applications. This search emphasizes components that provide EMI suppression, meet stringent safety standards, and are suitable for across-the-line deployments in power supply circuits."

Found 4 results.

Searching: "100nF 50V ceramic capacitor 0603"

Found 4 results.

Searching: "H11AA1 optocoupler zero cross detection"

Found 3 results.

Searching: "100nF X2 safety capacitor"

Searching: "Looking for a standard aluminum electrolytic capacitor with a nominal capacitance of 10 microfarads, suitable for typical decoupling and filtering applications. Focus on generic, widely available parts rated for use with moderate voltage rails."

Searching: "Seeking an aluminum electrolytic capacitor that specifically meets a 10 microfarad capacitance and a 16V voltage rating for use in DC power supply filtering and decoupling applications. Emphasize parts with robust reliability and standard performance."

Searching: "Searching for a high-performance 10uF electrolytic capacitor rated at 16V with low ESR characteristics to improve filtering and minimize ripple in switching or high-frequency circuits. Consider options in both radial and SMD packages if available."

Searching: "Exploring surface-mount options for a 10uF electrolytic capacitor with a 16V rating, intended for compact board designs with limited space. Ideal for applications requiring effective decoupling and power filtering on a 16V rail, with flexibility in packaging."

Found 4 results.

Searching: "10uF 16V electrolytic capacitor"

Searching: "Search for a basic resistor with a nominal value of 100 ohms. This initial query focuses on identifying the resistor type without specifying power rating, to assess the pool of available 100Ω resistors for general circuit applications."

Searching: "Expand the search to include the power requirement by specifying a resistor rated at 100 ohms with a 2W power dissipation level. This query targets components suitable for moderate power applications, such as current limiting or load resistors, and supports filtering for resistors with appropriate construction (e.g., metal film, thick film)."

Searching: "Refine the search to locate PCB-mounted surface-mount 100Ω resistors that can handle 2 watts of power. This query is intended for applications requiring compact, high-dissipation SMT resistors (such as in 1206 or 1210 packages) that maintain stable resistance and reliability in moderate power circuits."

Searching: "Searching for the MOC3021 triac driver optocoupler, which is used to provide electrical isolation between a low-voltage control circuit and a high-voltage AC load. The component integrates an LED and a phototriac output suitable for triggering power triacs in AC switching applications."

Searching: "Looking for optically isolated triac driver components that function similarly to the MOC3021. Requirements include an internal LED for signal input and a phototriac output for driving high-voltage AC loads with sufficient isolation voltage."

Searching: "Searching for opto-triac drivers designed for AC load switching applications. Must offer proper isolation between control circuitry and high-voltage AC, with functional characteristics matching those of the MOC3021."

Searching: "Targeting the MOC3021 in its common DIP or through-hole package form factor used in power switching circuits. The part should support proper LED drive current, isolation ratings, and ensure reliable triggering of TRIACs in AC circuits."

Found 4 results.

Searching: "MOC3021 triac driver optocoupler"

Found 3 results.

Searching: "100Ω 2W resistor"

Completed 9 component searches.

Starting 9 component searches

Searching: "H11AA1"

Completed 9 component searches.

Starting 9 component searches

Dispatching Library tool to find: "180k resistor 1W"

Creating search plan for: "180k resistor 1W"

Searching: "Search for a resistor with a resistance value of 180 kΩ and a power rating of 1 watt. This query is broad, aiming to capture all available technologies and package types (through-hole and SMD) to be used in general-purpose circuits where high-value resistance and moderate power dissipation are required."

Searching: "Refine the search to target through-hole resistors specifically. The resistor should be 180 kΩ, 1W, and ideal for applications where larger physical size and easy manual soldering are acceptable requirements. This search can highlight general-purpose resistor models used in power dissipation or current limiting circuits."

Searching: "Identify surface mount device (SMD) options for a 180 kΩ resistor rated at 1 watt. This query is intended for PCB designs where automated assembly is preferred and space is constrained, while still demanding the resistor’s power handling capability."

Searching: "Venture into specific resistor technologies by focusing on metal film resistors that meet the 180 kΩ, 1W parameters. Metal film resistors are chosen for their high stability and low noise in analog circuit applications, and can be compared with thick film alternatives for performance differences."

Searching: "Explore thick film resistor options that offer a 180 kΩ resistance and 1 watt power capacity. This search is aimed at finding cost-effective, widely available alternatives for general-purpose applications where precision is less critical than cost and availability."

Found 5 results.

Searching: "180k resistor 1W"

Searching: "180k resistor 1W"

Searching: "Search for a 180kΩ resistor that is thick film (metal film) with a 1W power rating in a through-hole package. This search will target parts from manufacturers known for high-power thick film resistors, such as Vishay or Ohmite, and include keywords like "through hole", "metal film", and "1W"."

Found 1 results.

Searching: "180k resistor 1W"

Searching: "180k resistor 1W"

Searching: "Search for a 180kΩ resistor rated at 1W in a through-hole metal film (or metal foil) configuration with axial leads. Consider broadening the search using terms such as "180k metal film resistor 1W axial" and reviewing manufacturer series from companies like KOA Speer, Vishay, TE Connectivity, or Ohmite."

Searching: "Look for a resistor with a nominal value of 180kΩ, a power rating of 1W, constructed using metal film technology in a through-hole (axial lead) package. The search should include industry-standard parts and alternatives if the exact match is not available."

Found 2 results.

Searching: "180k resistor 1W"

Searching: "180k resistor 1W"

Searching: "Search for a 180kΩ resistor with a 1W power rating in a metal film construction, packaged as an axial through‐hole part. Consider searching manufacturer catalogs or parametric filters on distributor sites to locate such a resistor."

Searching: "If a metal film version is not available, consider broadening the spec to include high-precision thick film or metal oxide film resistors in a through‐hole axial package that meet the 180kΩ and 1W criteria."

Searching: "Revisit alternatives by verifying if the intended value is indeed 180kΩ and if the 1W rating is critical. Sometimes, high-value resistors are available only in low-wattage SMD packages and a custom solution or resistor network may be needed for through-hole mounting."

Found 3 results.

Searching: "180k resistor 1W"

Searching: "180k resistor 1W"

Searching: "Looking for a through-hole resistor with a nominal value of 180kΩ, a power rating of 1W, and constructed using metal film technology. Consider high wattage axial metal film resistors such as those produced by Vishay or Ohmite that cover non standard high resistance values."

Searching: "Search for an axial metal film resistor with a 180kΩ rating and at least 1W power dissipation. If not available in standard catalogs, explore custom resistor series or generic resistor families that allow value programming."

Found 2 results.

Searching: "180k resistor 1W"

222 days

Ready.




  • Ground
    A common return path for electric current. Commonly known as ground.
  • Net Portal
    Wirelessly connects nets on schematic. Used to organize schematics and separate functional blocks. To wirelessly connect net portals, give them same designator. #portal
  • Power Net Portal
    Wirelessly connects power nets on schematic. Identical to the net portal, but with a power symbol. Used to organize schematics and separate functional blocks. To wirelessly connect power net portals, give them the same designator. #portal #power
  • Generic Resistor
    A generic fixed resistor for rapid developing circuit topology. Save precious design time by seamlessly add more information to this part (value, footprint, etc.) as it becomes available. Standard resistor values: 1.0Ω 10Ω 100Ω 1.0kΩ 10kΩ 100kΩ 1.0MΩ 1.1Ω 11Ω 110Ω 1.1kΩ 11kΩ 110kΩ 1.1MΩ 1.2Ω 12Ω 120Ω 1.2kΩ 12kΩ 120kΩ 1.2MΩ 1.3Ω 13Ω 130Ω 1.3kΩ 13kΩ 130kΩ 1.3MΩ 1.5Ω 15Ω 150Ω 1.5kΩ 15kΩ 150kΩ 1.5MΩ 1.6Ω 16Ω 160Ω 1.6kΩ 16kΩ 160kΩ 1.6MΩ 1.8Ω 18Ω 180Ω 1.8KΩ 18kΩ 180kΩ 1.8MΩ 2.0Ω 20Ω 200Ω 2.0kΩ 20kΩ 200kΩ 2.0MΩ 2.2Ω 22Ω 220Ω 2.2kΩ 22kΩ 220kΩ 2.2MΩ 2.4Ω 24Ω 240Ω 2.4kΩ 24kΩ 240kΩ 2.4MΩ 2.7Ω 27Ω 270Ω 2.7kΩ 27kΩ 270kΩ 2.7MΩ 3.0Ω 30Ω 300Ω 3.0KΩ 30KΩ 300KΩ 3.0MΩ 3.3Ω 33Ω 330Ω 3.3kΩ 33kΩ 330kΩ 3.3MΩ 3.6Ω 36Ω 360Ω 3.6kΩ 36kΩ 360kΩ 3.6MΩ 3.9Ω 39Ω 390Ω 3.9kΩ 39kΩ 390kΩ 3.9MΩ 4.3Ω 43Ω 430Ω 4.3kΩ 43KΩ 430KΩ 4.3MΩ 4.7Ω 47Ω 470Ω 4.7kΩ 47kΩ 470kΩ 4.7MΩ 5.1Ω 51Ω 510Ω 5.1kΩ 51kΩ 510kΩ 5.1MΩ 5.6Ω 56Ω 560Ω 5.6kΩ 56kΩ 560kΩ 5.6MΩ 6.2Ω 62Ω 620Ω 6.2kΩ 62KΩ 620KΩ 6.2MΩ 6.8Ω 68Ω 680Ω 6.8kΩ 68kΩ 680kΩ 6.8MΩ 7.5Ω 75Ω 750Ω 7.5kΩ 75kΩ 750kΩ 7.5MΩ 8.2Ω 82Ω 820Ω 8.2kΩ 82kΩ 820kΩ 8.2MΩ 9.1Ω 91Ω 910Ω 9.1kΩ 91kΩ 910kΩ 9.1MΩ #generics #CommonPartsLibrary
  • Generic Capacitor
    A generic fixed capacitor ideal for rapid circuit topology development. You can choose between polarized and non-polarized types, its symbol and the footprint will automatically adapt based on your selection. Supported options include standard SMD sizes for ceramic capacitors (e.g., 0402, 0603, 0805), SMD sizes for aluminum electrolytic capacitors, and through-hole footprints for polarized capacitors. Save precious design time by seamlessly add more information to this part (value, footprint, etc.) as it becomes available. Standard capacitor values: 1.0pF 10pF 100pF 1000pF 0.01uF 0.1uF 1.0uF 10uF 100uF 1000uF 10,000uF 1.1pF 11pF 110pF 1100pF 1.2pF 12pF 120pF 1200pF 1.3pF 13pF 130pF 1300pF 1.5pF 15pF 150pF 1500pF 0.015uF 0.15uF 1.5uF 15uF 150uF 1500uF 1.6pF 16pF 160pF 1600pF 1.8pF 18pF 180pF 1800pF 2.0pF 20pF 200pF 2000pF 2.2pF 22pF 20pF 2200pF 0.022uF 0.22uF 2.2uF 22uF 220uF 2200uF 2.4pF 24pF 240pF 2400pF 2.7pF 27pF 270pF 2700pF 3.0pF 30pF 300pF 3000pF 3.3pF 33pF 330pF 3300pF 0.033uF 0.33uF 3.3uF 33uF 330uF 3300uF 3.6pF 36pF 360pF 3600pF 3.9pF 39pF 390pF 3900pF 4.3pF 43pF 430pF 4300pF 4.7pF 47pF 470pF 4700pF 0.047uF 0.47uF 4.7uF 47uF 470uF 4700uF 5.1pF 51pF 510pF 5100pF 5.6pF 56pF 560pF 5600pF 6.2pF 62pF 620pF 6200pF 6.8pF 68pF 680pF 6800pF 0.068uF 0.68uF 6.8uF 68uF 680uF 6800uF 7.5pF 75pF 750pF 7500pF 8.2pF 82pF 820pF 8200pF 9.1pF 91pF 910pF 9100pF #generics #CommonPartsLibrary
  • Generic Inductor
    A generic fixed inductor for rapid developing circuit topology. *You can now change the footprint and 3D model at the top level anytime you want. This is the power of #generics
  • Terminal
    Terminal
    An electrical connector acting as reusable interface to a conductor and creating a point where external circuits can be connected.
  • RMCF0805JT47K0
    47 kOhms ±5% 0.125W, 1/8W Chip Resistor 0805 (2012 Metric) Automotive AEC-Q200 Thick Film #forLedBlink
  • 875105359001
    10uF Capacitor Aluminum Polymer 20% 16V SMD 5x5.3mm #forLedBlink #commonpartslibrary #capacitor #aluminumpolymer #radialcan
  • CTL1206FYW1T
    Yellow 595nm LED Indication - Discrete 1.7V 1206 (3216 Metric) #forLedBlink

Inspect

PIC12F675-I/P

PIC12F675-I/P
Description

Created
Last updated by adrian95
1 Contributor(s)
adrian95

Controls

Properties

Part Type
Microcontroller
Manufacturer Part Number
PIC12F675-I/P
Designator Prefix
U

Availability & Pricing

DPNStockQty 1
20–436$1.488–$1.542
112K$1.55
1114$1.5174
12.8K$1.55
160$1.88
1160–7.7K$1.38–$3.3453

Assets