N4z Controller I Made For Mars Rover Challenge
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.
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.