On Nov 5, 11:15 am, Nic Jones <
nic.l.jo...@gmail.com> wrote:
> Sorry for digging up an old topic. I've only just found the files and
> had a look.
>
> I'd suggest a real relay in addition to (or in place of) the SSR for
> the mill. SSRs leak a small amount of current even when completely
> off, and I've seen this actually be enough to have small rotary tools
> slowly spinning. SSRs are great for speed control, but most of the
> rotary tools have a little speed control on them already.
>
> Also, given you're going down from 24V to 5V, driving a bunch of LEDs
> (the optoisolators) and you probably want to leave room for future
> expansion, it's be a good idea to make sure the 7805 can have a
> heatsink on it. I use this one in a lot of the things I design to run
> up around 24V:
http://www.altronics.com.au/index.asp?area=item&id=H0630
> It might fit on the microcontroller board as is. I would try to avoid
> standing the 7805 vertical to make it fit if it doesn't though - lying
> against the board like you've got it is better for vibration
> resistance.
>
> I'd also suggest moving C4 closer to the 7805 on the microcontroller
> board. The 7805 is rugged as all get out, but it's good practise with
> linear regulators to have the caps close to prevent oscillations.
>
> The ground for the microcontroller is only connected by a small trace
> between pins 16 and 17 of the MCU. Given those pins aren't being
> used, why not just connect them to ground? Unless there's something
> strange about those pins (I haven't looked a the datasheet for the
> chip) they should be high-impedance input pins by default anyway.
> That would give you much more copper connecting the ground plane.
>
> As far as I know, the board has already been produced by milling it on
> Damien's original machine.
No. We need to make this ourselves, once I've finished designing it.
(This also means you can propose whatever you like with regards to
changing it or improving it at this stage if you feel so inclined.)
However, the stuff on GitHub really doesn't reflect the current state
of my work, I'm really busy and tired at the moment, but I'll do some
more work on that on the weekend probably and push it out to GitHub so
it's more up to date.
(eg. yes, I moved the decoupling capacitor...)
It has some simple modifications and improvements from Damien's
original one:
7805 on the same PCB, three 3-pin connectors to distribute the power
rails out to the motor controllers neatly, CP2102 replaced by a
FT232RL and moved onto the same PCB as the microcontroller, etc,
pretty straightforward but obvious and compelling areas where it would
be improved over Damien's original 1.0 without truly changing the
design to any meaningful degree.
So, what you end up with is the two wires, 24V and ground, going from
the SMPS to the microcontroller board, three three wire cables with
Molex headers going from the microcontroller board to the stepper
controllers, and three six wire ribbon cables going from the
microcontroller board to the stepper controller boards, again they're
just cables wired straight across between two Molex style 0.1" female
header connectors. The LCD is also connected to the microcontroller
board.
Plus you've got the sensor and misc control odds and ends that come
from the microcontroller going to the D25 connector, plus a bunch of
shielding grounds from the microcontroller board, plus the stepper
motor leads, all of which goes to the D25 connector, and then on the
machine end, that cable goes to another breakout board where the
steppers, optocouplers, etc. connect.
It is only a single sided board though, so board fabrication by the
usual photolithographic means (or even toner transfer if anyone would
like a demonstration of that) will be straightforward.
> > In the best of all possible worlds, all the unused pins would be
> > brought out to .1" headers, but it's clear from the current board
> > layout that it's designed to be home-etched single layer, so not all
> > things are possible. Is there a list of restrictions (track width,
> > spacing, etc) that we're trying to stick to?
>
I'm happy to aim for that goal on the board layout... there will be a
few 16 thou tracks down the middle of two adjacent pins on the IC (~20
thou away from the pads, or so?), but that is pretty much the closest
spacing you'll need to deal with... oh, and the 12 thou or so pads on
the surface mount FT232RL. Maybe even a wire link or two if worst
comes to worst... but I've got no wire links yet and I'd like to keep
it that way. :)
Clearly nothing else on the board will have routing clearances or
widths as small as those associated with a 28-pin SSOP chip.
The requirements are very different to Pebble... it does not need to
be laid out as agriculturally as possible for noobs to solder it.
> Agreed that it would have been nicer to break out more I/O. There are
> other things that would have made sense to integrate onto the same
> board, e.g. the USB communications.
>
Yeah, break out all the unused pins to 0.1" headers. Sure. Will do.
And USB on the main board. I'm integrating that at present. It removes
a little flexibility with respect to the board mounting position
within the case, but I don't think that's a big deal.
PS: Who's got an AVR programmer? Mike B, you've got one, right?
What kind of ICSP header pinout on the target device is appropriate? 6
pins, the same as an Arduino? Is that OK?
Ugh, time for sleep now I think.
Cheers,
Luke.