Arduino DC to AC

Hello,
Any ideas on how to make a DC to AC converter using an Arduino Uno?

What sort of frequency, voltage and current are you looking to output ?

Hi,
Have you Googled;

arduino power inverter

Tom... :smiley: :+1: :coffee: :australia:

Isnt ac always 50 hertz? Also im looking for low current and voltage something like 5v

No i will now

Well i searched it and it kinda looks like a little bit too complex :sweat_smile:

No. It can be any frequency. For example audio signals can be 20Hz to 20KHz.

If you mean mains power frequency, that is either 50Hz or 60Hz, depending on the country.

Hi,
What exactly are you looking for?
50 or 60Hz output?
Square or Sinewave output?
What voltage output?
How much current / power output?

What input voltage / source?

What is your application, what will it be used for?

Can you please tell us your electronics, programming, arduino, hardware experience?

Thanks.. Tom.. :smiley: :+1: :coffee: :australia:

No

AC is Alternating Current

It could alternate at any frequency. Even the mains AC frequency is not the same all over the World

Oh well i look for 50 hertz i guess

So i want to use a voltage multiplier made of diodes and capacitors so i want a 5v input 50 hertz and really low current 40 mA also square

In my country i think its 50

Please try to answer each question you have been asked. If you don't know an answer, please say that, so that we know you did not miss or ignore any question.

Try here https://www.extremeelectronics.co.uk/

Guessing is often not a good way to design stuff.

Okay so i want 5v 40mA 50 hertz square waves thats it

I look for 50 hertz

Ok, square waves is much easier than sine waves for an Arduino. You can use

tone(pin, 50);

However, 40mA is on the limit for an Arduino Nano pin. I would recommend using a current buffer to avoid shortening the Nano pin's life.

What will the signal be driving?

I am pretty sure i said arduino uno not nano

You did, sorry about that. But Uno and Nano use the same chip, so my comments about the maximum current are the same.