The instrumented calls to report free memory show that the hangs or resets of the Arduino are not due to exhaustion of free memory, but likely an electrical issue. I added a large capacitor to buffer power sufficient to keep the Arduino operating, after which I tested again. The problem recurred, so it was not sagging power.
Next I looked closely at the relay and SMS board connections and nearby pins to see if something in the keypunch is shorting or causing problems for the Arduino. I did find that when I removed the second multipunch relay wiring and restored the circuit, I put the pins onto the N/C rather than the N/O contacts of the DUP2 relay. It shouldn't have affected the Arduino nor the keypunch, but I put things right.
After fixing the DUP2 connections, my test caused a reset much quicker - within the first few spaces punched, the microcontroller restarted. Sigh. I will put this aside for a bit and work on something with a lower ratio of frustration to accomplishment.
SAC INTERFACE FOR ADDING PERIPHERALS TO THE 1130
I began wiring up my interface boards to the new 160 pin socket, preparatory to installing everything in a project enclosure. I have to find a good box to house everything before I proceed too far, as various connectors will need to be attached before they are fully wired up. Right now I am just wiring the boards to the female pins, but not inserting them into the socket body until after I have it physically attached to an enclosure.
|Enclosure to implement the SAC Interface Unit|
I selected a mini-ATX computer case, suitable for what I want with plenty of space and not too cumbersome to repurpose from a PC to this interface. After I picked it up, I continued assembling the socket and installing it onto the new enclosure. I have all 77 signal lines installed into the socket. Next up are 83 ground lines and then I can begin hooking up the wires to the four interface boards.
I made some braces to hold a stack of four interface cards inside the enclosure and began to install the ground lines, twisting them around their associated signal wires and soldering the pair to its assigned circuit on one of the four boards. I am about 35% through installing the ground lines and twisting the pairs.
|Preparing female pins for insertion in socket|
|First group of pins installed|
|All 77 signal lines installed, view from the rear of the socket|
|outside view of the socket (on the back of the interface enclosure)|
|Twisting the ground and signal lines into pairs|
|Twisted pairs bring some order to the wire coming out of the socket|