VEMS Community Forum

VEMS => Software => Topic started by: sink on February 03, 2012, 05:32:26 PM

Title: How to connect Vems with bluetooth?
Post by: sink on February 03, 2012, 05:32:26 PM
So I've heard that people are using bluetooth devices to communicate with Vems but nowhere have I seen a guide how to do that and what would You need for it. Vems shop has this (http://shop.vems.hu/catalog/bluetooth-100m-p-130.html) USB-bluetooth device for sale. But can I use only that for connecting with Vems or is a bluetooth module also required? Should I just plug it to my Rs-232 -> USB converter's computer side plug and it should work? Would someone specify on this subject.
Title: Re: How to connect Vems with bluetooth?
Post by: jrussell on May 26, 2012, 12:21:40 AM
This is a rather old post, just saw it.

The usual application for Bluetooth is to run VemsDisplay on a tablet or phone. For that, the tablet or phone obviously needs bluetooth. You then need a rs232 to bluetooth adapter to hang on the serial port of the ECU. We're working on two adapters in-house. One bluetooth and one wifi. The wifi helps since tablets with only wifi and no bluetooth are significantly less expensive. I haven't gotten an update on that hardware availability lately though. I expect they are waiting for the next batch to head out to the PCB house, which should be before the end of June.
Title: Re: How to connect Vems with bluetooth?
Post by: gunni on May 26, 2012, 08:43:01 AM
I´ve used a Wifi to serial adapter quite nicely to a VEMS ecu from a laptop. The speed not as fast as it could be though.
Title: Re: How to connect Vems with bluetooth?
Post by: Joof on September 29, 2012, 11:31:51 PM
JRussel,

Any update on the in-house adapters?
Title: Re: How to connect Vems with bluetooth?
Post by: jrussell on September 30, 2012, 12:03:22 AM
I have one on the way to me. It just shipped out yesterday, so I should have it in about 2 weeks. I also just ordered a bunch of the BlueTooth modules to send over to EU for assembly. Looks like it might be a good xmas present. :)
Title: Re: How to connect Vems with bluetooth?
Post by: Joof on September 30, 2012, 12:07:40 AM
Wonderful,

I will be on the look out!
Title: Re: How to connect Vems with bluetooth?
Post by: GuilhermeBuonfiglio on November 27, 2012, 03:24:33 PM
Hello,

Any news on the adapters?
I've seen an interesting one at http://dx.com/p/rs232-bluetooth-serial-adapter-module-w-mini-usb-port-144177 but to be honest I would prefer to buy and resell the ones from VEMS. ;)

[]s,
Guilherme
Title: Re: How to connect Vems with bluetooth?
Post by: jrussell on December 02, 2012, 05:43:02 AM
I've tested a prototype and it's working great. I just shipped a bunch of raw parts to manufacturing this week, so they should be out soon.

You'll either have to have 5V supplied to the DB9 pin on the serial port of the ECU (to power the bluetooth module) or use a micro-USB power supply. So you might want to plan on this ahead of time.
Title: Re: How to connect Vems with bluetooth?
Post by: Erikk on December 02, 2012, 11:32:17 AM
Supply aside from the db9 would have been great. Maybe even with 5v voltage regulator so it could be connected to 12v ?
Title: Re: How to connect Vems with bluetooth?
Post by: gunni on December 02, 2012, 04:00:05 PM
Quote from: jrussell on December 02, 2012, 05:43:02 AM
I've tested a prototype and it's working great. I just shipped a bunch of raw parts to manufacturing this week, so they should be out soon.

You'll either have to have 5V supplied to the DB9 pin on the serial port of the ECU (to power the bluetooth module) or use a micro-USB power supply. So you might want to plan on this ahead of time.

So the 5v supply has enough current for something like this?
Title: Re: How to connect Vems with bluetooth?
Post by: Benzmac16v on December 02, 2012, 09:59:45 PM
I used a pretty generic serial bluetooth adapter. I use a usb car charger to supply 5 volts.  Havent had time for a proper install, but i plan on gutting the charger and hardwiring it into the car to a switched 12v supply.  Powering off the db9 would be much cleaner though.

Better yet, its 2012, just build bt into vems ecus!

Jim
Title: Re: How to connect Vems with bluetooth?
Post by: VemsedE36 on March 24, 2013, 07:23:23 PM
Quote from: jrussell on December 02, 2012, 05:43:02 AM
I've tested a prototype and it's working great. I just shipped a bunch of raw parts to manufacturing this week, so they should be out soon.

You'll either have to have 5V supplied to the DB9 pin on the serial port of the ECU (to power the bluetooth module) or use a micro-USB power supply. So you might want to plan on this ahead of time.

Jrussell, how to connect vemstune to v3 with bluetooth adapter from Vems shop?
Title: Re: How to connect Vems with bluetooth?
Post by: mattias on March 24, 2013, 07:52:00 PM
VemsedE36 : Enable bluetooth on your computer, in the software for the bluetooth - find and connect to the bluetooth adapter serial port. Now you have a COM-port to connect to via VemsTune.
Title: Re: How to connect Vems with bluetooth?
Post by: VemsedE36 on March 24, 2013, 08:09:21 PM
Quote from: mattias on March 24, 2013, 07:52:00 PM
VemsedE36 : Enable bluetooth on your computer, in the software for the bluetooth - find and connect to the bluetooth adapter serial port. Now you have a COM-port to connect to via VemsTune.

Huge thanks to you Mattias, I got it working now on PC and phone.   ;D

Title: Re: How to connect Vems with bluetooth?
Post by: lost on December 17, 2013, 12:26:56 AM
Is this type of connection fast and stable enough to replace need for usb to serial adapter cable?
Title: Re: How to connect Vems with bluetooth?
Post by: Benzmac16v on December 17, 2013, 01:08:15 AM
I would recommend keeping the ability to use the USB-Serial adapter.  At least for initial setup and firmware updates.  I did do a firmware update over bluetooth but it takes longer and I am not sure what will happen if you loose connection in the middle of an update.  I cannot imagine it would be good, so my firmware gets updated over USB.

Also, I don't think that bluetooth is fast enough to capture a trigger log, so having the ability to swap the USB-Serial adapter would be valuable, but maybe not absolutely necessary.

Jim
Title: Re: How to connect Vems with bluetooth?
Post by: Kamuto on December 17, 2013, 07:57:22 PM
Quote from: lost on December 17, 2013, 12:26:56 AM
Is this type of connection fast and stable enough to replace need for usb to serial adapter cable?
yes, it is more stable than usb serial adapters, it works much better when you have crappy ignition system where usb serial starts to disconect.
Title: Re: How to connect Vems with bluetooth?
Post by: lost on December 19, 2013, 01:06:41 PM
Quote from: Benzmac16v on December 17, 2013, 01:08:15 AM
I would recommend keeping the ability to use the USB-Serial adapter.  At least for initial setup and firmware updates.  I did do a firmware update over bluetooth but it takes longer and I am not sure what will happen if you loose connection in the middle of an update.  I cannot imagine it would be good, so my firmware gets updated over USB.

Also, I don't think that bluetooth is fast enough to capture a trigger log, so having the ability to swap the USB-Serial adapter would be valuable, but maybe not absolutely necessary.

Jim

Can you try if its fast enough to record log file?
I had disconnect & freeze problems after 5-10 minutes, but i think its becouse of slow netbook -old atom CPU with profilic usb to rs232 adapter.
Ignition was active COP. I also remember i had problems with one or two cylinder power values. So maybe it is ignition related. !?
Title: Re: How to connect Vems with bluetooth?
Post by: Benzmac16v on December 21, 2013, 01:09:00 AM
I tried to grab a quick trigger log with the bluetooth module.  I haven't used it since I "upgraded" to Windows 8, and, although the set up looked identical to Windows 7 I couldn't get it working.  When I get time to workout bluetooth I will report back if no one else does.

Jim
Title: Re: How to connect Vems with bluetooth?
Post by: lost on March 04, 2014, 04:02:28 PM
Did anyone used EC36-pin28 +5V to power bluetooth?
Title: Re: How to connect Vems with bluetooth?
Post by: mattias on March 04, 2014, 04:24:04 PM
Yes. Add to that, the universal harness does this.
Title: Re: How to connect Vems with bluetooth?
Post by: Seight-v8 on March 04, 2014, 08:06:59 PM
yes my Bluetooth adapter works fine running the 5v from my vems ecu.....

My Bluetooth adapter will work with 5-9v either battery or from pin 9 on the dsub.

Mines wired to feed 5v from ecu PS2 connector to Bluetooth & GPS sensor.

regards

scott
Title: Re: How to connect Vems with bluetooth?
Post by: lost on March 04, 2014, 09:33:51 PM
do you know if ec18 pin17 on old vems v3.3 (3.5) can be connected to ground internally, with wire to ec36 pin26 GND.
On v3.6 pinout ec18/pin17 is gnd. But on v3.3 looks like there is nothing, just trace on PCB that leads to wbo heater no2 that is not installed, (this is middle pin) and it is connected to square component behind it...
I was hoping i could get GND on ec18 to use it for serial connection on car loom, to be able to remove separate rs232 cable that goes directly out of the vems box.
(http://imagizer.imageshack.us/v2/1024x768q90/513/g7hl.jpg) (https://imageshack.com/i/e9g7hlj)
Title: Re: How to connect Vems with bluetooth?
Post by: Kamuto on March 04, 2014, 11:21:32 PM
yes you can do it with wire
Title: Re: How to connect Vems with bluetooth?
Post by: lost on March 05, 2014, 06:45:10 PM
should i connect GND here between needles directly with small piece of wire to get gnd on ec18 pin17 or connect to gnd pin on ec36.

Does anyone knows how its conneted od v3.6 board from "factory"
Title: Re: How to connect Vems with bluetooth?
Post by: lost on December 23, 2014, 09:26:49 PM
Does anyone know why it wont connect over bluetooth when bt adapter  speed in set to 115200 (AT+BAUD8)
It works fine on 19200...

Anyone has BT that works higher than 19200bps ?
Title: Re: How to connect Vems with bluetooth?
Post by: VEMS on December 29, 2014, 09:39:42 AM
Hello Lost,

BT adaptor does not support on the fly baudrate changes, therefore only 19200 is supported.

Best regards, Dave