Jump to content




Arduino - Programmable Arduino board in Minecraft!


  • You cannot reply to this topic
5 replies to this topic

#1 jv110

  • Members
  • 108 posts
  • LocationIn front of my PC

Posted 24 December 2014 - 10:59 PM

There's no ComputerCraft buildings section in this forum, so I guess this is the most appropriate section to post this.

Posted Image

I searched the Internet for an Arduino programmable board in Minecraft, didn't found one, so I made it myself! :)/>/>

It REQUIRES Project Red Lighting because of the built-in LED (the one in port 13) is a green light, also Project Red's wires are highly reccommended as it is a lot easier to make circuits with them.

Screenshots:
Spoiler

Download:
https://www.dropbox....rduino.zip?dl=0

The setup() and loop() functions are there, but you can't set one port on and off on the same loop() time, so the original LED blinking example doesn't work...
The board comes with a modified version of the blink example that doesn't need setup().

The ONLY current function is digitalWrite(port, HIGH or LOW)! You can't do digitalRead(), analogRead() or pinMode()!
Every time you turn on the board (it is on when the usb port's computer is on and off when the usb port's computer is off), you need to Upload, else it will keep waiting for the computer to upload a program to the board's microcontroller. And there's a bug where whenever you quit the editing, CraftOS will be started, you need to type "startup" or "reboot".

Any feedback is welcome!

Edited by jv110, 25 December 2014 - 05:23 AM.


#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 24 December 2014 - 11:41 PM

Your link gives a 403 Forbidden error. Please provide a correct link. A direct pastebin link to the program used on the computer would be a good idea as well.

#3 jv110

  • Members
  • 108 posts
  • LocationIn front of my PC

Posted 25 December 2014 - 05:17 AM

Sorry, fixed! Also, it uses multiple computers to control the entire board.

#4 Yevano

  • Members
  • 376 posts
  • LocationUSA

Posted 27 December 2014 - 12:13 AM

This makes me want to simulate a CPU and do hardware links between computers to each act as hardware devices!.

#5 jv110

  • Members
  • 108 posts
  • LocationIn front of my PC

Posted 27 December 2014 - 02:36 AM

View PostYevano, on 27 December 2014 - 12:13 AM, said:

This makes me want to simulate a CPU and do hardware links between computers to each act as hardware devices!.
Lol :P

#6 jv110

  • Members
  • 108 posts
  • LocationIn front of my PC

Posted 27 December 2014 - 10:15 PM

Working on digitalRead(), analogRead() and maybe even analogWrite()! And, of course, those analog input/outputs! (Ha!) :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users