Загрузка...

Minecraft how to make a simple redstone calculator.

1. The Core Concept: The Half-AdderTo build a simple calculator that can add $1 + 1$, you need a Half-Adder. This circuit takes two inputs and produces two outputs: the Sum and the Carry.Logic Gate 1 (XOR): This handles the "Sum." If you flip one lever, the light turns on. If you flip both, the light turns off (because $1 + 1 = 0$ in binary for that specific column).Logic Gate 2 (AND): This handles the "Carry." If both levers are flipped, this circuit activates a second lamp (representing the number 2).2. Required MaterialsBuilding Blocks: (Wool is great for color-coding different circuits).Redstone Dust: The "wiring."Redstone Torches: To invert signals and create gates.Redstone Repeaters: To keep the signal strong and timed correctly.Levers: Your input buttons.Redstone Lamps: Your display screen.3. Step-by-Step ConstructionStep A: The XOR Gate (The "Sum")This is the "either-or" gate. You want the output to be ON if Lever A or Lever B is flipped, but OFF if both are flipped.Place two blocks with levers on them.Build a standard XOR gate layout behind them using torches and dust.Connect the output of this gate to your first Redstone Lamp. This lamp represents the value of 1.Step B: The AND Gate (The "Carry")This gate only turns on if both inputs are active.Run a wire from both Input A and Input B into an AND gate (usually two torches on the side of blocks with a torch in the middle).Connect the output of this gate to your second Redstone Lamp. This lamp represents the value of 2.Step C: Testing the MathInput A only: XOR turns on. Lamp 1 (Value 1) lights up. Result: 1Input B only: XOR turns on. Lamp 1 (Value 1) lights up. Result: 1Input A + B: AND turns on, XOR turns off. Lamp 2 (Value 2) lights up. Result: 24. Expanding to a Full AdderIf you want to add larger numbers (like $2 + 2$), you simply "stack" these Half-Adders. The Carry output from the first adder becomes an input for the next one. This is how you build a "Ripple Carry Adder," which is the foundation of real-world computer CPUs!Pro Tip: Use different colors of wool for your wiring. Use Blue for inputs, Red for the XOR gates, and Green for the Carry lines. It makes troubleshooting a "short circuit" much easier when your math starts acting funky.

Видео Minecraft how to make a simple redstone calculator. канала minecraft kaleo 007
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять