Notices
MEGAsquirt A place to collectively sort out this megasquirt gizmo

Internal bluetooth module

Thread Tools
 
Search this Thread
 
Old Dec 24, 2012 | 10:27 AM
  #1  
WestfieldMX5's Avatar
Thread Starter
Senior Member
 
Joined: Nov 2007
Posts: 999
Total Cats: 73
From: Belgium
Default Internal bluetooth module

I installed one of those cheap ebay bluetooth modules in my MS3 today. Thought some of you might be interested in a how-to.
Old Dec 24, 2012 | 12:13 PM
  #2  
karter74's Avatar
Senior Member
iTrader: (4)
 
Joined: Feb 2006
Posts: 690
Total Cats: 23
From: Centennial, CO
Default

Very cool, with the MS tucked up under the dash, this is much easier to connect to!
Old Dec 24, 2012 | 12:18 PM
  #3  
Reverant's Avatar
Elite Member
iTrader: (10)
 
Joined: Jun 2006
Posts: 6,020
Total Cats: 369
From: Athens, Greece
Default

And did it work?
Old Dec 24, 2012 | 01:40 PM
  #4  
WestfieldMX5's Avatar
Thread Starter
Senior Member
 
Joined: Nov 2007
Posts: 999
Total Cats: 73
From: Belgium
Default

Yup, works great, both with Tunerstudio and Shadow Dash MS. Frame rate is about 12.
Range with the Nexus 7 is about 30ft with a direct line of sight to the antenna whereas with the Macbook Air I barely get 15ft.

Last edited by WestfieldMX5; Dec 24, 2012 at 07:56 PM. Reason: additional info
Old Jan 12, 2013 | 05:30 PM
  #5  
Loren's Avatar
Junior Member
 
Joined: Nov 2012
Posts: 72
Total Cats: 2
From: Safety Harbor, FL
Default

Just as another datapoint, I just installed one with the built-in 9-pin serial connectors. I didn't want to do an internal installation.

I mostly followed the instructions here:
$14 Bluetooth now working on MS2 - RX7Club.com

Except I learned that the jumper that he said to install for programming was not required (and apparently was HINDERING my efforts, as I found no reference to it in the device manual... and it worked once I removed it). Also note that the "reset button" that they refer to in that thread was not present on my board.

That said... with power applied and plugged into my trusty old Dell-with-a-serial-port, set Hyperterminal to 9600 8 N 1 w/ no Flow Control and it responded to an AT command (note that according to the manual, a CRLF is not required, it responds to commands 1 second after they are typed... which means about the only command you'll be able to manually enter is "AT"). Other commands were typed into Notepad and copy/pasted into Hyperterminal and received appropriate response.

I sent the command AT+VERSION to verify that I was talking to the correct device
I changed the name to "Fred" with the command AT+NAMEFred
I changed the pin with the command AT+PIN#### because I don't like to use defaults
I changed the baud rate to 115200 with the command AT+BAUD8

Then I disconnected power, reset Hyperterminal to 115200, reconnected and verified communication. All was well.

Installed the V+ jumper to the serial connector as-specified, plugged it into the MS, turned it on, found it, paired it, had TS search for it, found it and connected without issue!

I happened to have a 6' serial extension cable, so I plugged that in and have the Bluetooth module under the dash next to the radio. Seems to be working well so far.

No more data cable. WOOT!
Old Jan 13, 2013 | 06:23 AM
  #6  
WestfieldMX5's Avatar
Thread Starter
Senior Member
 
Joined: Nov 2007
Posts: 999
Total Cats: 73
From: Belgium
Default

I found that I still need a cable to load firmware or an msq.
Old Jan 13, 2013 | 11:41 AM
  #7  
Loren's Avatar
Junior Member
 
Joined: Nov 2012
Posts: 72
Total Cats: 2
From: Safety Harbor, FL
Default

I'm not sure I'd trust Bluetooth for a firmware load. Seems to be working okay for tuning, though. Mind you, I've only been tinkering in the driveway. Haven't gone out for a drive and tried to autotune or anything.

I was stunned at how easy it was to connect once I got the module settings configured.
Old Jan 13, 2013 | 05:28 PM
  #8  
Savington's Avatar
Former Vendor
iTrader: (31)
 
Joined: Nov 2006
Posts: 15,442
Total Cats: 2,106
From: Sunnyvale, CA
Default

Just FYI for NASA PT racers, they've banned this for 2013 (no wireless ECU connectivity allowed).
Old Jan 24, 2013 | 12:58 AM
  #9  
SJP0tato's Avatar
Junior Member
iTrader: (7)
 
Joined: Mar 2012
Posts: 356
Total Cats: 31
From: Gilbert, Az
Default

Quick q for you guys:
I've got mine hooked up with a USB->Serial adapter, am applying +5v/GND to the specified pins on the board (+5v to white, GND to blue in my pic) and the board LED blinks every 100ms or so:



I can't seem to connect to it either via putty in Windows, nor iTerm in OSX (both open the terminal window when trying to connect, but I can't input any commands and it hangs/does nothing when I try to enter commands/etc).

WestfieldMX5, you refer to connecting RX and TX to your converter, did you literally connect the two pins next to +5v/Gnd to the male port pins #3/#2 on the opposite side of the board? I'm just trying to set the baud rate, but can't progress beyond trying to connect to the bluetooth device in the first place.
Attached Thumbnails Internal bluetooth module-img_1584-medium-.jpg  
Old Jan 25, 2013 | 09:47 AM
  #10  
mrpham's Avatar
Newb
 
Joined: Oct 2011
Posts: 20
Total Cats: 1
Default

Hey SJP0tato.

I have the same module, have a look at my guide. Might be able to help.

Bluetooth x Megasquirt « omgpham…
Old Jan 25, 2013 | 01:48 PM
  #11  
3rdCarMX5's Avatar
Junior Member
iTrader: (1)
 
Joined: Jan 2011
Posts: 429
Total Cats: 8
From: PORTLAND
Default

I ordered my chip from the east orient and it must be traveling by ox because it has been 2+ weeks. I'm looking forward to ditching the laptop for day to day tweaks and changes, and gauges on my Note II. Anyone know if MSdroid will read knock?
Old Jan 25, 2013 | 02:07 PM
  #12  
WestfieldMX5's Avatar
Thread Starter
Senior Member
 
Joined: Nov 2007
Posts: 999
Total Cats: 73
From: Belgium
Default

Not to burst your bubble, but I had to wait about 6 weeks before I received mine.
Old Jan 25, 2013 | 02:21 PM
  #13  
Gryff's Avatar
Senior Member
iTrader: (6)
 
Joined: Aug 2009
Posts: 924
Total Cats: 16
From: Charlotte, NC
Default

Well damn, I may want to order that **** now then...
Old Jan 25, 2013 | 02:22 PM
  #14  
3rdCarMX5's Avatar
Junior Member
iTrader: (1)
 
Joined: Jan 2011
Posts: 429
Total Cats: 8
From: PORTLAND
Default

Yeah, but 'Merica...

I understand the whole thing, I'm just being impatient. Thanks again for your articles on your website.
Old Jan 25, 2013 | 06:50 PM
  #15  
SJP0tato's Avatar
Junior Member
iTrader: (7)
 
Joined: Mar 2012
Posts: 356
Total Cats: 31
From: Gilbert, Az
Default

Originally Posted by mrpham
Hey SJP0tato.

I have the same module, have a look at my guide. Might be able to help.

Bluetooth x Megasquirt « omgpham…
Thanks!

Turns out I was a moron, and it was connecting fine the whole time. I just needed to actually enter the commands (AT to get an "OK" response, etc).

I was going to do a write-up, but it looks like you've got it covered.
Old Jan 25, 2013 | 06:52 PM
  #16  
SJP0tato's Avatar
Junior Member
iTrader: (7)
 
Joined: Mar 2012
Posts: 356
Total Cats: 31
From: Gilbert, Az
Default

Originally Posted by WestfieldMX5
Not to burst your bubble, but I had to wait about 6 weeks before I received mine.
Did you order yours from ebay, or meritline/similar?

I got mine on ebay, paid $14, and it took maybe 1.5 weeks. Not too bad at all considering it came from Wuhan City, Hubei China
Old Jan 25, 2013 | 07:09 PM
  #17  
Jeff_Ciesielski's Avatar
Elite Member
iTrader: (10)
 
Joined: Oct 2008
Posts: 1,770
Total Cats: 31
From: Rhode Island
Default

Just a sidenote: With RFCOMM , there is a nondeterministic ~10-50ms break between packets. I don't know if I would trust this for autotuning.
Old Jan 25, 2013 | 07:35 PM
  #18  
mrpham's Avatar
Newb
 
Joined: Oct 2011
Posts: 20
Total Cats: 1
Default

Took about 2-3 weeks for mine to arrive from China.
Old Jan 25, 2013 | 07:41 PM
  #19  
mrpham's Avatar
Newb
 
Joined: Oct 2011
Posts: 20
Total Cats: 1
Default

Originally Posted by Gryff
Well damn, I may want to order that **** now then...
I don't have permissions to PM, but this is the one I ordered and it looks like they increased the price by a few dollars.

DB9 RS232 Wireless transparent transfer Bluetooth Module HC-06 Slave Serial Port | eBay
Old Jan 25, 2013 | 10:11 PM
  #20  
Loren's Avatar
Junior Member
 
Joined: Nov 2012
Posts: 72
Total Cats: 2
From: Safety Harbor, FL
Default

I've done a bit more autotuning with mine lately. Still working well. Only problems I've had have been initial BT connection sometimes... and that seems to be the laptop, not the module. Once everything wakes up and connects, it stays connected.



All times are GMT -4. The time now is 11:57 PM.