I finally have everything working.
I think there were multiple problems with my 555 based circuit. Last week I borrowed an oscilloscope from a friend to look at things before replacing the trim pot and adding the decoupling caps. It looks like something fried the second stage 555 as I was getting a 21-23hz signal from the first stage, but nothing from the second. And something was wrong with the first stage too, as the frequency wasn't what it should have been based on the R-C values I used. Then when I was poking around further I must have missed with the probe, I heard a little "pop" and that was the end.
But I had already bought an Arduino to play with "just in case", which I should have done in the first place (and which I recommend to anybody trying to use an MC-2100). The $10 for an clone Arduino Uno board is less than I spent on all the other stuff. I've never used one before, but it's stupid easy to use if you know anything at all about programming. I started with another page at
Sons of Invention, which shows one setup much more complicated than I wanted (since I already had a separate tach) and another simplified one that didn't work as presented. I started with the simple one, tweaked it a bit with bits of the more complex code, and had it working in short order.
As you can see the wiring is a
lot simpler than the 555 based circuit (below circuit modified from the one on the SOI page):
Wires going to the board were soldered to header pin connectors and strain relieved (sort of) with hot melt glue. The red connector in the lower left corner was an extra that I cut out of the treadmill so I could do all my soldering on the bench instead of the side of the machine:
I spent some more time today getting the tach (ebay, about $10) working once I figured out the wiring of the Chinese labeled components, and got everything mounted in a box. That's the sensor for the tach just to the right of the tach display.
Here's the box on the back of the mill with the MC-2100 controller and the auxiliary power outlets. The toggle switch is the motor reversing switch, safely out of the way (by all accounts reversing the motor while it's running will fry the controller). All the air vents in the box are covered on the inside with window screen to keep chips out.
And here's the wiring to the motor, and the new fan (salvaged from an old computer):
The mill's original power switch now switches power to the motor controller, which in turn also provides the 12VDC power for the Arduino. I added another power switch next to it which turns on a separate 12V power supply which runs the fan, display lights, and tachometer (since I don't know how much power the MC-2100 can supply). The smaller switch below the tach is the one that actually starts and stops the motor in normal use.
Everything seems to be working quite well. RPM range is from a little over 4000 max to something too low for the tach to measure reliably but something under 200 rpm. I currently have the belts at a 1.4:1 ratio which seems good for normal use but if I want to go really slow I can use the 1.9:1 or the 4.8:1 ratios. The motor rpm does seem to drift up and down a bit, but I don't think it'll be a big issue. If it becomes a problem I may try hooking up the tachometer input to the MC-2100... there was a reed switch on the treadmill's driven pulley reporting rpm back to the board but I don't know if it actually was for motor control feedback or just for the walking speed display. At any rate, it runs without it.
Sigh, this was one project that took
far longer than it should have...