Posted all Source and Rev B Hardware design
I'm still waiting for the Rev B PCB's to come in (expecting them on Monday). However, I wanted to get everything posted as promised.
The Rev B hardware design (eagle files), Arduino THC code and Windows data capture code are now all uploaded. They are on "github"
http://github.com
They can be found by searching on "regeg/Arduino"
Work will continue. I also have to work on the "users manual", software build instructions and the hardware build instructions.
If Rev B works as hoped, then I'll have a higher speed serial link and may try to add control from the Mach interface. Also thinking about moving to the Freescale Freedom platform, a 32 bit arm processor that's only $12 for a board.
Rev B Hardware officially a "Fail".
After building two sets of Rev B hardware and doing extensive testing, I am going to declare it a fail. With the same single pole filter that got rev A to +/- 1 count (1/7 volt), rev B hardware is greater than +/- 1 VOLT and intermittent spikes that are worse.
There are minor hardware changes to rev B, but I think the changes that did it are either or all of:
- split ground area on board (torch voltage filter split from the rest of the board except for a couple thin traces)
- no +5 volt plane on the torch voltage filter portion of the board
- filter circuit spread out to a slightly larger area (crossing all the analog input pins on the Arduino)
So, I will finish up Rev C. The planned changes for Rev C from Rev B are:
- power inlet adapter to feed the shield instead of the Arduino
- put a +5 voltage regulator on the board
- shield will be the size and shape of the Arduino board (versus a vertical shield that leaves room for the LDC)
- Use uninterrupted ground plane on bottom of board
- Use uninterrupted +5 volt plane on top of board
- Use solder-on right angle DB-9 connectors for connecting CNC and torch (so you don't have to make wiring harnesses)
Since it seems pretty straight forward to do an integrated THC inteface in Mach - I'm going to go that route and abandon the LCD display. It shouldn't be a big deal to add it back later if I change my mind.
I'm thinking of making the board jumper selectable to run on +5 or +3.3. This would allow it to work with an Arduino or a Freescale Freedom. But, I want to talk to my EE "consultant" before I do that.
So, depending on how quickly I can complete the changes, it will probably be about 3 or 4 weeks until I can do testing. In the mean time, I've put the Rev A hardware back on the table since it is a solid performer.