Sanguinololu

From RepRap
Revision as of 01:03, 19 March 2011 by Joem (talk | contribs) (Features)
Jump to: navigation, search

This page is a development stub. Please enhance this page by adding information, cad files, nice big images, and well structured data!

Crystal Clear action run.png
Sanguinololu

Release status: experimental

Sanguinololu-top.jpg
Description
Revision 0.7-RC
License
unknown
Author
Contributors
Based-on
[[]]
Categories
CAD Models
Eagle
External Link


Introduction

Here is a project I've been working on. It started in this forum thread. I would like a nice clean board to control my currently un-born Reprap, and due to its cost and simplicity I've chosen to use the Sanguino Arduino compatible board paired with a set of Pololu Allegro A4983 Stepper Motor Driver Carrier boards. In order to keep things tidy, I've mushed all this into one board. Since I like to have the ability to expand later on, all the unused Sanguino pins are broken out into an expansion header supporting I2C, SPI, UART, as well as a few ADC pins.

Latest Updates

Latest revision: 0.7-RC Updated March 12, 2011

Revision 0.7 seems pretty stable, with no issues in testing, so I've nominated it as a release candidate, to be promoted to 1.0 if no other major issues or bugs are found. The images and schematic have been updated accordingly - in the wiki as well as git.

The revision 0.5 boards have arrived, and they are of pretty good quality. Those who requested a sample should be receiving their boards within a week or so.

Features

Assembled rev 0.1 board
Mostly Assembled rev 0.5 board
Assembled rev 0.6 board
  • Small design - board is 100mm x 50mm (4" x 2") - barely an inch longer than a business card!
  • Sanguino clone, Atmel's ATmega644P - ATmega1284 drop-in compatible!!
  • Up to 4 Pololu (or Pololu compatible) on-board (X,Y,Z,Extruder) (A4983 without voltage regulator)
  • Supports multiple power configurations
-- Logic & Motors supplied by ATX power supply (needs molex harddrive connector, and optional 4pin atx connector for additional 12v)
-- Motors supplied by 5mm screw terminal 7-24V (25v if you install larger caps)
-- Logic supplied by USB bus
-- Logic supplied by optional on-board voltage regulator (molex harddrive connector cannot be installed at the same time)
Supports multiple communication configurations
-- FT232RL on-board for USB connectivity
-- USB2TTL header is available for FTDI cable, or BlueSMIRF bluetooth module
  • 2 thermistor connectors with circuitry
  • 2 N-MOSFETs for extruder/bed, or whatever
  • Selectable 12v/5v endstop voltage
  • Edge connectors for all wire connections, for vertical jumpers or right-angle tidyness, with or without polarizing tab
  • Silkscreen for connectors on both sides of the board, facilitating bottom cable connections for even more tidyness
  • 14 Extra pins available for expansion and development - 6 analog and 8 digital, with the following capabilities
-- UART1 (RX and TX)
-- I2C (SDA and SCL)
-- SPI (MOSI, MISO, SCK)
-- PWM pin (1)
-- Analog I/O (6)
  • All through-hole components (except FTDI chip) for easy DIY soldering

Schematic & Board Images

These images are from the working 0.7 branch and may not reflect the latest EAGLE files.

EAGLE files, parts list

Parts: https://github.com/mosfet/Sanguinololu/tree/master/rev0.7/parts.txt

Schematics, board, images: https://github.com/mosfet/Sanguinololu

Mouser part projects

Everything you need except the PCB!

Project Name Project Description Price (as of 3-3-2011)
Sanguino 0.7-RC Core The base project. Does not include FTDI implementation or power connectors. Chose this and then chose add-ons from below. $21.80 (USD)
ATX power connector kit Vertical plugs for using the ATX power supply's ATX+4 12V connector and 4 pin HDD connector. If you install this, you can't install the Screw terminal & Voltage regulator kit... but why would you want to anyway. $1.86 (USD)
Screw terminal & Voltage regulator kit 5mm Screw terminal and voltage regulator (and supporting parts) for those not wanting to use an ATX power supply, or would rather use a single volt power supply, 7-24V (25v if you install larger caps). If you've been following along, you know that if you install this, you can't install the ATX power connector kit. $1.63 (USD)
FTDI & USB plug kit This kit includes a USB type B connector and a SSOP FTDI FT232RL chip (and supporting parts) commonly used for serial communication over USB. $5.26 (USD)
Polarized Connector Kit Polarized right-angle connectors for the edge, and matching cable housings. Cable side is easy pinch type connectors, so no soldering or crimping is needed. $4.30 (USD)

Before purchasing parts, always export a part list from the EAGLE files to ensure the Mouser projects are at the latest revision.

Revision 0.5 Assembly Instructions

Purchase the kit for the Sanguinololu 0.7 and FTDI kit. Revision 0.5 does not have the footprints and holes for the voltage regulator, though you can use screw terminal for the power input.

Install and solder the sockets for the pololus before installing the molex power connector. Its a tight fit, and the molex 4p hdd connector may need to sit at a slight angle.

Install the decoupling caps for the Pololus in a right-angle manner - bend the leads so that the cap is laying under the pololu.

Sanguinololu01-caps.jpg Please note that this is photo is of a rev 0.1 board and should only be referenced for the capacitor installation technique.

Make sure the electrolytic caps are installed in the right direction - the gnd pins are marked with a - on the silkscreen.

There is a solderpad jumper on the back of the board that will set the endstop connector voltage. Solder the middle pad to the 5v pad - do not use 12v endstops on this board... which leads me into:

The silkscreen is missing on the 0.5 boards, please refer to this image: https://github.com/mosfet/Sanguinololu/raw/master/rev0.6/images/bottom.jpg

The board endstops will need to be set to 5V. Do not set the endstop voltage to 12v using the solder pads - this will fry the FTDI chip.

USB bus power is not connected correctly. To fix this, you must remove (or not install) resistors R13 and R14, and solder a wire from the USB-5V pin to a 5V pin on the board, as in the following image (red x show removed resistor, green wire shows the fix):

Sanguino-rev06-top-usbfix.jpg

Revision 0.5 - 0.6 Pin Assignment

NOTE: THIS IS FOR SANGUINOLOLU REVISIONS 0.5 AND 0.6 ONLY -- NEWER REVISIONS HAVE DIFFERENT PINOUT

 e-enable      (D 2) PB2
 e-dir         (D 0) PB0
 e-step        (D 1) PB1
 z-enable      (D 5) PB5
 z-dir         (D 3) PB3
 z-step        (D 4) PB4
 y-enable      (D 23) PC7
 y-dir         (D 6) PB6
 y-step        (D 7) PB7
 x-enable      (D 20) PC4
 x-dir         (D 22) PC6
 x-step        (D 21) PC5
 hotbed        (D 13) PD5
 hotend        (D 14) PD6
 b-therm (AI 6 / D25) PA6
 e-therm (AI 7 / D24) PA7
 x-stop        (D 17) PC1 
 y-stop        (D 18) PC2 
 z-stop        (D 19) PC3

Revision History

Rev 0.7 Added more pins to the expansion header, made I2C and SPI available for use. Combined all stepper motor enable nets into one pin.

Added footprints for voltage regulator for those wanting to use laptop power brick, etc. The vreg component footprints are hidden under the ATX power supply for space saving and to prevent both from being in use.

Enabled USB bus power for logic side.

Connected the 5v pin on the USB2TTL header so that either a: ftdi cable can power the board, or b: The board can power a bluetooth serial module (bluesmirf).


Rev 0.6 Made changes suggested regarding putting power pin in the middle of endstop sense connector.

Shrunk board to metric specifications for boardhouse - board size now 100mm x 50mm - just a tad smaller than 4"x2"

Increased spacing between connectors to facilitate polarized or locking connector types / wire headers

Changed orientation of MS1/2/3 jumpers to (hopefully) make it easier to remove / put on, and give more room to the pololu decoup caps

Sent design to boardhouse for prototypes


Rev 0.3 MS1/2/3 for each motor separated. Unfortunately the best place for this to go is under the pololus, needing you to remove the pololu to change it's microstepping settings. Oh well, I'm hoping this is a set-it-and-forget-it type of thing.

Added optional 4-pin atx 12v connector to support large hotbed or extruder loads, up to 20A. 3A if just using the hdd connector

Adjusted schematic to put MOSFETs gates on PWM pins for less software intense temp control.

Moved endstop connectors to other side of board.

Added 12V power connectors in their place, for always on fan, or whatever. Watch out for current rating. Maybe a couple of fuses is in order....


Rev 0.1 First prototype, first design, first PCB ordered, first assembled, etc.