Uniduino - Arduino for Unity

Now available on the Unity Asset Store! https://www.assetstore.unity3d.com/#/content/6804

// UNIDUINO - ARDUINO FOR UNITY

• Make your game an experience. Connect Arduino to Unity with Uniduino.

• Extensible. Use any electronic input or output that can connect to Arduino.

• Easy to use. Simple, Arduino-like code.

• Cross-platform. Works exactly the same on Mac and PC.

• Uniduino is a work-in progress. We’re here to gauge interest. Please post your thoughts!

Uniduino 1.2 has arrived on the asset store! We’ve got tutorials, playmaker support, and bug fixes. First up…

NEW TUTORIALS!
I decided to try a new format for the tutorials (text interspersed with gifs) It combines the speed of text tutorials with the visual clarity of video. I think it’s pretty awesome, but let me know what you think on this thread!
http://www.uniduino.com/tutorials/

Using a Servo
http://www.uniduino.com/kb/servo/

Using a Potentiometer with analogRead
http://www.uniduino.com/kb/potentiometer/

Using a Button with digitalRead
http://www.uniduino.com/kb/button/

PLAYMAKER!

Now you can use Uniduino with Playmaker! No programming required! The custom actions are included in the asset store package. Check out the tutorial below.

Playmaker
http://www.uniduino.com/kb/playmaker/

// ABOUT THE DEMO

The demo game for this video was made in Unity using C# and connected to Arduino with Uniduino and about a dozen lines of code to sync the in-game events with the fan and the lights. Hardware used: Arduino Uno, 1 fan, 6 lights, 2 solid state relay’s (as a connector between the fan/lights and arduino), 1 ps3 controller, 1 hdtv.

Looks great. It will help to develop a huge amount of interesting projects, thank you!

Thank you, so, much…!!!

are you actually programming the aruduino from unity, or just interacting with arduino code running on the micro?

Ooh, sounds nifty!

Also, that video is quite funny! :smile:

To answer your question, Uniduino allows Unity to interact with software running on the Arduino board (which we’ll provide as part of the package of course) Unity then communicates with the arduino in real time over USB.

Oh, that is brilliant!

Maybe a sentence about what Arduino for the less… knowledgeable.

Oho. Colour me interested.

Check out http://arduino.cc/

from arduino.cc:

“Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It’s intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.”

as far as using Arduino with Unity, there are really 2 major categories of possibility

• custom controllers / input (flex sensors, temperature sensors, switches, knobs, etc…)
• real world feedback / output (fans, lights, fog machines, motors etc…)

Arduino recently came out with a controller board. Would be awesome to hook up to Unity using Uniduino. Check it out!

http://arduino.cc/en/Main/ArduinoBoardEsplora

God bless you !
It has been a lot of time that I was looking for such a plug in !
Can’t wait to see the progress !

I’m using “Processing”. It’s great but it doesn’t offer the graphic possibilities of Unity.

Great job.

Uniduino is a great idea. Looking forward to seeing how it works on a Mac - there’s been a serial bug in Unity ports for a long time that makes this difficult.

Esplora - I’ve been working with it for a few days and have hacked an OSC sketch in Processing to send all its data - accelerometer, slider, buttons, joystick, light sensor, microphone (temp sensor in next version) - to Unity or any program that understands OSC. The Unity demo project to listen to it is on its way but you can check out the Processing sketch here:

http://domebase.s3.amazonaws.com/Esplora/ProcessingEsploraOSC2.zip

It’s a first hack but it works.

Keep me posted about Uniduino.

Oh, this looks interesting indeed.

I am breaking my vow of lurker silence to let you know that I am interested.

Edit: Very interested.

Welcome to the community

Wow. This looks surprisingly awesome. WANT.

This looks awesome!

This looks really cool. Any idea when this would come out?

We don’t have a release date yet as we posted the video just to gauge interest. We started with the question “would anyone want this besides us?” and the answer has been an overwhelming YES!

Me and Lazer (the programming genius behind Uniduino) are currently re-arranging our schedules to make this happen as soon as possible.

Of course I’ll update this thread as we make progress.

  • EDWONNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN