MEGAsquirt A place to collectively sort out this megasquirt gizmo

Internal bluetooth module

Thread Tools
 
Search this Thread
 
Old 12-24-2012, 10:27 AM
  #1  
Senior Member
Thread Starter
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
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.
WestfieldMX5 is offline  
Old 12-24-2012, 12:13 PM
  #2  
Senior Member
iTrader: (4)
 
karter74's Avatar
 
Join Date: Feb 2006
Location: Centennial, CO
Posts: 684
Total Cats: 23
Default

Very cool, with the MS tucked up under the dash, this is much easier to connect to!
karter74 is offline  
Old 12-24-2012, 12:18 PM
  #3  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

And did it work?
Reverant is offline  
Old 12-24-2012, 01:40 PM
  #4  
Senior Member
Thread Starter
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
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; 12-24-2012 at 07:56 PM. Reason: additional info
WestfieldMX5 is offline  
Old 01-12-2013, 05:30 PM
  #5  
Junior Member
 
Loren's Avatar
 
Join Date: Nov 2012
Location: Safety Harbor, FL
Posts: 72
Total Cats: 2
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!
Loren is offline  
Old 01-13-2013, 06:23 AM
  #6  
Senior Member
Thread Starter
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default

I found that I still need a cable to load firmware or an msq.
WestfieldMX5 is offline  
Old 01-13-2013, 11:41 AM
  #7  
Junior Member
 
Loren's Avatar
 
Join Date: Nov 2012
Location: Safety Harbor, FL
Posts: 72
Total Cats: 2
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.
Loren is offline  
Old 01-13-2013, 05:28 PM
  #8  
Former Vendor
iTrader: (31)
 
Savington's Avatar
 
Join Date: Nov 2006
Location: Sunnyvale, CA
Posts: 15,442
Total Cats: 2,099
Default

Just FYI for NASA PT racers, they've banned this for 2013 (no wireless ECU connectivity allowed).
Savington is offline  
Old 01-24-2013, 12:58 AM
  #9  
Junior Member
iTrader: (7)
 
SJP0tato's Avatar
 
Join Date: Mar 2012
Location: Gilbert, Az
Posts: 356
Total Cats: 31
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  
SJP0tato is offline  
Old 01-25-2013, 09:47 AM
  #10  
Newb
 
mrpham's Avatar
 
Join Date: 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…
mrpham is offline  
Old 01-25-2013, 01:48 PM
  #11  
Junior Member
iTrader: (1)
 
3rdCarMX5's Avatar
 
Join Date: Jan 2011
Location: PORTLAND
Posts: 421
Total Cats: 5
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?
3rdCarMX5 is offline  
Old 01-25-2013, 02:07 PM
  #12  
Senior Member
Thread Starter
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default

Not to burst your bubble, but I had to wait about 6 weeks before I received mine.
WestfieldMX5 is offline  
Old 01-25-2013, 02:21 PM
  #13  
Senior Member
iTrader: (6)
 
Gryff's Avatar
 
Join Date: Aug 2009
Location: Charlotte, NC
Posts: 924
Total Cats: 16
Default

Well damn, I may want to order that **** now then...
Gryff is offline  
Old 01-25-2013, 02:22 PM
  #14  
Junior Member
iTrader: (1)
 
3rdCarMX5's Avatar
 
Join Date: Jan 2011
Location: PORTLAND
Posts: 421
Total Cats: 5
Default

Yeah, but 'Merica...

I understand the whole thing, I'm just being impatient. Thanks again for your articles on your website.
3rdCarMX5 is offline  
Old 01-25-2013, 06:50 PM
  #15  
Junior Member
iTrader: (7)
 
SJP0tato's Avatar
 
Join Date: Mar 2012
Location: Gilbert, Az
Posts: 356
Total Cats: 31
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.
SJP0tato is offline  
Old 01-25-2013, 06:52 PM
  #16  
Junior Member
iTrader: (7)
 
SJP0tato's Avatar
 
Join Date: Mar 2012
Location: Gilbert, Az
Posts: 356
Total Cats: 31
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
SJP0tato is offline  
Old 01-25-2013, 07:09 PM
  #17  
Elite Member
iTrader: (10)
 
Jeff_Ciesielski's Avatar
 
Join Date: Oct 2008
Location: Rhode Island
Posts: 1,770
Total Cats: 31
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.
Jeff_Ciesielski is offline  
Old 01-25-2013, 07:35 PM
  #18  
Newb
 
mrpham's Avatar
 
Join Date: Oct 2011
Posts: 20
Total Cats: 1
Default

Took about 2-3 weeks for mine to arrive from China.
mrpham is offline  
Old 01-25-2013, 07:41 PM
  #19  
Newb
 
mrpham's Avatar
 
Join Date: 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
mrpham is offline  
Old 01-25-2013, 10:11 PM
  #20  
Junior Member
 
Loren's Avatar
 
Join Date: Nov 2012
Location: Safety Harbor, FL
Posts: 72
Total Cats: 2
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.
Loren is offline  


Quick Reply: Internal bluetooth module



All times are GMT -4. The time now is 02:28 AM.