Hi all,
I am having difficulties sending data from my arduino to my PC via a Sparkfun Bluetooth Mate.
I was initially sending data via USB, and had no problems. I thought using bluetooth would be simple, but just can't get it to work.
I'm fairly sure I'm missing a step...
Set-Up:
Arduino Micro powered by 9V battery
Sparkfun Bluetooth Mate
TX (pin 1) on arduino micro -> RX on Bluetooth Mate
RX (pin 0) on arduino micro -> TX on Bluetooth Mate
5V pin on arduino micro -> Vcc on Bluetooth Mate
Ground on arduino micro -> GND on Bluetooth Mate
Code:
void setup() {
// Set-up serial bluetooth connection
Serial.begin(115200); // Start serial at 115200
}
void loop() {
Serial.println("test");
}
If I use USB and connect via Tera Term (or Putty or whatever), then there is no problem.
If I use Bluetooth and connect via Tera Term, then the connection is made - as indicated by the LED on the Bluetooth Mate, but no data appears to be transferred.
Other points:
Examples on the Sparkfun website use digital pins as the RX TX, but I can't do this as I am using them for other things, so need to use the Arduino RX and TX.
The USB is unplugged and arduino reset before I try to connect via Bluetooth.
Thank you! I'm sure I'm just missing a simple step somewhere!