Page 1 of 2

Microsquirt and bluetooth module HC-05

Posted: Thu Feb 04, 2016 2:58 pm
by olafesq
Hi everyone,

I managed to squeeze the bluetooth module inside the microsquirt case and wrote a DIY about it http://www.makestuffblog.com/2016/01/31 ... crosquirt/

Image

Hope you find the DIY useful. Applying it to Megasquirt should be similar.

Cheers,
Olaf

EDIT: moved website to new address http://makestuff.66ghz.com/2016/01/31/a ... crosquirt/

Re: Microsquirt and bluetooth module HC-05

Posted: Fri Feb 05, 2016 8:29 pm
by chango de naranjito
Hey this is good stuff !! I always like learning new stuff. I am lost in the arduino stuff I know nothing about it can you explain that part? and thanks for share this info!!

Re: Microsquirt and bluetooth module HC-05

Posted: Sat Feb 06, 2016 12:27 am
by dontz125
Why use the Arduino? A serial connection to the laptop / PC should work, with the appropriate adapter circuits, obviously.

Re: Microsquirt and bluetooth module HC-05

Posted: Sat Feb 06, 2016 5:41 am
by chango de naranjito
Now I'm more lost. How I do tha? There is a software I can download for that? I really want to do this.

Re: Microsquirt and bluetooth module HC-05

Posted: Sat Feb 06, 2016 6:33 am
by olafesq
dontz125 wrote:Why use the Arduino? A serial connection to the laptop / PC should work, with the appropriate adapter circuits, obviously.
Thats correct. Yet for someone doing it for first time I would still recommend to use Arduino IDE and its serial widow. Less settings to worry about. +Arduino is cheap + a lot of tutorials to get started. (And afterwards you can use Arduino to test your MS on bench, ie. send tooth wheel signals etc.)

And also, Arduino works over USB (has serial converter chip on board), in case one doesn't have serial connection on pc.

Re: Microsquirt and bluetooth module HC-05

Posted: Sat Feb 06, 2016 6:42 am
by jsmcortina
Remind me again what the Arduino is for, aside from "sounding cool" ? You can't tune the Microsquirt with it can you?

James

Re: Microsquirt and bluetooth module HC-05

Posted: Sat Feb 06, 2016 8:54 am
by chango de naranjito
Ok I'm ordering mine today.There is anything more to buy? And how I change the baut rate only with my laptop? Thanks, Frank

Re: Microsquirt and bluetooth module HC-05

Posted: Sat Feb 06, 2016 9:06 am
by rickb794
I think he is using an Ardino to "tune" the BT adapter.

Can't that be done with a shell script?

Re: Microsquirt and bluetooth module HC-05

Posted: Sat Feb 06, 2016 8:35 pm
by slow_hemi6
I set up my BC04 module with HyperTerminal. It is mostly just changing the BT modules baud rate from what it ships with, to the megasquirts baud rate.

Re: Microsquirt and bluetooth module HC-05

Posted: Sun Feb 07, 2016 7:02 am
by olafesq
Ofc any terminal can be used to send the AT commands (to set baud rate and optionally device name and pairing password). I don't have serial on my laptop so I needed some hardware for USB-serial and I happend to use Arduino for that.

Re: Microsquirt and bluetooth module HC-05

Posted: Sun Feb 07, 2016 1:31 pm
by chango de naranjito
Ok so hyperterminal in windows should work?

Re: Microsquirt and bluetooth module HC-05

Posted: Sun Feb 07, 2016 7:42 pm
by slow_hemi6
I have this one. It has everything on board as opposed to just the bare module.
Image

Re: Microsquirt and bluetooth module HC-05

Posted: Sun Feb 07, 2016 7:48 pm
by chango de naranjito
The problem with Microsquirts is in the serial connector therw is no 5v and you have to wire that externally.In my case,I had problems with that because I was using a car lighter style power outlet and wasn't always working right and I use msdroid to record the pass in the 1/4 mile with that and the log is incomplete because the 5v come aut or a bad contact in the power outlet

Re: Microsquirt and bluetooth module HC-05

Posted: Sun Feb 07, 2016 7:50 pm
by slow_hemi6
Yes those lighter sockets are terrible for dropping out power.

Re: Microsquirt and bluetooth module HC-05

Posted: Sun Feb 07, 2016 7:53 pm
by chango de naranjito
I definitely will try this. But im a little lost with the part of changing the baud rate mabe I can find one already with the right one or ask the seller if he can make the change fir me.I will have to wait because the seller says is out until February 13

Re: Microsquirt and bluetooth module HC-05

Posted: Mon Feb 08, 2016 2:19 am
by jsmcortina
chango de naranjito wrote:The problem with Microsquirts is in the serial connector therw is no 5v and you have to wire that externally.
In this case, it would be best to cut off the jack socket and wire in a regular DB9 serial connector - with 5V.

James

Re: Microsquirt and bluetooth module HC-05

Posted: Mon Feb 08, 2016 5:48 am
by chango de naranjito
That's a good idea too. Thanks!!

Re: Microsquirt and bluetooth module HC-05

Posted: Mon Feb 08, 2016 5:49 am
by dontz125
I would suggest that will overload the uS 5v power supply. If you're going with an external unit, try to pick one that can eat 12v.

Re: Microsquirt and bluetooth module HC-05

Posted: Mon Feb 08, 2016 5:54 am
by chango de naranjito
I have the one that Phil sells.

Re: Microsquirt and bluetooth module HC-05

Posted: Mon Feb 08, 2016 7:01 am
by grom_e30
slow_hemi6 wrote:I have this one. It has everything on board as opposed to just the bare module.
Image
have you got this guy to work as i was looking at them??