View Single Post
  #5  
Old 01-31-2014, 06:43 PM
mach4's Avatar
mach4 mach4 is offline
Registered User
 
Join Date: Jul 2011
Location: San Diego County, CA
Posts: 2,736
Quote:
Originally Posted by winmutt View Post
While my experience around the lack of documentation was similar, once it was working it was solid as a rock. What baud are you running at? Did you look at the android bluetooth chat samples? Thats really the easiest way to go. I spent a month dicking around with amarino, boy was that a waste of time.

Did you write your own protocol? I did this, picked some random chars for a header and then packed all the data in behind it.

Why would you put your arduino in the engine compartment? It is far better off in the dash somewhere IMO. How are you going to protect it from the elements?
I'm using the chat code as a basis. No I didn't write a protocol, just dumping the bytes. The plan is to build a comma delimited string on the Arduino representing the gauge values and then unpack them on the Android side and pass those to the gauge painting routines.

The reason to have the Arduino in the engine compartment is to avoid having to run any wires to the cabin. Also makes wiring up the sensors a whole lot easier. I'll be packaging the Arduino in a sealed relay box (see below) and hook up all the external wires through a standard MB plug. Since the box is plastic the bluetooth module can be mounted inside with the rest of the electronics. The Pro-Mini is shown for scale.



I should only 10 of the 12 plug wires available - 12v power and chassis ground, signal and ground for temp sensors (1-wire interface), two wires for EGT and two signal wires and a shared power and ground for the boost and vacuum sensors - 10 wires.
Attached Thumbnails
Engine Instrumentation Project-relaybox1.jpg  
__________________
Current Stable
  • 380SL (diesel)
  • Corvette C5
  • Manx
  • Baja Bug
  • F350 Powerstroke
  • Auburn Boattail Speedster replica
Reply With Quote