Перейти к содержимому
Mineforgian

ArduinoCraft

A mod that converts a redstone signal into Arduino's digitalWrite() and vice versa.

Загрузки
385
Подписчики
6
Обновлён
26 ноября 2025 г.
Лицензия
GPL-3.0-only

Опубликован 30 мая 2024 г.

ArduinoCraft

A Minecraft Fabric mod that allows redstone signals to interact with an Arduino and vice versa.

Please note that this was my first mod, and I'm still learning how to make mods, so there might be some bugs or issues. If you have any issues or questions, DM me on Discord @jamicah.

This mod is not only limited to Arduino. It should work with any microcontroller that supports Serial UART communication over USB.

NOTE: This mod requires a bit of knowledge about Arduino and Serial communication. If you are new to Arduino, I recommend checking out tutorials on Arduino and Serial communication first.

Features

  • Convert redstone signals to Arduino digital signals
  • Convert Arduino digital/analog signals to redstone signals

TODO:

  • A GUI menu for closing/opening communication with Arduino

How to use

Upload a sketch

You can choose an example sketch and upload it to your Arduino using the Arduino IDE (or whatever you use to upload ig). I'd recommend starting with the digitalRead/digitalWrite example to see how the communication works. Images for wiring are also included in the example folders.

Start

In Minecraft, place down the Arduino Block (from the redstone creative menu), plug in your Arduino and run the command

  • /arduino start <arduino port> output <baudrate>. Redstone to Arduino
  • /arduino start <arduino port> input <analog/digital> <baudrate>. Arduino to Redstone

NOTE: If you're not on Windows, you need to use quotes around the port name. For example, on Linux or MacOS, you might use /arduino start "/dev/ttyACM0" output 9600.

Stop

You may use the command /arduino stop to close the port. The mod will also stop when you quit the game.

How does it work?

ArduinoCraft communicates with the Arduino using Serial communication over USB.

When you use input, the mod will send a signal to the Arduino everytime the block receives redstone power to write high or low to the pin.

When you use output, the mod will check the pin and send a matching redstone signal to the block.

It is highly recommend that you look into the example sketches to see how the communication works.

Ченджлог

1.0.1Релиз1.20.4, 1.20.5, 1.20.6 · 26 ноября 2025 г.

ArduinoCraft 1.0.1

Analog redstone output

You can now use something like a potentiometer in real life to control the strength of the redstone signal! View this example sketch to see how.

Minor changes

  • The serial communication will now automatically close when exiting the world
  • Updated some of the examples for better readability
  • Some bug fixes
1.0.0Бета1.20.4, 1.20.5, 1.20.6 · 30 мая 2024 г.

Current feature(s)

  • A block called "Arduino Block" which takes redstone signals and converts it to digitalWrite()
  • Convert real life signals to redstone with digitalRead()

Комментарии

Загружаем…