Forums - Open Redstone Engineers
Wave Generator/ O-Scope - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: ORE General (https://forum.openredstone.org/forum-39.html)
+--- Forum: Projects & Inventions (https://forum.openredstone.org/forum-19.html)
+---- Forum: In Progress (https://forum.openredstone.org/forum-20.html)
+---- Thread: Wave Generator/ O-Scope (/thread-4547.html)

Pages: 1 2 3 4


Wave Generator/ O-Scope - Legofreak - 08-25-2014

Quite a few of you guys saw me working on this.

Over the weekend I was derping around with hex serial and I found I could produce some neat waves. After some tinkering, I made a display that draws all points between outputs when the output changes. this allows for drawing of waves on a screen.

At first I was driving it with a long line of memory but I didn't like how big it was.

Then I came up with the idea of generating the wave with hardware. I created a double inversion memory cell that I can control how much and how long it adds or subtracts. This creates a triangle or sawtooth wave. Depending on the settings you have, you can adjust the Frequency/Wavelength and Amplitude.

[Image: WAVEGEN_zpse9ca4223.png]

[Image: WAVEGEN2_zpsddf25c29.png]

After I made one I copied it and connected them to add the waves together. This results in some really neat complex waveforms.

[Image: WAVEGEN1_zps99a97347.png]

[Image: WAVEGEN3_zps16c1e20e.png]

[Image: WAVEGEN4_zps0ce3cebc.png]

I think with some more tinkering, I can get the UI much more user friendly and possibly some better functionality.

One thing I haven't figured out yet is how to make a vertical screen that can react to 2 tick pulses and display properly. Lamps are too slow, and I'm worried pistons would be too laggy. Right now, a flat surface of repeaters seems to be the best option for the display.

I was too lazy to take screenshots... I'll try to get around to it later.

Edit: SCREENSHAT


RE: Wave Generator/ O-Scope - newomaster - 08-25-2014

This is quite the wizardry. I'm surprised nobody has thought of doing this before. It looks insanely cool in game Big Grin


RE: Wave Generator/ O-Scope - AFtExploision - 08-25-2014

Newo is your reaction to everything about hex "surprised no one had thought of it". Now make a receiver Big Grin


RE: Wave Generator/ O-Scope - Legofreak - 08-25-2014

What would a receiver do anyway? It's just 2 tick serial hex. If it's just to save the stream then it should be fairly easy. Maybe detect frequencies? I don't know what else you can do with a wave in minecraft besides look at it.


RE: Wave Generator/ O-Scope - AFtExploision - 08-25-2014

I meant detect frequencies, then we'd have a closer representation to irl analog


RE: Wave Generator/ O-Scope - greatgamer34 - 08-26-2014

very neat, can you set a warp to it?


RE: Wave Generator/ O-Scope - Legofreak - 08-26-2014

I'll set a warp when I get a good enough version that other people could use. But if you /warp rekdir , it's near the end of the platform.

Its neat when you can tell the waves are cancelling, and then doubling. this is 2 of the same wave added together a little out of phase.
[Image: WAVEGEN5_zps16c47c2a.png]


RE: Wave Generator/ O-Scope - Legofreak - 08-26-2014

New O-Scope has 31 lines for more space when adding waves.
[Image: WAVEGEN6_zpsa4706f4a.png]

hooray lag!


RE: Wave Generator/ O-Scope - greatgamer34 - 08-26-2014

i love it. Keep up the great work!


RE: Wave Generator/ O-Scope - Legofreak - 08-27-2014

Last night I made something slightly resembling a sine wave. The function for it, at least on one setting, is:

+1,+2,+3,+3,+2,+1,+0,+0,-1,-2,-3,-3,-2,-1,-0,-0

It's a pretty simple pattern but kinda frustrating to time it properly considering each sum/difference has to happen every 2 ticks