Page 2 of 2

Posted: Thu May 09, 2013 01:40
by Evergreen
Inocudom wrote:Some people may not know this, but mese blocks themselves transmit signals (though using mesecon wires is much more resource efficient.) I am glad that there is a site that gives tutorials on how to build various things. One day, there might be mesecon machines that are truly fun to play with (like games and such.)
You know what, you just gave me the idea of making Death-Swap in minetest. :D

Posted: Thu May 09, 2013 17:55
by Death Dealer
Very nice work. i haven't been on the scene for awhile, but i am an advanced redstone user. ive made clock's and microcontroller with redstone, etc etc. some of this stuff look like Elorams (probably spelt that wrong) mod Redpower with the 1/8 slab repeater type logic gates all in one. seeing this diffidently make me curious as to whats possible. ^_^

Posted: Sat Jun 01, 2013 16:30
by lonely
I would like to write about my aperture map because it is depending mesecons VERY MUCH. Here linked:http://forum.minetest.net/viewtopic.php?id=5917

Posted: Sat Jun 01, 2013 16:37
by Temperest
That would be excellent. If you need any help or information then let me know.

Posted: Sat Jun 01, 2013 16:40
by Nore
Did you try to make utility machines with Technic frames? I just made a quarry (that is lagging the server a lot...) I could make a schematic, if you want.

Posted: Sun Aug 18, 2013 11:19
by Dan Duncombe
Can anyone give me the luacontroller code to output a mesecon signal from ports A and B, switching on/off about 2 times per second? So a 1/2 a second clock

Posted: Sun Aug 18, 2013 17:57
by Temperest

Code: Select all

interrupt(0.5, "test")
if event.iid == "test" then
  port.a, port.b = not port.a, not port.b
end

Posted: Sun Aug 18, 2013 18:19
by Dan Duncombe
Temperest wrote:

Code: Select all

interrupt(0.5, "test")
if event.iid == "test" then
  port.a, port.b = not port.a, not port.b
end
Thanks :)

Re: The Mesecons Laboratory

Posted: Sat Nov 01, 2014 00:54
by markbe
Hi
I am trying to get the double piston to work as per the lab page but with only two outputs. I got it working with two switches and no controller but can't replicate the sequence of switching with LUA. Please can someone help me fix it?

Switch sequence (without controller) was as follows:
extend pistons = SW1 on, SW2 on
retract pistons = SW 2 off, then SW1 off then SW 2 on, then SW2 off

the LUA I have now is as follows (port.c is control):

Code: Select all

if event.iid == "pull1" then
  port.a = false
  interrupt(0.2, "push2")
elseif event.iid == "push2" then
  port.b = true
  interrupt(0.2, "pull2")
elseif event.iid == "pull2" then
  port.b = false
else
if pin.c then --extend
    port.a = true
    port.b = true
  else --retract
    port.b = false
    interrupt(0.2, "pull1")
  end
end
The extend part of the sequence works but retract keeps repeating the "push2" and "pull2" indefinately

Re: The Mesecons Laboratory

Posted: Sun Nov 02, 2014 14:58
by davedevils
i like it ! it's remember to me a old minecraft series :D

Labocraft :P http://www.youtube.com/playlist?list=PLDF06383A4B329B37

Re: The Mesecons Laboratory

Posted: Mon Dec 29, 2014 00:49
by Jesseman1
Since I don't know where else to look, can someone please tell me how to make doors open with mesecon? I tried the redstone way but it didnt work.

Re: The Mesecons Laboratory

Posted: Sun Dec 06, 2015 00:24
by benrob0329
***bump***

Can I submit my own designs?

Re: The Mesecons Laboratory

Posted: Sun Dec 06, 2015 02:01
by Temperest
Hi benrob0329,

I don't really have the time to update this much any more, but I'd be happy to accept submissions! Simply post it in this thread or email me with the details, and I'll add it to the site.

Re: The Mesecons Laboratory

Posted: Mon Dec 07, 2015 03:37
by benrob0329
Would this be worth putting up on the website?

Image

Image

Image

It's a password protected door, and the door part could be used with or without a Luacontroller.

Re: The Mesecons Laboratory

Posted: Mon Dec 07, 2015 04:53
by Temperest
That's a nice project! If you send me the write-up, I'll add it as a new post.

Re: The Mesecons Laboratory

Posted: Mon Mar 13, 2017 17:06
by the_raven_262
Is this Project dead?
If not, I would love to see more tutorials to try to build things. :)
(I am still learning on how to use mesecons at all oO)

Re: The Mesecons Laboratory

Posted: Thu Apr 27, 2017 12:15
by juli
Should i add my 8-Bit RAM (with fpgas only) here? :)

Re: The Mesecons Laboratory

Posted: Fri Apr 28, 2017 14:55
by Desour
Spoiler
I made a simple node swapper:
Image
screenshot_20170428_163358.png
screenshot_20170428_163358.png (43.73 KiB) Viewed 1158 times
Image
screenshot_20170428_163423.png
screenshot_20170428_163423.png (140.74 KiB) Viewed 1158 times

This is also very easily possible with the help of a luacontroller:
Image
screenshot_20170428_163434.png
screenshot_20170428_163434.png (96.29 KiB) Viewed 1158 times
Luacontroller code:

Code: Select all

if event.type == "program" and not mem.side then
 mem.side = "c"
elseif event.type == "on" then
 port.b = false
 interrupt(0.1, 1)
elseif event.type == "interrupt" and event.iid == 1 then
 port[mem.side] = true
 interrupt(0.1, 2)
elseif event.type == "interrupt" and event.iid == 2 then
 port[mem.side] = false
 port.b = true
 if mem.side == "c" then
  mem.side = "a"
 else
  mem.side = "c"
 end
end

Re: The Mesecons Laboratory

Posted: Sun Jul 16, 2017 17:20
by Brackston
I was trying to build the Tic Tac Toe Machine from here:
http://uberi.mesecons.net/projects/TicTacToe/index.html
However it does not work.

I had to change the code for the push button Lua Controllers:
Below is the code for the lower row Lua Controller.

The lines we are concerned with is the "if" and "elseif" lines.
You will need to change the code in all 3 controllers

Old Code:

Code: Select all

if event.type == "on" then
  if event.pin == "A" then             <--- Change this line to    if pin.a then
    digiline_send("press", "12")
  elseif event.pin == "B" then      <--- Change this line to    if pin.b then
    digiline_send("press", "11")
  elseif event.pin == "D" then      <--- Change this line to    if pin.d then
    digiline_send("press", "13")
  end/join #a
end
New Code should look like this

Code: Select all

 if pin.a then
    digiline_send("press", "12")
  elseif pin.b then
    digiline_send("press", "11")
  elseif pin.d then
    digiline_send("press", "13")
 end
end
Also if you are using the WorldEdit file (TicTacToe.we) you will need to change the lua controller code for the lights indicating who's turn it is.
Old Code:

Code: Select all

port.b = not pin.d
New Code:

Code: Select all

if pin.d then
port.b = false
elseif not pin.d then
port.b = true
end
I needed to separate the lights from the push button switches and also from each other.
Image

Here Is my build:
Image
I hope this helps anyone wanting to use the wonderful game of Tic Tac Toe
I tested it with version 4.16 and it works.

Brackston

Re: The Mesecons Laboratory

Posted: Sun Apr 22, 2018 20:55
by codexp

Code: Select all

local row = 3
if "on" == event.type then
  if event.pin.name == "B" then
    digiline_send("key", 1 .. row)
  elseif event.pin.name == "A" then
    digiline_send("key", 2 .. row)
  elseif event.pin.name == "D" then
    digiline_send("key", 3 .. row)
  end
end

Re:

Posted: Mon Apr 23, 2018 01:49
by hajo
Nore wrote:Did you try to make utility machines with Technic frames?
I haven't used technic & pipeworks yet, but 'utility machines' with mesecons would be nice.
I mean, clocks, processors, doors etc. are cool, but not really useful.

Maybe I missed something, but how is it possible to do useful work with mesecons,
like harvesting&planting, and producing&moving stuff ?
Eg. getting materials in and out of a furnace, or sorting stuff into chests ?

Re: The Mesecons Laboratory

Posted: Fri Jun 07, 2019 11:55
by Miniontoby
Temperest wrote:New article!

Image

The digital clock does exactly what you'd expect it to - it tells the time.

This one also covers the creation of a very compact 7 segment display plus a built-in driver for the digits 0-9.

It doesn't work by me. I get a "msg" error by all the lua controllers

Now it does work a bit and i'm trying to make a analog clock