$7 bluetooth WORKING on MS1!

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

$7 bluetooth WORKING on MS1!

Postby t_cel_t » Sat Feb 04, 2012 5:25 pm

haven't seen anyone do a writeup or even say they got this cheapo bluetooth working. no need for a $70 class 1 .
this should work for the ms2 or 3 if you change the baud rate on the bluetooth with hyper terminal.
using this
Image
ebay=> similar to this(shop around) auction

for some reason these do not like to talk through the db9 on the MS.
i made a jumper off the db9
pin1=5v
pin5=ground
you dont need to get the power and ground from here, you can take it from the proto area if your going to keep the bluetooth inside the ms case.

RX=pin 13 on processor, or pin 12 on rs232 chip
TX=pin 12 on processor, or pin 11 on rs232 chip
schematics page=> http://msextra.com/doc/general/ms1v3schems.html

i just soldered some small wires to the underside of the rs232 chip and ran them out the front of the case, then soldered them to the rx and tx pins on the bluetooth.
thats it. this way i just pull the connector and i can plug my laptop in with a serial cable(that is untill i get bluetooth for my laptop :D )
range is not an issue, once i connect with my phone i kept a connection to the MS through 4 walls and about 60feet. it only then started to miss some reads, displays around 12.5 reads a second.
Image

Image

Image

Image

Image
91 tercel
MS1V3 extra o29y
stock 5efe+turbo
10 pounds has yet to turn me out
t_cel_t
Helpful MS/Extra'er
 
Posts: 43
Joined: Wed May 19, 2010 6:22 pm
Location: madison, wi

Re: $7 bluetooth WORKING on MS1!

Postby ol boy » Mon Feb 06, 2012 7:44 pm

what type of range do you get out of your set up?
289 SBFord, Dual GM TBI, 8 LS2 coils in waste spark and a TURBO!, MS2extra 3.4a4
ol boy
Master MS/Extra'er
 
Posts: 686
Joined: Mon Sep 10, 2007 3:06 am
Location: Tucson, Az

Re: $7 bluetooth WORKING on MS1!

Postby t_cel_t » Tue Feb 07, 2012 12:16 am

ol boy wrote:what type of range do you get out of your set up?

t_cel_t wrote:range is not an issue, once i connect with my phone i kept a connection to the MS through 4 walls and about 60feet. it only then started to miss some reads, displays around 12.5 reads a second.
91 tercel
MS1V3 extra o29y
stock 5efe+turbo
10 pounds has yet to turn me out
t_cel_t
Helpful MS/Extra'er
 
Posts: 43
Joined: Wed May 19, 2010 6:22 pm
Location: madison, wi

Re: $7 bluetooth WORKING on MS1!

Postby gndan » Wed Feb 15, 2012 9:36 am

"this should work for the ms2 or 3 if you change the baud rate on the bluetooth with hyper terminal."

What do you mean by this? I have 3 MS3s and am very interested in doing this. Is hyper terminal a program or a function in Tuner Studio?

,Dan
gndan
Experienced MS/Extra'er
 
Posts: 183
Joined: Mon Nov 15, 2010 6:52 pm

Re: $7 bluetooth WORKING on MS1!

Postby rx7locost » Wed Feb 15, 2012 10:55 am

I am running a similar BT module with TS and my MS2. My module includes the MAX232 rs232 level shifter and DB9 connector. For me, it is a complete solution only requiring some software adjustments; no wiring changes. However, several others have had some problems getting it up and running. In fact, I've tried installing TS and my BT module on a 2nd laptop running WIN7 and had problems with that install. That was resolved by upgrading TS to V1.21beta. I see that both your implementation and mine include the Linvor BT module. Is you BT module loaded with Linvor v1.5 firmware?

Continue working on this. I will be following this thread as others try to implement your solution.

FYI, our trials and tribulations can be tracked here: http://www.rx7club.com/showthread.php?t=975008
rx7locost
MS/Extra Newbie
 
Posts: 18
Joined: Mon Mar 09, 2009 7:28 am

Re: $7 bluetooth WORKING on MS1!

Postby t_cel_t » Sun Feb 19, 2012 3:13 pm

gndan wrote:"this should work for the ms2 or 3 if you change the baud rate on the bluetooth with hyper terminal."

What do you mean by this? I have 3 MS3s and am very interested in doing this. Is hyper terminal a program or a function in Tuner Studio?

,Dan

http://www.e-gizmo.com/KIT/images/EGBT- ... %201r0.pdf
check out this datasheet/manual. its has the at codes for programming it for different speeds. just need an old serial cable and 4 jumper wires to hook it up to you computer, use hyperterminal to change the baud rate(the commands are in that manual) and it should work.


hyperterminal is a program that talks through any port, its included on every PC
91 tercel
MS1V3 extra o29y
stock 5efe+turbo
10 pounds has yet to turn me out
t_cel_t
Helpful MS/Extra'er
 
Posts: 43
Joined: Wed May 19, 2010 6:22 pm
Location: madison, wi

Re: $7 bluetooth WORKING on MS1!

Postby racingmini_mtl » Sun Feb 19, 2012 3:30 pm

t_cel_t wrote:...

hyperterminal is a program that talks through any port, its included on every PC

Not on Win 7.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
racingmini_mtl
Super MS/Extra'er
 
Posts: 6362
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada

Re: $7 bluetooth WORKING on MS1!

Postby elaw » Tue Feb 21, 2012 7:28 am

racingmini_mtl wrote:
t_cel_t wrote:...

hyperterminal is a program that talks through any port, its included on every PC

Not on Win 7.

Jean

Unless you copy it from an XP box (http://brianshowto.com/?p=35) 8)
Eric Law
1990 Audi 80 Quattro with AAN turbo engine: happily running on MS3+MS3X
1997 Saab 9000 Aero: self-tweaked stock engine management (and stock engine)
1986 Audi 4000 Quattro: R.I.P.

Be alert! America needs more lerts.
User avatar
elaw
Super MS/Extra'er
 
Posts: 2392
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

Re: $7 bluetooth WORKING on MS1!

Postby elaw » Tue Feb 21, 2012 7:34 am

Just to toss out another mini-success-story, I got this working on my MS3 setup with very little difficulty:
Image

A $15 bluetooth module from ebay, a homemade two-transistor TTL-to-RS232 level converter, and a USB bluetooth dongle for the laptop (< $2.00 on ebay!), a little configuring, and it works great!

The key trick, as indicated by other posters, is to connect directly to the module (via the serial port, not via bluetooth) and send the command "AT+BAUD8" to set its default baud rate to 115200. Then connect it to the Megasquirt, power it up and pair the device to your computer, fire up TS and point it to the bluetooth serial port, and you're done!

Not surprisingly, the data rate seems a bit limited with this setup. Mine seemed to "stutter" a bit at 15 frames/second so I reduced the rate to 10 and it seems solid.
Eric Law
1990 Audi 80 Quattro with AAN turbo engine: happily running on MS3+MS3X
1997 Saab 9000 Aero: self-tweaked stock engine management (and stock engine)
1986 Audi 4000 Quattro: R.I.P.

Be alert! America needs more lerts.
User avatar
elaw
Super MS/Extra'er
 
Posts: 2392
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

Re: $7 bluetooth WORKING on MS1!

Postby Ute_Man » Thu Feb 23, 2012 10:13 pm

I just ordered one of these as well. I didn't see any with that sub board in the 7$$ range. I went with the bare board for a little over 6$$ instead. I'll have to come up with a 3.3v regulator. Thanks for testing this thing out and posting your results. Now if only my Kindle Fire had working bluetooth, it'd make an excellent dashboard.
Ute_Man
MS/Extra Newbie
 
Posts: 7
Joined: Sun Feb 19, 2012 6:43 pm

Re: $7 bluetooth WORKING on MS1!

Postby tiagom » Thu Mar 01, 2012 9:26 am

Awesome, im defiantly going to have to try this. Did you have to put a RS232 to ttl converter in between the db9 and the Bluetooth adapter?
tiagom
MS/Extra Newbie
 
Posts: 14
Joined: Wed Jun 15, 2011 2:51 pm

Re: $7 bluetooth WORKING on MS1!

Postby t_cel_t » Sun Mar 04, 2012 11:56 pm

tiagom wrote:Awesome, im defiantly going to have to try this. Did you have to put a RS232 to ttl converter in between the db9 and the Bluetooth adapter?


i did not, i just ran mine right to the pins on the processor(ms1). elaw did thats why his talks right through the db9 with no internal connections. you can do it either way, my way for an internal instal or the other way to have it removable.
91 tercel
MS1V3 extra o29y
stock 5efe+turbo
10 pounds has yet to turn me out
t_cel_t
Helpful MS/Extra'er
 
Posts: 43
Joined: Wed May 19, 2010 6:22 pm
Location: madison, wi

Re: $7 bluetooth WORKING on MS1!

Postby sabretooth » Mon Mar 05, 2012 7:28 am

elaw wrote:Just to toss out another mini-success-story, I got this working on my MS3 setup with very little difficulty:
Image

A $15 bluetooth module from ebay, a homemade two-transistor TTL-to-RS232 level converter, and a USB bluetooth dongle for the laptop (< $2.00 on ebay!), a little configuring, and it works great!

The key trick, as indicated by other posters, is to connect directly to the module (via the serial port, not via bluetooth) and send the command "AT+BAUD8" to set its default baud rate to 115200. Then connect it to the Megasquirt, power it up and pair the device to your computer, fire up TS and point it to the bluetooth serial port, and you're done!

Not surprisingly, the data rate seems a bit limited with this setup. Mine seemed to "stutter" a bit at 15 frames/second so I reduced the rate to 10 and it seems solid.


Do you have a schematic for your TTL-to-RS232 level converter?
sabretooth
MS/Extra Newbie
 
Posts: 14
Joined: Thu Mar 01, 2012 4:55 am

Re: $7 bluetooth WORKING on MS1!

Postby elaw » Mon Mar 05, 2012 7:50 am

The circuit I built is based on the one on this page: http://www.uchobby.com/index.php/2007/06/11/ttl-to-rs232-adaptor-explained/.

Vcc comes from pin 1 (or 9) of the DB-9 connector (ie from the Megasquirt) and is also used to power the bluetooth module. I had to install a 10K resistor between the emitter and base of Q1 to match the module's 3.3-volt logic level. I used a 2N2222 for Q2 and a 1uF cap for C1 because that's what I had lying around. I omitted LED1, LED2, R6, and R7.

And for direct connection to the megasquirt (as opposed to using a null-modem cable), the connections to pins 2 and 3 on the DB-9 need to be reversed.
Eric Law
1990 Audi 80 Quattro with AAN turbo engine: happily running on MS3+MS3X
1997 Saab 9000 Aero: self-tweaked stock engine management (and stock engine)
1986 Audi 4000 Quattro: R.I.P.

Be alert! America needs more lerts.
User avatar
elaw
Super MS/Extra'er
 
Posts: 2392
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

Re: $7 bluetooth WORKING on MS1!

Postby tiagom » Mon Mar 05, 2012 1:32 pm

Could also use a MAX3232 for TTL-to-RS232. That is what i plan on doing, works out great since i have one laying around from toying with microprocessors.
tiagom
MS/Extra Newbie
 
Posts: 14
Joined: Wed Jun 15, 2011 2:51 pm

Re: $7 bluetooth WORKING on MS1!

Postby gndan » Tue Mar 06, 2012 10:13 pm

http://www.ebay.com/itm/1pcs-Wireless-B ... 6725351188

Here is a good option for a Bluetooth setup since its already 115200 Baud Rate. I have one that is 9600 Baud and am having a nightmare trying to get it to connect with my Windows 7 PC. I have tried all sorts of things like hyper terminal and Tera Term and cannot connect. The LED is blinking but nothing seems to work. I tried building a RS232 to TTL converter and nothing still using my USB to serial converter it seems that using huperterm i can "loop" the converter fine but it doesn't pick up the bluetooth. I bought a USB to TTL converter and am waiting for it to ship, hopefully that will work! Anyone have any other ideas?

,Dan
gndan
Experienced MS/Extra'er
 
Posts: 183
Joined: Mon Nov 15, 2010 6:52 pm

Re: $7 bluetooth WORKING on MS1!

Postby elaw » Wed Mar 07, 2012 5:35 am

I'd bet $20.00 that module does not default to 115200. Ebay sellers often, um, "take liberties" with product descriptions - that module looks like the same one everyone else is selling which comes from the factory set to 9600. It's possible that seller is taking every single one and plugging it into a test jig and resetting the baud rate but for the $8.00 price I'm skeptical.

A couple of tips on connecting: to set the baud rate you *must* connect to it from the "wired" side, not via Bluetooth. In fact from what I understand, if it's connected via Bluetooth you cannot set the baud rate even from the wired side. So the blinking LED is actually a good thing, it means the module isn't talking to anything over Bluetooth.

And now the point where I got tripped up: can you post a schematic or a link for your TTL-RS232 converter circuit? The circuit I used, and many others from what I can tell, will not work on those modules without modification. The reason is that while the module takes a +5 volt supply, it's got an onboard regulator and internally is actually 3.3 volt logic. So the module's "transmit" pin, the one that drives the PNP transistor that creates the TX signal going to the RS232 connector, only goes to 3.3 volts at its "high" logic state, not the 5 volts that the converter circuit expects. The 5-minus-3.3 volt difference is enough to keep the PNP transistor turned on all the time which makes the circuit not work. I fixed the problem on mine by adding a 10K resistor between the base and emitter of the PNP transistor.

One last tip: when you send commands to the module you do NOT need to end them with a carriage return/"newline"/CRLF/whatever you want to call it. Adding a CR/LF can actually make it not work.
Eric Law
1990 Audi 80 Quattro with AAN turbo engine: happily running on MS3+MS3X
1997 Saab 9000 Aero: self-tweaked stock engine management (and stock engine)
1986 Audi 4000 Quattro: R.I.P.

Be alert! America needs more lerts.
User avatar
elaw
Super MS/Extra'er
 
Posts: 2392
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

Re: $7 bluetooth WORKING on MS1!

Postby gndan » Wed Mar 07, 2012 10:45 am

This is the circuit that I used, I have both tried adding 3.3v and 5v at the VCC port. Both times the light just blinks and when i try to connect hyperterm it just says to check com port 1 (port I have adaptor on) no connection. This circuit is the one i used and appears to have a 10K resistor where you state, though I am not sure what you mean with the CR/LF at the end of a command? Do you just mean to not hit anthing after entering the command?

Thanks, Dan
gndan
Experienced MS/Extra'er
 
Posts: 183
Joined: Mon Nov 15, 2010 6:52 pm

Re: $7 bluetooth WORKING on MS1!

Postby elaw » Wed Mar 07, 2012 11:25 am

Yup, that circuit is pretty much identical to the one I used, and has the same problem. The resistor I refer to is not R2, it works in conjunction with R2 to adjust the voltage that Q1 sees. The extra resistor should be 10K or even better the next lower value like 8.2K, and have one end connected to the junction of R2 and Q1's base, and its other end connected to Vcc.

You're also going to encounter some problems with the DB-9 connector, J2. If you wish to plug your circuit directly into the Megasquirt, J2 needs to be male and the connections to pins 2 and 3 need to be reversed. If you wish to connect the circuit directly to a PC, the connections to pins 2 & 3 are okay but you'd need a female connector.

I dealt with the problem by wiring it to be directly connected to the Megasquirt, then building a little adapter that did the gender-change and pin swaps to allow connection to the PC and also had wires so I could hook up a 5-volt supply to power the thing.
Eric Law
1990 Audi 80 Quattro with AAN turbo engine: happily running on MS3+MS3X
1997 Saab 9000 Aero: self-tweaked stock engine management (and stock engine)
1986 Audi 4000 Quattro: R.I.P.

Be alert! America needs more lerts.
User avatar
elaw
Super MS/Extra'er
 
Posts: 2392
Joined: Fri Oct 16, 2009 6:20 am
Location: Wilmington, MA

Re: $7 bluetooth WORKING on MS1!

Postby gndan » Wed Mar 07, 2012 2:00 pm

Great, thanks for the quick reply! I will try it here and see what I get. I plan to hard wire it into my MS3 once I get it figured out. I have it on a bread board now, just looking to connect it to my PC to change baud rate. :-)

,Dan
gndan
Experienced MS/Extra'er
 
Posts: 183
Joined: Mon Nov 15, 2010 6:52 pm

Next

Return to Tuner Studio

Who is online

Users browsing this forum: coyotanark and 2 guests