From a2336b82fd34a531eb8a3f4d9acccebce3a3b3a2 Mon Sep 17 00:00:00 2001 From: Christopher Stone Date: Wed, 7 Mar 2018 17:03:17 +0000 Subject: [PATCH] Renamed note to better reflect contents --- robots/little_john/telemetry/code/connecting_serial_over_bluetooth.txt | 19 +++++++++++++++++++ robots/little_john/telemetry/code/note_on_bluetooth_serial_setup.txt | 19 ------------------- 2 files changed, 19 insertions(+), 19 deletions(-) create mode 100644 robots/little_john/telemetry/code/connecting_serial_over_bluetooth.txt delete mode 100644 robots/little_john/telemetry/code/note_on_bluetooth_serial_setup.txt diff --git a/robots/little_john/telemetry/code/connecting_serial_over_bluetooth.txt b/robots/little_john/telemetry/code/connecting_serial_over_bluetooth.txt new file mode 100644 index 0000000..a5353b6 --- /dev/null +++ b/robots/little_john/telemetry/code/connecting_serial_over_bluetooth.txt @@ -0,0 +1,19 @@ +# How to connect to the telemetry system over Bluetooth +These notes are based on experiences with Debian 9 (Stretch). A very similar approach should work for many other Linux distributions, but not other operating systems! + * First, ensure you have all the standard Bluetooth tools installed. Most systems will have installed these by default. + * Pair the Bluetooth module with your computer, with reference to the following details, (Common GUI tools are sufficient for this) + * MAC Address: 00:14:03:06:44:7C + * Name: Little_John + * Passcode: 3141 + * In a terminal, run "rfcomm connect rfcomm0 00:14:03:06:44:7C" to connect the device to a virtual serial port. (Check you have sufficient permissions for this) + * There is now a serial port at /dev/rfcomm0, configured for 115200 / 8N1. This can be used like any other serial port. + +# Configuring the Bluetooth module +This should only need doing infrequently, and is well documented on the web. The key points are: + * Use an Arduino running the serial-forwarding code in this repo to bridge between the hardware and software serial ports. + * While powering the module up, pull the "EN" pin High to enter configuration mode + * While in this mode, the module runs at 38400 Baud + * Commands must end with both \r and \n + * Sending "AT" should produce the response "OK" +If in doubt, try visiting http://www.techbitar.com/modify-the-hc-05-bluetooth-module-defaults-using-at-commands.html + diff --git a/robots/little_john/telemetry/code/note_on_bluetooth_serial_setup.txt b/robots/little_john/telemetry/code/note_on_bluetooth_serial_setup.txt deleted file mode 100644 index a5353b6..0000000 --- a/robots/little_john/telemetry/code/note_on_bluetooth_serial_setup.txt +++ /dev/null @@ -1,19 +0,0 @@ -# How to connect to the telemetry system over Bluetooth -These notes are based on experiences with Debian 9 (Stretch). A very similar approach should work for many other Linux distributions, but not other operating systems! - * First, ensure you have all the standard Bluetooth tools installed. Most systems will have installed these by default. - * Pair the Bluetooth module with your computer, with reference to the following details, (Common GUI tools are sufficient for this) - * MAC Address: 00:14:03:06:44:7C - * Name: Little_John - * Passcode: 3141 - * In a terminal, run "rfcomm connect rfcomm0 00:14:03:06:44:7C" to connect the device to a virtual serial port. (Check you have sufficient permissions for this) - * There is now a serial port at /dev/rfcomm0, configured for 115200 / 8N1. This can be used like any other serial port. - -# Configuring the Bluetooth module -This should only need doing infrequently, and is well documented on the web. The key points are: - * Use an Arduino running the serial-forwarding code in this repo to bridge between the hardware and software serial ports. - * While powering the module up, pull the "EN" pin High to enter configuration mode - * While in this mode, the module runs at 38400 Baud - * Commands must end with both \r and \n - * Sending "AT" should produce the response "OK" -If in doubt, try visiting http://www.techbitar.com/modify-the-hc-05-bluetooth-module-defaults-using-at-commands.html - -- libgit2 0.21.2