# Controlling external circuit with PWM

**URL:** <https://forum.arduino.cc/t/controlling-external-circuit-with-pwm/946614>\
**Category:** General Guidance\
**Created:** [January 13, 2022, 12:19pm UTC](https://forum.arduino.cc/t/controlling-external-circuit-with-pwm/946614 "2022-01-13T12:19:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mklaassen](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@mklaassen](https://forum.arduino.cc/u/mklaassen)\
**Post date:** [January 13, 2022, 12:19pm UTC](https://forum.arduino.cc/t/controlling-external-circuit-with-pwm/946614/1 "2022-01-13T12:19:33Z")

</div>

Good day,

I want to control an external power circuit with Arduino Uno using PWM. The intention is to dim an external light bulb (which uses 220 ~ 240 V/AC ). I want to do this with my Arduino Uno. I've bought a relay (HL-52s v1.0) but discovered that I'm only able to turn the light bulb on and off. There is no way to use PWM and control the brightness of the bulb.

My question is: what kind of hardware is necessary to control the brightness of a light bulb which uses high voltages?

I look forward to the responses!

---

<div class="post-metadata">

**Author:** ![DrDiettrich](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/drdiettrich/32/219048_2.png) [@DrDiettrich](https://forum.arduino.cc/u/DrDiettrich)\
**Post date:** [January 13, 2022, 12:48pm UTC](https://forum.arduino.cc/t/controlling-external-circuit-with-pwm/946614/2 "2022-01-13T12:48:10Z")

</div>

For AC loads you need an AC dimmer module.

---

<div class="post-metadata">

**Author:** ![TomGeorge](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/tomgeorge/32/215261_2.png) [@TomGeorge](https://forum.arduino.cc/u/TomGeorge)\
**Post date:** [January 13, 2022, 12:56pm UTC](https://forum.arduino.cc/t/controlling-external-circuit-with-pwm/946614/3 "2022-01-13T12:56:06Z")

</div>

Hi, @mklaassen  
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".

> [@How to get the best out of this forum](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966):
>
> See also [FAQ - Arduino Forum](https://forum.arduino.cc/faq) for general rules on forum behaviour and etiquette. Hello, Welcome to the Arduino Forum. This guide explains how to get the best out of this forum. Please read and follow the instructions below. Being new here you might think this is having rules for the sake of rules, but that is not the case. If you don’t follow the guidelines all that happens is there is a long exchange of posts while we try to get you to tell us what we need in order to help you, which is fru…

This will help with advice on how to present your code and problems.

Google;

> arduino ac phase control

You need to read about phase control with AC loads.

Tom... 😀 👍 ☕ 🇦🇺

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 12, 2022, 12:56pm UTC](https://forum.arduino.cc/t/controlling-external-circuit-with-pwm/946614/4 "2022-07-12T12:56:44Z")

</div>

Closed on July 12, 2022, 12:56pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
