microController BT 1.2

License: Free ‎File size: 122.68 MB
‎Users Rating: 4.0/5 - ‎1 ‎votes

Add a highly customizable programmable Bluetooth control panel to your electronics projects with microController BT. Drag, drop, resize and edit widgets to build the perfect controller for your microcontroller.While designed with the Arduino microcontroller in mind, using low cost Bluetooth transceivers, microController BT should work with most projects that support serial communication and most Bluetooth transceivers that support SPP.microController BT outputs standard 2 byte messages. The messages contain a key (0-255) and a value (0-255). For monitoring output, it listens for a standard 3 byte message. This message should contain a key (0-255), a highByte and a lowByte representing a value (0-1023).outgoing: (key, value)incoming: (key, highByte(value), lowByte(value))For simple projects, you can directly plug the standard 2 byte messages into the digitalWrite/analogWrite functions, as shown below. For more advanced projects, you may choose to listen for particular keys and route accordingly.void setup() { Serial.begin(9600); pinMode(13, OUTPUT); //set for each pin}void loop() { if (Serial.available() >= 2) { int key = Serial.read(); int val = Serial.read(); digitalWrite(key, val); }}To send values to microController BT for monitoring, simply write the standard 3 byte message to the serial port as shown below.Serial.write(key);Serial.write(highByte(val));Serial.write(lowByte(val));microController BT also outputs standard 2 byte messages when certain application events occur. These messages are useful for projects that change based on application state.device connected: (0, 255)start edit mode: (0, 253)end edit mode: (0, 254)For more examples, see http://www.kvndev.com

VERSION HISTORY

  • Version 1.2 posted on 2013-05-12
    Several fixes and updates
  • Version 1.2 posted on 2013-05-12

Program Details