Author Topic: Sparkfun BlueSMiRF - Arduino Communication  (Read 418 times)

0 Members and 1 Guest are viewing this topic.

Offline simba15Topic starter

  • Regular Contributor
  • *
  • Posts: 120
  • Country: ca
Sparkfun BlueSMiRF - Arduino Communication
« on: November 21, 2022, 07:51:04 pm »
Hi there EEVblog,

I have purchased a couple of sparkfun BlueSMiRF Bluetooth modules and intend to use them with Arduino.

I have followed the instructions at
https://learn.sparkfun.com/tutorials/using-the-bluesmirf/introduction?_ga=2.130510221.300646374.1669038264-572122409.1669038264

When I get to the page where I should receive data from the device but I get nothing.
https://learn.sparkfun.com/tutorials/using-the-bluesmirf/example-code-using-command-mo
I send $$$ and the device changes into "Configuration Mode" but there is no data from the device. ( I have tried another cable and other pins ( 4/5) but no change).

I have tried a few alternatives and other version of the code but all seem to have no ability to return any data from the device.

I also tried the steps to connect to a PC and the Pc always responds with  error 1186 when trying to open the com port. ( I was able to get 1 connection, but the pc was in raw not line mode)

Any suggestions or solutions would be greatly appreciated ( or alternatives that have better results)

Thanks,
 

Offline simba15Topic starter

  • Regular Contributor
  • *
  • Posts: 120
  • Country: ca
Re: Sparkfun BlueSMiRF - Arduino Communication
« Reply #1 on: November 22, 2022, 04:27:06 pm »
So turns out the issue is the Arduino Mega that was used.

It is an official Arduino Mega ( I have about 20, all work the same) but when I tested this setup with an Arduino UNO (official also) It works perfect.

I have seen other issues with the Arduino Mega ( Clone but it would lockup when enabling the watchdog timer).

Or just RTFM, Arduino mega has specific pins for SoftwareSerial library.

« Last Edit: November 22, 2022, 08:32:32 pm by simba15 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf