-
Notifications
You must be signed in to change notification settings - Fork 3
Enabling Bluetooth
To enable Bluetooth in Rabbit GRBL, all you need to do is add the following two lines at the top of your Machine Configuration file:
// Enable Bluetooth
#define ENABLE_BLUETOOTH
// The device name that will appear during Bluetooth pairing
#define BT_DEVICE_NAME "MyMachineName"Replace "MyMachineName" with the name you want to appear in the Bluetooth device list of the connecting device (e.g. "MyCNC", "RabbitGRBL", etc.).
That's it! Rabbit GRBL will automatically use Bluetooth instead of USB Serial.
When Bluetooth is enabled, the USB Serial connection is automatically disabled.
Below is a real-world example from the Genmitsu 3030 ProVer machine configuration file
(3030_prover_rabbit_board_4axis_1_2_bluetooth.h):
#pragma once
#define MACHINE_NAME "Genmitsu 3030 ProVer"
// Enable Bluetooth
#define ENABLE_BLUETOOTH
#define BT_DEVICE_NAME "Genmitsu3030"
#define N_AXIS 4
#define DEFAULT_STEP_PULSE_MICROSECONDS 5 // $0
#define DEFAULT_STEPPER_IDLE_LOCK_TIME 255 // $1 - Keep motors always on
// ...Copyright (C) Nikolaos Siatras / SourceRabbit
Rabbit GRBL is licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later).
See the LICENSE file in the repository for full license text.
SourceRabbit® is a trademark of Nikolaos Siatras.
All other trademarks are property of their respective owners.