Power converters - how to use wall outlet as A/C source

Alright, so I am putting together a design for a mechanism which will require a DC motor.
I do not know which dc motor i will be using.

But lets say I am using a 12V DC motor that meets all requirements for the following L298N H-Bridge motor drive to be used : https://www.amazon.ca/Controller-H-Bridge-Stepper-Mega2560-Duemilanove/dp/B00CAG6GX2

An arduino will be powered by the 5V output from the bridge and will be connected to the H-bridge in order to control the polarity (rotation direction) of the motor.

The overall device needs to be using a wall outlet, thus an A/C power source. My two main problems are as follows :

  1. How to convert the A/C power to DC and how to bring it down to a lower voltage? (should it be a rectifier?)
    Would this do the job : https://www.xppower.com/Product/ECP150-Series
  2. More importantly, how would I connect a wall outlet to an A/C-DC conversion module? Is there any type of adapter for plugin to leads conversion? I'm open to any suggestion on what type of module to use.
  3. Is there any type of converter/rectifier which the output voltage can be modifier or chosen?

Thank you for any input in advance.

DON'T CROSS POST!!!!!!!!!!!!!!!!!!!!
http://forum.arduino.cc/index.php?topic=580448
I HAVE REPORTED THIS THREAD TO THE MODERATORS

Duplicate posts waste the time of the people helping you. I might spend 15 minutes writing a detailed answer on this thread, without knowing that someone already did the same in the other thread. This behavior is very disrespectful to the people you're asking for assistance. Just because we give our time freely doesn't mean it has no value.

In the future, take some time to pick the forum section that best suits the topic of your question and then only post once to that forum section. This is basic forum etiquette, which you would already know if you had bothered reading the sticky "How to use this forum - please read." post you will find at the top of every forum section. It contains a lot of other useful information. Please read it.

Hi pert,

As you can see I have below 10 posts on these forums, I am still new to this. Secondly, what is wrong with getting multiple inputs from various people? If you read the question, it says I am looking for solutions and input to solving this problem.

There is always more than one solution to a problem. People are not "wasting their time". There is not one specific correct answer, thus a flux of replies would be very helpful.

pert:
[ Just because we give our time freely doesn't mean it has no value.

Obviously every post has value to me. As I said multiple times before, this problem is not something that has one specific solution, thus people will never be "wasting their time" by giving me their input and solution to a problem.

I hope you see what I was intending on doing. In no way did I ever mean to waste time hahaha.

@Lapin1997 will be spending a short time away from the forum.
Hopefully this time will be used to develop some common-sense.

Lapin1997:
As you can see I have below 10 posts on these forums, I am still new to this.

Every user should read the forum rules before making their first post and it clearly says not to cross post. In addition, you were already told not to do this in your previous threads about fans. In that case, it wasn't obviously a cross post since the two were not identical but this time there's no doubt.

Lapin1997:
what is wrong with getting multiple inputs from various people?

I think I've already thoroughly explained why cross posting is a problem. There's nothing preventing you from getting input from various people in a single thread. Trust me, if the forum members have something to say, they're going to say it, regardless of whether someone already replied with some other point of view. The point is that if someone already wrote what I was going to write, I can move on and spend that time helping someone else.

Lapin1997:
There is always more than one solution to a problem. People are not "wasting their time". There is not one specific correct answer, thus a flux of replies would be very helpful.

Obviously every post has value to me. As I said multiple times before, this problem is not something that has one specific solution, thus people will never be "wasting their time" by giving me their input and solution to a problem.

You're looking at this all from what is helpful to you, disregarding that our time has value. You might not care that I spend ten minutes typing out a duplicate explanation to what someone else already spent their ten minutes writing before me, but to me that is absolutely wasted time. The Arduino community is strong but there is far more work than all the volunteers will ever have time to do. So if I waste time on your cross post then some worthy cause suffers.