Overunity.com Archives is Temporarily on Read Mode Only!



Free Energy will change the World - Free Energy will stop Climate Change - Free Energy will give us hope
and we will not surrender until free energy will be enabled all over the world, to power planes, cars, ships and trains.
Free energy will help the poor to become independent of needing expensive fuels.
So all in all Free energy will bring far more peace to the world than any other invention has already brought to the world.
Those beautiful words were written by Stefan Hartmann/Owner/Admin at overunity.com
Unfortunately now, Stefan Hartmann is very ill and He needs our help
Stefan wanted that I have all these massive data to get it back online
even being as ill as Stefan is, he transferred all databases and folders
that without his help, this Forum Archives would have never been published here
so, please, as the Webmaster and Creator of these Archives, I am asking that you help him
by making a donation on the Paypal Button above.
You can visit us or register at my main site at:
Overunity Machines Forum



Arduino signal generator

Started by ayeaye, October 27, 2016, 02:33:55 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

forest

Beautiful! Could you post two outputs on the same plane , because it looks a bit shifted in phase (not pure 180 degrees) ?

kEhYo77

It is 100% 180 deg. shifted phase corrected mode.
The output looks distorted only at this max frequency.

forest

I'm interested if there is possibility to change the slope rising time especially to make it more sinusoidal :-) by any eternal filter maybe ?

kEhYo77

I am afraid not. This method uses hardware timer registers to do the magic using mainly hardware and no software.
You can try to adapt my previously posted code for Figuera in this thread where I use sine table values.
You can "draw" in this table any shape you want.

TinselKoala

Nice work!

Tested and verified to work with Arduino UNO R3, so it will most likely work on all members of that family (nano, promini, etc.). I have not yet tested it on a MEGA.

Probably a good idea to specify that all 3 pots should be same value. 10K is good, 50k is probably better. The pots are effectively in parallel so they interact somewhat.

It might be interesting to eliminate the pots and just use the serial monitor to send values instead. But since this sketch depends on having the actual inputs at analog pins A0, A1 and A2 to work, instead of just arbitrary variable values, it might take a little fiddling to enable serial functionality.