Welcome! Log In Create A New Profile

Advanced

Getting started with Sanguinololu

Posted by Nealeb 
Getting started with Sanguinololu
September 05, 2012 03:58PM
I'm kicking this off to be able to answer Charlie.S's questions outside the "Welcome" thread.

Sanguinololu power - it is fed, in effect, in two different ways. The actual processor can be fed via the USB connection to your PC. This provides 5V which goes to the board. This is quite useful as it means that you can connect to the board, test it, and download new firmware without needing any other power. There is also a 12V (nominal - it can vary) supply needed which goes via the Pololu driver boards to the stepper motors - mainly, that's needed to run the motors and feed the hotend heater. That 12V supply also goes to a regulator chip on the board that can also supply the 5V. In practice, what I do is run the board off the USB power alone when I am testing, downloading firmware, or whatever so that the motors cannot move, the hot end does not heat, etc. Once I'm happy, firmware is loaded and running, Pronterface(*) is running on the PC and connected to the board, then I turn on the 12V but until I do that, I know that motors won't move. I don't know where you are coming from in terms of understanding electronics, etc, so ask again if that doesn't make any sense.

In summary, you will be able to do early board testing, download your customised firmware, etc, with just the USB connection but you are going to need a 12V power supply capable of at least 5-6A, and maybe 15A if you also have a heated bed.

So, going back a step, before you can use the Sanguinololu you have to have downloaded a suitably configured version of the firmware of your choice. This is the software that runs on the board's CPU, takes the incoming messages from the PC (G-code - simplest view is that the PC says "go to point (X,Y)" and the firmware translates this into the stepper motors pulses needed to do it. The firmware is also responsible for things like reading the hotend temperature and controlling the heater power to maintain temp at the set value). The two main firmware variants are Sprinter and Marlin. I recommend Sprinter as the simpler of the two to get running although there is not much in it. I have been running Sprinter up to now, although I am in the middle of moving to Marlin although that is only because Marlin supports an LCD panel and Sprinter does not. In either case, the firmware is almost certainly going to need to be configured and a new version downloaded. Why? Because the firmware has to know (i.e. it is built into the firmware code) things like how many stepper motor pulses are needed to move 1mm along each axis or extrude 1mm of filament, how the end-stop switches are configured, which way the stepper motors go, etc, and these things differ with every Reprap machine. Maybe they shouldn't, but they do... So, you are going to need to download a copy of the Arduino software (the firmware development, compilation and download package - and I recommend version 0.23) and a copy of Sprinter. You install Arduino on your PC, use it to open and edit the relevant bits of Sprinter, hit the right button and, miracle of miracles, the compiled firmware configured to suit your machine is downloaded into the Atmega chip on your Sanguinololu. The good bit is that is then stays loaded - you don't have to do this every time you switch on. I probably needed to modify and download 3 or 4 times when I was first getting the system set up just to get motor direction, end stop settings, etc. And I've probably updated it half-a-dozen times since for various reasons.

Installing Arduino and getting to grips with opening Sprinter, updating and saving it, etc, is a bit fiddly and without a reasonable background and familiarity with software, you are probably going to struggle a bit. Not least because most of the instructions assume you are running a Linux variant and it's all a little bit different on Windows...

What I would suggest is that when you get to the point of having a built Sanguinololu that you think is ready to run, and assuming that you have or can beg or borrow transport, is that you bring it to my place (will you be using a laptop?) and I can take you through the process of installing all the software, and we can get it up and running. I probably have sufficient facilities, power supply and so on that we can sort most issues. You can also see a working Prusa! Might provide some inspiration to get your own machine running...

You also asked about the hot end. Mine is, more or less, the Adrian Bowyer design that I found on the Reprap forum somewhere. I made mine from some odd scraps of aluminium and brass, but I did have to buy some PEEK and PTFE which I was lucky to find as cheap(ish) offcuts on eBay. I have a milling machine and lathe and with those facilities it was pretty easy to make. I modified the original design and I still haven't got round to putting the drawings together. I worked from odd pencil sketches! Again, though, I can talk you through that if we can meet up.

I shall PM you with contact details so we can communicate outside the forum with reference to meeting, but please ask technical questions here as the answers might (possibly!) help others. I found that there was a gap between not knowing anything very much at all and being able to understand the more advanced discussions that was difficult to fill, and that is where the forum comes in.

(*) Pronterface is the software that runs on your PC when you are printing. It allows you to move the various axes, set hot end temperature, etc, and is also where you load in a design that it then sends to your printer. That's another whole story...
Re: Getting started with Sanguinololu
September 05, 2012 04:03PM
Charlie - can you PM me with contact details - email address or some such? I can't find your username in the PM recipient list in the forum.

- Brian
Brian

I am currently trying to get an account set up for the forums but you can email me with charlie.david.smith@hotmail.co.uk

Also my dad has a workshop with a lathe and a milling machine in it. I also understand electronics enough to understand what you were saing about connecting sanguine up to a computer.

Charlie
I know this is a long dead thread on the forum, but I believe my issue directly relates to your large original response to Charlie.

I am running the Sanguinololu and got over the hurdle of getting firmware onto the board. As of right now, I cannot move X,Y,Z or the E motor. You mentioned needing the 12v power hookup to make them move, which I understand. I have the power plugged in as well as the USB (of course, otherwise it would never connect to Pronterface)

I figure I have a problem with the board (bought it as part of the Eventorbot kit), or the wire terminals, or the wires themselves, or my solder points, or the wire order (which I was told to modify as part of the installation of everything as it came as a DIY kit). I doubt it is a problem with every motor, wire, solder point though, as it is an issue that stops them all from working.

Which makes me come back to the board or the way the board distributes power to the motors. I have Sangunololu v1.3

Again, sorry to revive a long dead thread :/
Re: Getting started with Sanguinololu
June 18, 2013 05:10AM
Couple of vaguely-related questions before we go any further - whereabouts in the country are you? There may be someone local who could help as hands-on is much better than at-a-distance! Secondly, do you have a simple meter to check voltages and so on? A cheap digital multimeter from Maplin or similar is pretty much a necessity for any sensible fault-finding (Maplin are listing a "domestic multimeter" for about £9 at the moment that would do everything you are likely to need at this stage). Also, are you using Pronterface to drive the board? Is it showing information coming back from the Sanguinololu when you first connect?

Assuming you have access to a meter, the first step could be to start looking around the board and checking that correct voltages appear in the right places. In the first instance, I would check that there is 12V on each Pololu - or even that the 12V supply is delivering that to the board. Really simple checks that can turn up silly faults. However, you also need to be confident that the Gcode is getting to the board, so there are a number of lines of approach.

Start with answers to my first few questions, and we can see what we can do.

- Brian
Re: Getting started with Sanguinololu
December 23, 2015 03:18AM
Hi all I find all the above post very interesting as I have been using sanguinololu for about 2 years now without any problems on four home made printers and found it great. I have now got a bee in my bonnet about adding a second extruder to my printer, and after a lot of searching I stumbled accross an eagle design for a sanguinololu add on known as "Slum 1.0.1" this is a reasonable simple to construct board plugging onto the sanguinololu expansion pins, and so I thought that I would give it a try, my problem is how to amend the marlin configuration.h and other marlin files to address the expansion pins and therefore the second extruder. Can anyone help or better still has anyone made and used this design who can provide answers to problems they found.
Sorry, only registered users may post in this forum.

Click here to login