That looks nice. A few things 1) I would bring out +5v/gnd/signal for each one of the limit switchs, so that an optical limit switch can be used. 2) With the current placement of the terminal blocks, you cannot use a arduino mega, i would move them to the "top" of the board or bottom, moving the power connector off as well 3) Is only ground shared between the motor power and the Arduino? (if so then perfect) Alex On Jul 18, 10:38 pm, Reza Naima <r...@reza.net> wrote:I've finished picking out components and doing an initial layout. I found a digikey plugin that lets you sort by price which has allowed me to optimize components by cost. I've also added an LC filter on the supply (1uH & 470uF) -- not sure if it's needed, but I love the look of big coils. I've also optoisolated the limit switch inputs to avoid coupling noise to the MCU (which killed one of mine). I made the optoisolator a DIP package so that it can be replaced if it gets burnt out somehow. I'm not sure how the clearance will work out wrt to the USB connector so I offset everything to the right -- the motor control screw terminal will stick out a bit wider than the arduino board. I think it has a nice level of symmetry, the controllers are all lined up so you can stick a heat sink over them, and I went with just a 2x.1" header so you can use an IDC and ribbon cable to simplify hookup of the limit switches. There is also an Emergency Stop input that is by itself (not sure if I should make it part of the same block as the limit switches). This is what it looks like so far.. Any thoughts? The extra IC is a digital pot to let you control the current per channel in software. reza
I would second this. I would also go with a Atmega64, to get a few more IO pins and allow the addition of auto-tool zero as well as spindle control.
Alex
On Mon, Jul 19, 2010 at 5:58 PM, Reza Naima <re...@reza.net> wrote:
So I had a long chat with Macegr and the issue on the table is to add an avr+ftdi to this pcb and drop the 'shield' form factor or to stick to it. his big complaint had to do with the form factor and difficulty putting it in an enclosure/mounting it. the pcb can be made larger to accomodate different connectors -- though i can see some appeal to making it easier to put into a case. does anyone else have thoughts on this?
reza
Reza Naima wrote:
The latest version is in SVN (different repository than the one for firmware; i posted a link earlier). Feel free to make the proposed changes and post a screenshot
"Alexandre Harvey" <al...@pixelfactor.ca> wrote:
>the 328 is the part you are thinking of, the 1280 atmega work with Arduino
>IDE.
>
>Also attached is image of what i would do to add molex connectors.
>
>Alex
>
>On Mon, Jul 19, 2010 at 6:48 PM, Reza Naima <re...@reza.net> wrote:
>
>> I would go with the 328 so the code base can remain the same. Or was that
>> 382? Whatever the largest one from that series is. I'm still not convinced
>> though. One option would be to make this a 4 layer and add an arduino
>> likenpcb on the backside so tat it can optionally be populated? Suppose I
>> could do that on the top and make it longer too. I should figure out the
>> costs associated.
>>
>> -Reza
>>
>> On Jul 19, 2010, at 6:07 PM, Alexandre Harvey <al...@pixelfactor.ca> wrote:
>>
>> I would second this. I would also go with a Atmega64, to get a few more IO
>> pins and allow the addition of auto-tool zero as well as spindle control.
>>
>> Alex
>>
>> On Mon, Jul 19, 2010 at 5:58 PM, Reza Naima < <re...@reza.net>re...@reza.net
>>>> al...@pixelfactor.ca> wrote:
>>>>
>>>>> <http://www.sparkfun.com/commerce/product_info.php?products_id=8097>
>>>>> http://www.sparkfun.com/commerce/product_info.php?products_id=8097
>>>>>
>>>>> Those are what I had in mind, here just 0.1" header connectors. Not sure
>>>>> on the digikey part number...
>>>>>
>>>>> Alex
>>>>>
>>>>>
>>>>> On Mon, Jul 19, 2010 at 12:46 PM, Reza Naima < <re...@reza.net>
>>>>> re...@reza.net> wrote:
>>>>>
>>>>>> can you give me the molex part number your thinking about? and why the
>>>>>> preference for molex connectors?
>>>>>>
>>>>>>
>>>>>> Alexandre Harvey wrote:
>>>>>>
>>>>>> One other thing would be to double up the connectors, so you have the
>>>>>> terminal blocks, but also molex (2.54mm, or the 3.94mm versions) headers as
>>>>>> well, the two footprints should be stackable with minimal space increase, so
>>>>>> you can pick either screw headers or crimp terminals.
>>>>>>
>>>>>> Alex
>>>>>>
>>>>>> On Mon, Jul 19, 2010 at 12:32 PM, Reza Naima < <re...@reza.net>
>>>>>> re...@reza.net> wrote:
>>>>>>
>>>>>>> I tried that but it was ugly; I'll try it again.
>>>>>>>
>>>>>>> -r
>>>>>>>
>>>>>>>
>>>>>>> Garrett Mace wrote:
>>>>>>>
>>>>>>> i'd move the drivers much closer to the output terminals and blow the
>>>>>>> traces up to 32 mil as close to the chips as possible.
>>>>>>>
>>>>>>>
>>>>>
>>>>
>>
-Reza