Simple Bluetooth Joystick

In this post I will introduce a couple of Arduino scripts and the accompanying circuitry needed to make a very simple Bluetooth joystick. The first script simply provides you with all the basic code needed to read from a simple PS2 style joystick. This script is then expanded to include the capability for joystick calibration. Calculated calibration values are saved to the micro-controllers EEPROM so that they can be automatically retrieved next time the hardware is connected. ...more

Setting up a Bluetooth Mate

Here we have a quick tip type post detailing how to configure a spartkfun Bluetooth Mate for micro-controller based serial communication. To this end I will detail how to change both the Baudrate (bits per secondĀ for serial data transmission) and the name of such a modem. Once you understand the basic method needed for communicating with these devices, you will be able individually customise them to match the bespoke needs of your project; including features such as setting the devices password and enabling and disabling authentication. ...more

Adding Events to the Serialport Script

In this post I present an update to Unity3D Serialport Script so that it includes an event trigger that can notify any other Unity3D MonoBehaviour that serial data has been received and then parsed. Included within the event is both the parsed data and the raw data so that the notified behaviour can respond accordingly. ...more

Simple Serial String Parsing

One of the initial requirements I came across whilst developing with the Arduino platform, as with the Netduino platform, was the need for effective 2 way serial communication between both the Arduino(s) and my desktop. Luckily, the Arduino software provides several examples that can get you up and running with serial communication in no time. ...more

Netduino – Serial Communication

Update: check outĀ  my netduino-serialporthelper-to-winform-and-xna post - based on code provided by hari over at the Netduino forums its a much better way to do it! The following details simple 2 way Communication with a Windows Forms App - Rudimentary packet handling has been implemented via inclusion of an additional byte to the beginning of the packet which details the length of the string to be sent to the Netduino. Once received the device filters the incoming data and recreates the string. A simple switch statement is then used to trigger functionality. To see it in action, check out the featured video. ...more