N4z Pod Controller

25 Jun

N4z Controller I Made For Mars Rover ChallengeImage

For the past year in my spare time, as a hobby I have been tinkering with electronics mainly the Arduino Dev Board. I am very interested in the mechanics of input devices mainly.

‘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. ‘
ARDUINO.ORG.2012.Arduino.[WWW] http://www.arduino.cc/ (2 July 2012).

The Arduino is connected to a computer via the USB port, it has the facility which allows multiple inputs from multiple sensors which then can control surroundings by controlling lights , motors and many other  electronic objects from code sent from the Arduino IDE

I started by wiring the potentiometers to a prototype board.

Image

I then had to program this with the  Arduino IDE so values can be sent to a serialport on the computer, the values then could be read by a script in Unity.

I had to create a pipeline using multiple programming languages, from Arduino IDE to C# ad then to Javascript to make the controller work.

The Controller has 3 dials which have their own functions, the first dial controls the direction of the Rover in the game, the second dial controls the acceleration of the rover and the third dial controls the orientation.

It was a great little project which i really enjoyed, it wasn’t part of our curriculum but it was a good addition to my final game project, which had a astounding response from lecturers and students.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: