
ArduinoCraft
A mod that converts a redstone signal into Arduino's digitalWrite() and vice versa.
About this Mod
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.
Available Versions
How to Install ArduinoCraft on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.6).
Install Mod
Open the mod browser in the dashboard and search for "ArduinoCraft". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.6, 1.20.5, 1.20.4
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
ArduinoCraft server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.6). You can switch loaders with one click in the panel.
Is ArduinoCraft compatible with fabric?
ArduinoCraft officially supports fabric for Minecraft 1.20.6, 1.20.5, 1.20.4. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with ArduinoCraft – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if ArduinoCraft consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install ArduinoCraft with just one click on your server.