Connect Your Megasquirt Via Bluetooth - Cheap! - Guides: Forced induction - MX5Nutz Forum

Jump to content

These ads only show for users who are not registered or logged in


Connect Your Megasquirt Via Bluetooth - Cheap!


  • Please log in to reply
-1 reply to this topic

#1 Mr Slow

Mr Slow

    Spends way too much time on Nutz

  • Moderators
  • PipPipPipPipPipPipPipPipPipPipPip
  • 19520 posts
  • Gender:Male
  • Location:Warrington/Birmingham

Posted 02 November 2012 - 08:35 AM

Many thanks to Mrpham for this guide :worship:

Not a big update, haven't been able to do much since the cylinder head is still away.

Bluetooth x Megasquirt - http://omgpham.com/b...th-x-megasquirt


This is something I've been wanting to do for a long time, implementing Bluetooth connectivity for my Megasquirt ECU.

No more cables for tuning and data logging, I can even use my Android smartphone/tablet for data logging and digital gauge/dashes. The Android App is called Shadow Dash MS, free of charge from the EFI Analytics.

http://tunerstudio.c...hadowdashmsmenu

Posted Image

http://www.youtube.com/watch?v=X7JOLBSakIk

You can buy "off the self" devices that are plug and play, around $50-$100, but I've decided to take the DIY route which cost me $12!

Posted ImagePosted Image
These can be found on eBay for about $12-$14 shipped to Australia.

There is a bit of work to do like adjust settings as well as some soldering.

1. The module needs to be jumpered temporarily so settings can be applied.

Posted ImagePosted Image
Used some copper wire and soldered it from 3.3V to PIO (11), these are pin 12 and pin 34 respectively on the main circuit board.

2. Use some paper to insulate pins 6, 7, 8 and 9 on the DB9 Male connector. And than solder a wire from pin 9 to V+ pad, this is next to the break-out pins.

Posted Image
This wire takes +5V from pin 9 of the serial connector (Megasquirt side) and supplies it for the Bluetooth module.

3. An external +5V supply has to applied to the break-out pins.

Posted Image
This temporarily powers the device so settings can be applied.

So that completes most of the modifications needed, now on to software. I used Microsoft Hyper Terminal, which is available on Windows XP machines. You can download it below:

http://omgpham.com/w...perTerminal.zip

1. Connect the module to your serial port, or your USB-Serial adapter.

2. Open up Hyper Terminal and create a new connection. Select your serial connection's COM port., mine was COM4. The settings below should be applied.

Posted Image

3. To confirm that the connection is correct, quickly type in AT. It won't display what you've typed but it should display the response OK.

4. Open up Notepad and type the following AT+NAME(insert the name you want here), in my case I typed AT+NAMEomgpham.com . CUT all the text, go back to your Hyper Terminal window and click on "Paste to Host". You should than get a response saying OKsetname.

5. Next up we'll set the PIN Code. So back to Notepad and type in AT+PIN(insert your 4 digit pin here), eg. AT+PIN1234. CUT all the text, go back to your Hyper Terminal window and click on "Paste to Host". You should than get a response saying OKsetPIN.

6. Finally, we'll set the baud rate. By default it's 9600 but this needs to be set to 115200. So in Notepad you'll type AT+BAUD8, CUT all the text than go back to your Hyper Terminal window and click on "Paste to Host". You should than get a response saying OK115200.

The reason we have to cut and paste commands from Notepad is because Hyper Terminal needs commands to be typed completely in under a second. Stupid? Yes, but ah well.

So everything software wise is now done, this next part is optional and it involves removing the female DB9 connector which is used for applying settings. It's the connector that plugs into your computer's serial port.

Posted Image
Posted ImagePosted Image
Connector removed and heat shrink applied to protect the circuit board.

Sources:
http://wiki.openpilo...tooth Telemetry (terminal commands)
http://www.emartee.c...?name=41656.pdf (the pin-out)
http://www.ebay.com....tm/261081938629 (where I bought it on eBay)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users