GBS301 bluetooth adapter + ms2 + tunerstudio ?

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

gurov
Super MS/Extra'er
Posts: 1059
Joined: Sun Jun 01, 2008 11:54 pm

GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by gurov »

tunerstudio can't connect via bluetooth to the ms2 box.

megatune CAN connect and connects fine and sees data fine.
i can send 'Q' to the same port via hyperterminal and get a version string response back just fine.
the speed is set properly, as megatune connects fine.

the bluetooth adapter is a GBS301 by iogear.

the device connecting is a samsung tablet:

Image

any ideas ?
2020 BMW X3M - bm3 - stage1
1994 Supra - ms3pnp pro - j&s
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by LT401Vette »

I have a GBS301, actually that is what a good part of TS development was done through. It should work fine and does not require any ini changes to do so.

However, the bluetooth dongle broke on my laptop some time back and I haven't replaced it, so I have not used the blue tooth in a while. I'll have to get another dongle and test it out to be sure.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
gurov
Super MS/Extra'er
Posts: 1059
Joined: Sun Jun 01, 2008 11:54 pm

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by gurov »

it initiates the bluetooth connection to the ms when i click test connect, but sits there for a few seconds then says failed.

i can kill TS and open megatune with the same settings, and it will work, or open hyperterm and get the version string by sending it Q.

are there any configurable read timeouts ?
2020 BMW X3M - bm3 - stage1
1994 Supra - ms3pnp pro - j&s
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by LT401Vette »

are there any configurable read timeouts ?
Nope, TunerStudio should be adjusting those for you. Do you get a response through TunerStudio's Mini-Term?
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
gurov
Super MS/Extra'er
Posts: 1059
Joined: Sun Jun 01, 2008 11:54 pm

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by gurov »

LT401Vette wrote:
are there any configurable read timeouts ?
Nope, TunerStudio should be adjusting those for you. Do you get a response through TunerStudio's Mini-Term?
negative. that gets no response.

is there something more that's needed with serial pins for DTS/CTS/etc that would be different from how hypeterminal/megatune operates ?
2020 BMW X3M - bm3 - stage1
1994 Supra - ms3pnp pro - j&s
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by LT401Vette »

Nope, if they connect, Mini-Term should too.

It is connecting fine with a serial cable though... I see that in the picture :)

Can you delete the file TunerStudioLogFile.txt,
Start TS
Open the project
turn on Comm Debug from the "Communications" menu
let it try to connect like that for a few seconds.
Open Mini-Term, type an A

Then send the newly created TunerStudioLogFile.txt to me at p_tobin@yahoo.com
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
gurov
Super MS/Extra'er
Posts: 1059
Joined: Sun Jun 01, 2008 11:54 pm

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by gurov »

emailed.

mini term actually responds now. no dice on connecting tho.


5/28/09 7:50:33 PM :Error: Exception reading port://./COM8, @115200 Baud. Error Message:
Read timeout for send command: 81 (Q)
Expected Unspecified bytes, still no reponse after 280
2020 BMW X3M - bm3 - stage1
1994 Supra - ms3pnp pro - j&s
kritip
Master MS/Extra'er
Posts: 712
Joined: Thu Dec 20, 2007 1:35 am
Location: Nuneaton, UK

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by kritip »

I always fancied a Q1 or Q1 ultra in the car. depending on how the dispaly works, i am intrigued as to how the thread goes! More details and pics of your setup please :D
Constantly evolving;
4 cylinder n/a, 16v 1368cc Fiat Seicento
gurov
Super MS/Extra'er
Posts: 1059
Joined: Sun Jun 01, 2008 11:54 pm

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by gurov »

kritip wrote:I always fancied a Q1 or Q1 ultra in the car. depending on how the dispaly works, i am intrigued as to how the thread goes! More details and pics of your setup please :D
sure, here's some pics:

the rig on the bench, all torn apart, but working. the incredibly hacked up jimstim, there's an arduino bolted to the bottom of jimstim to simulate my specific tach signal for testing on the bench, since i completely burnt out the cpu on the jimstim, i just wrote up a little program for arduino. i also have a 36-1 simulator with another arduino board for testing on another ms2 box for another car.
Image

couple of injectors hooked up to it just for kicks.
Image

3 wires going to the serial port from the bluetooth adapter
Image

the stripped down gbs301 and my io board:
Image

closeup of the io board (spare)
Image

the tablet:
Image


front side of gbs301, with a power wire going to the power jack
Image

box on
Image

megatune running connected over bluetooth
Image

the screen works pretty well, very accurate, and i really like the form factor of the tablet

any other pics you want ?
2020 BMW X3M - bm3 - stage1
1994 Supra - ms3pnp pro - j&s
kritip
Master MS/Extra'er
Posts: 712
Joined: Thu Dec 20, 2007 1:35 am
Location: Nuneaton, UK

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by kritip »

That's more than enough 8)

When you get TS working, I'd like to see it on the Q1 though :D .

Once you have BT reliable, are you removing the connector and MAX chip, and linking straight to the CPU? I will be doing that soon, but with a usb chip, not a BT adapter.

How reliable it BT with MS? Would you trust a firmware flash with it? If so it may be of interest to me :yeah!: Ge many drop outs over long (ie. 3-4hr logs>)

Cheers,

Kristian
Constantly evolving;
4 cylinder n/a, 16v 1368cc Fiat Seicento
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by LT401Vette »

I'm working on getting my dongle working again, then we will get the blue tooth squared away. But I can tell you it has always been pretty reliable for me through TS, back when I was using it regularly. I would leave an MS running in the basement with a GBS301 and I could connect right up 2 floors up. Almost never saw a drop out and it recovers well if you do go out of range an back.

The data is slower than with a real serial, usually only good for about 12 records a second, but enough to get pretty smooth gauge action.

I would still be pretty hesitant to do firmware upgrades through it though. I don't think I have tried that and I'm not sure if the timings in the firmware downloader are setup for BT. You could try it though, if it burns and verifies you should be good, if not get out the serial cable and do it again :).
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
gurov
Super MS/Extra'er
Posts: 1059
Joined: Sun Jun 01, 2008 11:54 pm

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by gurov »

i'm definitely not removing the serial connector, i might mount the bt adapter internally somewhere and get a switch capable of disconnecting 2-3 wires to completely shut off the bluetooth adapter.

not even close to comfortable with flashing the firmware over a wireless connection.

any idea what it could be ? the computer IS pretty slow.
2020 BMW X3M - bm3 - stage1
1994 Supra - ms3pnp pro - j&s
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by LT401Vette »

I'm not having luck finding drivers for my cheapo bluetooth dongle. I think I'll have to pick up a new one.

I don't know what it could be, but I have made quite a few comm changes since I last used BT, so I can't rule that out until I see it work.


You know instead of modifying my MS for the GBS301, I did the modifications to the GBS301. That way I can just plug it in to any of my MS's.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
gurov
Super MS/Extra'er
Posts: 1059
Joined: Sun Jun 01, 2008 11:54 pm

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by gurov »

LT401Vette wrote:I'm not having luck finding drivers for my cheapo bluetooth dongle. I think I'll have to pick up a new one.

I don't know what it could be, but I have made quite a few comm changes since I last used BT, so I can't rule that out until I see it work.


You know instead of modifying my MS for the GBS301, I did the modifications to the GBS301. That way I can just plug it in to any of my MS's.
the ms isn't modified for for the gbs. it's just all taken apart so i can get +5v to the gbs301.

i'm having a real hard time getting any other bluetooth stuff to work at all, other than the tablet. i've got a tiny iogear bluetooth dongle that just refuses to work. apparently it's very hard for the software to grasp that there exist devices that do not require codes to pair up AND windows just assumes that every serial connection will be secure. so it's back and forth trying different things, reconfiguring the gbs301 via its own serial console etc. now i remember why i didn't like originally.
2020 BMW X3M - bm3 - stage1
1994 Supra - ms3pnp pro - j&s
gurov
Super MS/Extra'er
Posts: 1059
Joined: Sun Jun 01, 2008 11:54 pm

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by gurov »

allright. i just got it working with an IOGEAR GBU421 adapter in the computer, same thing, megatune works, hyperterm shows responses. TS still nothing. almost as if it doesn't wait long enough for the connection to be established to the slave.
2020 BMW X3M - bm3 - stage1
1994 Supra - ms3pnp pro - j&s
gurov
Super MS/Extra'er
Posts: 1059
Joined: Sun Jun 01, 2008 11:54 pm

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by gurov »

i gave up on the bluetooth stuff... way to inconsistent for my liking, things work 30% of the time, even connecting. radioshack usb converter it is

Image
2020 BMW X3M - bm3 - stage1
1994 Supra - ms3pnp pro - j&s
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by LT401Vette »

I know there were several others using Bluetooth earlier on, I'm suprised non of them have piped up as to whether it is still working or not for them.

Pretty cool dash layout. I really need to get a multi-channel histogram gauge. I have one the one I made for the Accel Wizard, but it doesn't work as a Gauge.... That would work much better.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by LT401Vette »

I just gave a shout to a guy I know that uses Bluetooth exclusively, he said he upgraded to the latest version and it still connected right up... He is on an MS1 Extra though.

I'll have to wait until I get my new dongle, I'll see if I can figure anything out working against MS2.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
gurov
Super MS/Extra'er
Posts: 1059
Joined: Sun Jun 01, 2008 11:54 pm

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by gurov »

LT401Vette wrote:I just gave a shout to a guy I know that uses Bluetooth exclusively, he said he upgraded to the latest version and it still connected right up... He is on an MS1 Extra though.

I'll have to wait until I get my new dongle, I'll see if I can figure anything out working against MS2.
i could never get ms1 working with bluetooth(and megatune), it just did not like the 9600 baud for some reason. ms2 was fine.

i may go back to the bluetooth idea, or look for some outrageously expensive non-bluetooth-yet-still-wireless serial port thing,if such exists.
2020 BMW X3M - bm3 - stage1
1994 Supra - ms3pnp pro - j&s
LT401Vette
Super MS/Extra'er
Posts: 12731
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: GBS301 bluetooth adapter + ms2 + tunerstudio ?

Post by LT401Vette »

i could never get ms1 working with bluetooth(and megatune), it just did not like the 9600 baud for some reason. ms2 was fine.
In TS it should just be plugin and go. No editing of ini's. TS adjusts it's timings automatically. But judging by this thread, it isn't always so easy :)
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Post Reply