Print Page | Close Window

AMX Bluetooth tach conversion / adapter

Printed From: TheAMCForum.com
Category: The Garage
Forum Name: Electrical - non engine
Forum Description: Charging systems, lights, non-ignition system, it goes here.
URL: https://theamcforum.com/forum/forum_posts.asp?TID=96456
Printed Date: Apr/23/2024 at 9:34pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: AMX Bluetooth tach conversion / adapter
Posted By: Greyhounds_AMX
Subject: AMX Bluetooth tach conversion / adapter
Date Posted: Sep/22/2018 at 11:17am

After only 17 years of irritating buzzing from the MSD tach adapter running my stock AMX tach, I decided to come up with a solution. A replacement MSD Tach Adapter is about $75, and would probably start making noise in a month or so anyway. Evidently the MSD Tach Adapter is basically just a coil like you'd find in a relay, but seeing as so many people on the internet have trouble with them making noise, I figured it would be best to eliminate the thing completely. After some research I found that the tach used in 68-70 AMX & Javelin was built by Faria and there was some good info online in the patent docs. The tach uses a "taut-band" gauge mechanism, which is externally identified by the need for a stop pin at the zero point. The sample 68 AMX tach I tore down measured 725 ohms across the meter, and I could drive it to full scale with only 0.65 mA.

 

I also figured now was a good time to add a pair of shift lights, since I was going to build something from scratch anyway. I first tried to design a circuit using the LM2917 frequency to voltage chip, but it's a real struggle as frequency to current isn't documented very well. Using it and an op amp I could implement the tach and shift light functions, but to add nighttime dimming to the shift lights took quite a bit of extra parts, so I decided to move the project to Arduino. That way I could make it more flexible and add some fancy features.

 

So here are the features in a nutshell:

1) It makes the stock tach work with an MSD ignition but with no irritating noise

2) It calibrates the tach for accuracy at all rpm points (some tach boards only calibrate 4000 rpm and assume everything else will be close enough)

3) It has two adjustable independent shift lights

4) The shift lights have different day and night brightness level adjustments

5) There are no external control knobs or switches - calibration and setting is via Bluetooth

 

The MSD box outputs a 0V-12V square wave with approximately 20% duty cycle. The Arduino measures the frequency of the 12V square wave from the MSD box extremely accurately, then it sends a PWM output directly to the tach gauge itself, with 100% duty cycle being pretty much full sweep of the gauge. All of the factory electronics are replaced with the Arduino.



 

The calibration and settings are made via and Android app using a Bluetooth connection to the Arduino tach electronics. The full sweep is set manually by driving the tach with the app and adjusting a 20 turn trim potentiometer to get full gauge travel, but after that is set everything can be reassembled any other settings are made just with the app and the tach.



 

Calibration of the tach is done at every 1000 rpm increment from 1000 to 8000 rpm, and at 500 rpm as well. The app steps through each calibration point so you can see how far off the tach is at that point, and then you can enter a correction into the correction table. If it reads 4225 rpm at the 4000 rpm stop point for example, you enter -225 in the box for 4000 rpm. The program interpolates between the corrected values so the end result is extremely accurate, probably to within less than 25 rpm.



 

Another menu in the app allows setting the RPM for each of the shift lights, and also sets the daytime and nighttime brightness levels. Nighttime brightness level is triggered when the headlights are turned on, as the circuit is monitoring the voltage in the brown harness wire going to the headlight buzzer.



 

So far everything has been done on an Arduino UNO, but that's a little too large to fit inside a tach housing. I'm working on a small custom PCB that would carry the few external components needed plus an Arduino Pro Mini and the HC-05 Bluetooth module and still be small enough to fit inside the stock tach housings.

 

As far as the shift lights themselves, really any leds will work. I was using an RGB led for a while, but now am working on a ring of leds that I can put around the tach face on my '70 era tach. The brighter the better for the leds, as they can always be dimmed down with the software.


Here's a video of the Android App and how it works with the tach:




-------------
1968 AMX 390 w/T5



Replies:
Posted By: Greyhounds_AMX
Date Posted: Oct/12/2018 at 11:06am
I've got the board layout done for this now and off to the fab shop. I ended up adding 3 separate MOSFETs to drive LEDs, so with a little revamp of the code it'll be able to make any color for the shift lights.    
My plan is to run a strip of RGB LEDs inside the instrument cluster, and then when it hits the shift point the entire cluster will light up in the chosen color. 

I'm taking the dash light dimmer voltage in as an analog input as well, so that way I can use the same RGB light strip as dash lights and have it dimmable with the stock knob. I suppose changing the dash light color would be pretty easy then too via software.

Here's the board. It'll be the mounting for the Arduino Pro Mini and the Bluetooth board, and then attached to the back of the stock 69-70 tach via the large holes. It looks big here, but it's only about 1" wide x 2" long.




-------------
1968 AMX 390 w/T5


Posted By: CamJam
Date Posted: Oct/12/2018 at 11:55am
Very cool, Chris! Well done!! Do you have any plans to sell the boards or perhaps a complete kit?

I take it that you have to have the MSD box for this to work?

Coincidentally, I had been searching for a bluetooth tach for my '72 a few weeks ago. I ended up just buying a regular aftermarket tach as everything I found was only for cars with an OBD port.

-------------
'73 Javelin 360 (current project)
'72 Baja Bronze Javelin SST
'69 Big Bad Orange AMX (2018 Teague Heritage Award) SOLD



Posted By: 343sharpstick
Date Posted: Oct/12/2018 at 2:59pm
This is fantastic. Is it safe to assume this would assume this would also be the same for an MSD Ready to Run distributor as with an MSD ignition box?


Posted By: Greyhounds_AMX
Date Posted: Oct/12/2018 at 10:46pm
It's set up to take the 12V MSD tach output as it's trigger, and that's available from all of the MSD boxes and the RTR distributor too. I could probaby get it to work with a standard points ignition or a Pertronix without much work too, but haven't spent the time as I have the MSD. I've heard that Pertronix 3 is more challenging though.

Since winter is almost here i won't get to try this extensively until next spring I expect, but at that point if it's working good I'll make it available somehow for anyone who wants one.

-------------
1968 AMX 390 w/T5


Posted By: Greyhounds_AMX
Date Posted: Oct/26/2018 at 6:03pm
I got the boards in from OSH Park and put one together real quick. Used a little too much paste on the first few SMD components so they moved around a bit but they seem fine.




Here it is with the Arduino Pro Mini and the Bluetooth module. I meant to use a right angle socket to mount the Bluetooth so it would be vertical and not stick out so far back behind the tach, but that just didn't work out. 



Next I need to revise the code a bit for the RGB setup to add a color picker and such and give it a whirl on the bench.



-------------
1968 AMX 390 w/T5


Posted By: Greyhounds_AMX
Date Posted: Dec/12/2018 at 12:14pm

My first version of this relied on the Arduino's on board voltage regulator and that just wasn't capable of reliably running the number of LEDs I want to use for the dash/shift lights. So I added an external switching mode regulator module to the board. That's going to be much more efficient than the linear regulator that normally used, so far less energy being burned off into heat. 

I also added a polyfuse on the input power to protect the car from the circuit if something goes wrong, and a diode in the input as well to prevent damage from accidentally hooking up the power backwards. Which I tend to do. A lot. 

Another "feature" which is kind of boring is that I added shunt resistors on the gate of each of the MOSFETs to stop the brief flash from the shift lights / dash lights when you turn on the car and the Arduino first starts up. It's a little thing, but still was irritating me. So the board ended up a little bigger in order to hold the additional components, but is still pretty small overall. I get the boards done at OSH Park (who is actually in the U.S.A.!) - the purple solder mask color is kind of their thing.

Here's where it mounts to the tach:




-------------
1968 AMX 390 w/T5


Posted By: Greyhounds_AMX
Date Posted: Dec/20/2018 at 1:07pm

Since this isn't Facebook I can tell you guys when things don't go perfectly.

I was able to get everything hooked up in the car last night and learned a few things:

1) Tapping the +12V and ground from the instrument cluster is a bad idea. The pulsing 5V voltage reg for the gauges causes the LED dash lights to pulse as well. Not cool.

2) Using a keyed 12V source to run the Arduino means that it will not be active if the key is off and I try to turn on the dash lights. So no dash lights with the key off. Also not cool.

3) Even with 20 or so LEDs installed, I still think the shift light feature won't be as bright as I'd like it for daytime use. The LEDs are very directional, and I'm currently just bouncing the light around inside the instrument cluster. It makes for very nice dash lights though. 

Taking +12V straight from the fuse panel fixed item 1. Now it's as steady as the old crunchy dimmer mechanism permits it to be. 

For item 2 the fix would be to drive the circuit from the dimmer voltage if the key is off. It'll take a pair of diodes to get that to happen and prevent one source from backfeeding the other. The dimmer voltage ranges from 9.3V to 11.0V, so the dash lights wouldn't be as bright as normal with the key off since they would typically get 12V nominal car battery voltage. It would work, but will need to use a diode with low forward voltage (loss). For future revs of the circuit it might be a good idea to use 5V LEDs for the dash lights and power them from the RECOM 5V voltage regulator, then there'd be no difference in brightness between Key-On and Key-Off operation of the dash lights. 

I checked and with my Mazda the dash lights don't come on with the headlights without the key on, but in my 2011 Dodge they do. Both have a buzzer though. 

Anyway, the dash lights are very nice. Bright, even, and very adjustable. And any color in the rainbow can be set via the Bluetooth app on the phone.




And here's the access to the dimmer voltage - the orange wire:




This gives a pretty good idea of the brightness of the LED dash lights. You can even see the green glow reflecting off the '69 instrument shade:







-------------
1968 AMX 390 w/T5


Posted By: Greyhounds_AMX
Date Posted: Dec/20/2018 at 8:54pm
Ok, this is just too much fun...










-------------
1968 AMX 390 w/T5


Posted By: 6t8amxetc
Date Posted: Dec/20/2018 at 9:52pm
WOW! That looks very cool. I love it. Thanks for sharing!!!!!!
Looks like your having wintertime fun.


Posted By: Greyhounds_AMX
Date Posted: Dec/21/2018 at 11:14am
Here's a short video of the dimming. It's a little glitchy simply due to the crusty nature of the potentiometer in the headlight switch, but overall much better than stock.

The dimmer puts out about 9.3V to 11V, and the Arduino code looks at that range and brightens or dims the LEDs proportionally via pulse width modulation. Generally, if you use LEDs inserted in place of the standard dash light bulbs they won't dim correctly, as the voltage range coming from the dimmer is just too narrow to make a visible difference, so you end up with just on or off pretty much.




-------------
1968 AMX 390 w/T5


Posted By: 343sharpstick
Date Posted: May/20/2019 at 3:33pm
Any info on making these available for sale?



Posted By: billd
Date Posted: May/20/2019 at 7:37pm
Apparently it's different with the later switches as it's not too bad with my Eagle - granted, not ideal like your system, but it does dim some before off. But I actually like them full bright anyway.

Will be watching progress on this as I do have plans for the 73, ignition and lights.




-------------


http://theamcpages.com" rel="nofollow - http://theamcpages.com

http://antique-engines.com" rel="nofollow - http://antique-engines.com


Posted By: Greyhounds_AMX
Date Posted: May/21/2019 at 6:05am
Right now I've got the front of the engine all torn down for a water pump swap, ac, radiator, and electric fan upgrade, Once that's back together I'll be able to put some driving time in and see how the tach works. 

Sorry it's drug on so long, I'm kind of slow and deliberate.


-------------
1968 AMX 390 w/T5


Posted By: Greyhounds_AMX
Date Posted: Nov/27/2019 at 12:55pm
Update on this project:

The tach works well, as do the dash lights. But this winter I'm going to revamp the circuit completely to use beefier mosfets for the LEDs just for added safety margin, and to take advantage of the relatively new Arduino BLE nano. It's a nano with built in bluetooth, designed for short distance applications (perfect!).

I'll update you guys as it progresses. Once it's all done and working we can contract a build house to do the boards and populate them. 


-------------
1968 AMX 390 w/T5


Posted By: farna
Date Posted: Dec/01/2019 at 9:02am
Ggreat work!

-------------
Frank Swygert


Posted By: bdatkins
Date Posted: Jan/14/2020 at 6:48am
Great write up!  I am actually working on a similar project for my jeep CJ.  Any chance of your sharing the arduino code?


Posted By: Greyhounds_AMX
Date Posted: Jan/14/2020 at 12:08pm
Certainly! PM me your email address and I'll send it over to you. It's a little odd due to the back and forth that goes on between the Arduino and the Android app, and could probably use a little cleanup of course, but fundamentally does the job.

-------------
1968 AMX 390 w/T5


Posted By: tomj
Date Posted: Jan/14/2020 at 11:16pm
Hey that's really great! How'd I miss this thread when you started it?

You could add another MOSFET, and a little speaker, and re-create in software the MSD adapter buzz for those who miss it! lol

Very nice work, and a clean board.

Yeah, OSHpark is great.




-------------
1960 Rambler Super two-door wagon, OHV auto
1961 Roadster American, 195.6 OHV, T5
http://www.ramblerLore.com



Posted By: mbwicz
Date Posted: Jan/15/2020 at 9:06am
Nice work, I'll be interested in buying one when you are ready. My car is still in the early build stage, so I've got time to wait until you are happy.


-------------
1970 AMX, one step forward, one step back. Both steps cost time and money.


Posted By: Greyhounds_AMX
Date Posted: Jan/16/2020 at 12:40pm
Thanks guys - it's a fun project. It's fun to put Arduino, Android, and electronics concepts all together into a functional item.

Tomj the Oshpark boards are so nice and so fast it's really hard to beat.

The newer NANO 33 BLE has about the same pinout as the previous NANO so most of the layout can stay the same, though the footprint is a little bigger so I'll have to shuffle some stuff around. I was planning on that anyway as part of moving to bigger mosfets. I haven't had any failures, but it seems that the larger ones are tougher, regardless of what the specs say.




-------------
1968 AMX 390 w/T5



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net