How to regulate a light bulb brightness using arduino?

I have this project from my school and I don't really know how to do that in arduino (I've already done it without it, only using basic connections)
The ones i've used are the following:

  • 1 Triag 13A
  • 1 Diac
  • 1 Potentiometer 10k
  • 1 Capacitor 250V
  • 1 Light Bulb from 220W

I'm really a newbie into this, :drooling_face: but, how can I fade in & out the light bulb using those components? Do I need another components?
Sorry for any inconvenient, and thank you for your attention!

I have this project from my school and I don't really know how to do that in arduino (I've already done it without it, only using basic connections)
The ones i've used are the following:

  • 1 Triag 13A
  • 1 Diac
  • 1 Potentiometer 10k
  • 1 Capacitor 250V
  • 1 Light Bulb from 220W

I'm really a newbie into this, :drooling_face: but, how can I fade in & out the light bulb using those components? Do I need another components?
Sorry for any inconvenient, and thank you for your attention!

Did you do a search for arduino lightdimmer?

Take a look at this tutorial Arduino Playground - ACPhaseControl

I've already done it without it, only using basic connections

So post the schematics of that solution you've already done.

how can I fade in & out the light bulb using those components?

Just above you told us that you've done that using those components. How must the Arduino be involved?

We may give you some hints but I assume your prof expects you to do the project, not us.

Yes, I did it without using arduino using this

diagram.
I want to do it and learn how to do it, but I don't know what can I do with the components I have to make them functional using arduino :grin: :grin:

@MikeVald

TOPICS MERGED.
Please do not CROSS post as it wastes peoples time and efforts to help.
Could you read this post before adding anything further.

T.I.A.

Bob.

You need to isolate the Arduino from the power line. That's for your safety, the safety of the Arduino, and the safety of your computer in case you connect the USB.

There are special opto-isolators for driving TRIACs such as the [u]MOC2030[/u]. You also need phase-detection/zero-crossing detection and of course that also needs to be isolated. That can be optical-isolation or transformer-isolation. (When I made a microcontroller dimmer a long time ago, I also built its power supply and I tapped-into the transformer secondary to get the phase detection.)

Also the 1st time I did this, I tested it with 12VAC (from a transformer) and a 12V light bulb before connecting it to the power line.

What is it with beginners that want to play with mains potential..?

There are millions of projects that will give experience and operate from low voltage dc or ac without the obvious dangers involved with mains voltage.

MikeVald:
I have this project from my school [...]

  • 1 Light Bulb from 220W

I'm really a newbie into this

Your school has too many students and tries to reduce the headcount? This IS the kind of project that can help with that!