Quantcast
Channel: Reprap Forum - Sanguino(lolu)
Viewing all 269 articles
Browse latest View live

Can I just connect it to a screw terminal? also, a question about power supply longevity (1 reply)

$
0
0
Okay, It's been a really long while since I've had anything to do with creating my own power supply and I was wondering if I could just connect a laptop power brick with the tip stripped (I was planning on putting a new tip on it to use with a different computer but I bought a universal charger instead so I now have a nifty busted charger) to the screw terminal on my sanguinololu 1.3. I had originally planned on wiring a universal adapter tip to an xlr connector but was wondering if this would be easier. Has anyone else had any luck with laptop power bricks? Do they work as well as a car battery or a pc PSU?

Randomly down voltage on hotend pins (2 replies)

$
0
0
Randomly down voltage while printing. Corrupt detail and litter extruder.
Return by hands(set hotend temperature) in Pronterface.
Sanguino v 1.3b/Mendel Prusa.

What do make to move? Atmega 644P malfunction? Noise?

P.S. Excuse me for probable errors. English is not native language.

Error when I try to upload:S (2 replies)

$
0
0
Hi, I build the printer Prusa2, but now, I try to upload Splinter with the arduino IDE 022 + sanguino023r4 and arduino IDE 023 + sanguino023r4.

In this IDE the compilation is good, but when I upload arduino say: "Binary sketch size: 16426 bytes (of a 63488 byte maximum)
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x48"

I select before the sanguino board and portUSB.

Thank's.
Diego.

Sanguinololu v1.3b (8 replies)

$
0
0
Hello everyone,

For the lazy readers out there I'll paraphrase by saying that I cant get Sprinter to compile for the Sanguinololu board v1.3b found on reprap.me.

A little background. I'm a bit of a newbie with no electronics or engineering background save for building my own gaming PCs for the last decade or so. Actually I'm a security officer for a living if that tells you anything. About a year ago I built a Printrbot just as the STL files were released to the public and assembled it using pictures of the completed project from the main website. At the time I had RAMPS 1.4 and everything was running smoothly save for the horrible calibration job, but I digress... About 6 months ago I started having major issues with my electronics and after much trial and error purchased the 1.3b board as a replacement. One thing led to another and it became a forgotten project over the last 6 months.

Now that I am picking it up again I'm finding it impossible to get Sprinter to compile for the new board. Everything connects right, idle LED is on, drivers are installed and working properly, Sanguino definitions have been added to Arduino library, Sanguino is selected from board menu, correct COMM port has been selected, config file has been edited properly (will post it by 9/1/12,) no response from obvious bug fixes or different versions of Sprinter.

Tried the fix:
Quote

Sd2Card.cpp
#include --> #include
SdFat.h
void write(uint8_t b); --> size_t write(uint8_t b);
SdFile.h
#include --> #include
void SdFile::write(uint8_t b) { --> size_t SdFile::write(uint8_t b)
{
Sprinter.h
#include --> #include
Which is a workaround for using Sprinter with Arduino v1.0 that was a nice fix for when I used RAMPS 1.4

In this thread:
[forums.reprap.org]
Sanguino-newby seems to have had the same troubles that I'm running into, he claimed the problem may be the Pin assignment and was unable to get it to work. He ended up moving on to Teacup which worked for him, but he didn't post exactly how he was able to make it work. At least nothing that I understand.

MrAlvin posted the pin assignment here:
[github.com]
which I think is for ATmega644P-20AU 44-pin SMD which is the microcontroller that Sanguino-newby claims this board uses. The problem there is that I have no earthly clue what to do with that information because changing pin assignments and adding definitions to Sprinter are beyond my experience level.

Anyways who knows maybe I'm just overlooking something simple in the config folder. Any help would be much appreciated.

Thank you

Y stepper not working, I think command tries to move x stepper (4 replies)

$
0
0
Hello all

I can control the x and z steppers but not the Y. When executing a Y command I can feel and hear a humming from the X stepper as if its trying to move, and I have only 'rarely 'gotten a humming sound from the Y stepper, but no movement, and typically I dont get any response from it.


I've got a reprap huxley with a Sanguinololu board. Everything's connected up and it kinda talks to the computer. I use pronterface.py to control the unit, and have managed to get the 'GET POS, ECHO etc buttons' on the software.

I've swapped the X and Y wires around and can move the Y stepper with the x commands, but then the X stepper doesn't respond, and I get a humming noise (no movement) from the Y stepper. So the motors work fine

I adjusted the potentiometer for the Y stepper when it was connected to the Y Pololu stepper drivers and tried movement with no results. And also when connecting it to the X stepper drivers (so I could control the Y stepper with the X commands) and adjusted the current to the Y stepper to create a nice movement. But this had no effect when reconnecting the wires to the Y driver. And the endstops all work, Ive tested them all by pressing them mid movement causing the stepper to stop.

I'm guessing it's either the software not working properly with the Y commands or the stepper driver is buggered.

I measured the current exiting the pins towards the X and Y stepper with a multimeter when executing movement commands to compare the differences. They seem to be in reverse of each other, and would send signals for the x fine, then suddenly stop sending and I would have to reset or turn the motors off to get it to start sending the commands again :s randomly without executing commands the x would have a reading of 43 (I think 43V, it was on 43 under AC V setting on the 50 position)

OK so overall the Y stepper isnt working, and I'm stumped big time. Do you think its the software messing up the Y commands, I'm not sure how to alter the Y command signal other than the potentiometer?

I'm no expert, but am willing to put in the time

avrdude error with sprinter (4 replies)

$
0
0
I know a lot of people have posted issues that they have had uploading new firmware to the atmega but from what I have found, most of these have to do with the Atmega 644. Currently, I am working with a sanguinololu board (v 1.3), with atmega 1284p and arduino 1.0.1. The problem I am having has to do with the error:
avrdude: stk500_getsync() : not in sync: resp=0x00
I have tried compiling with every programmer (it was worth a shot) but no matter what I do I still get the same error. Does anyone know what the error refers to or what causes it?

Is this only a problem with sanguinololu or have other boards had this issue?

thanks for your help!

Update: I just tried uploading again and this time, it spit out even more erros at me. There was nothing that I had changed between last night when it kept showing the above error and this morning and yet it gave an error I've never seen before, let alone being something that I altered.

here are the new errors:





heater.cpp:297: error: expected unqualified-id before 'if'
heater.cpp:300: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:303: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:310: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:318: error: expected unqualified-id before 'if'
heater.cpp:321: error: expected unqualified-id before 'if'
heater.cpp:357: error: expected unqualified-id before 'if'
heater.cpp:362: error: expected unqualified-id before 'if'
heater.cpp:376: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:379: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:380: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:382: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:384: error: expected unqualified-id before 'if'
heater.cpp:395: error: expected unqualified-id before 'if'
heater.cpp:396: error: expected unqualified-id before 'if'
heater.cpp:397: error: expected unqualified-id before 'if'
heater.cpp:399: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:400: error: expected constructor, destructor, or type conversion before '+=' token
heater.cpp:401: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:404: error: expected unqualified-id before 'if'
heater.cpp:406: error: expected unqualified-id before 'else'
heater.cpp:444: error: expected unqualified-id before 'if'
heater.cpp:447: error: expected constructor, destructor, or type conversion before '=' token
heater.cpp:476: error: expected unqualified-id before 'if'

Update 2: After uninstalling and reinstalling everything, including arduino, I'm recieving this error message now:

In file included from arc_func.cpp:25:
/Configuration.h:353:2: error: #endif without #if

What am I doing wrong? I am following the directions on the reprap wiki as well as on make something for marlin. I'm at a complete loss.

Sanguino 1.3a with 1284p very long connect time with marlin ? (4 replies)

$
0
0
Hy

I bought a second Sanguino now with a 1284p instead of the 664p

The time to connect to the board or uploading the firmware take very very long compared to the 664p (still gen6 and ramps are alot faster)

Is there a possibility to speedup the loading times ? (removing unused code from marlin ? )

mfg Chri

Sanguinololu Heater Problem (2 replies)

$
0
0
Hello, I have been slowly building a printer with a custom frame of my own design, but reprap electronics (Sanguinololu 1.3a). For my hotend I am using a 5ohm wire wound resistor.

I got the electrical testing phase of the hotend, and it seemed to work fine the first time, I slowly bumped up the target temp in 25c increments up to 200c, then let it run for 20-30 minutes with no problems.

Later that night I just set the target temp to 200 right away, and my temp graph started climbing until it hit 175c in a minute or two, then started going down. I immediately powered down the whole thing and started feeling around to see if anything overheated or was on fire, at the moment everything on the Sanguinololu board seemed okay (not hot). So I plugged it all in again, but that time the heater would not turn on.

I also tried using the extra hotbed heater contacts to see if those work, but it does not give power either.

Three other weird things I noticed:

1.) When I attempt to turn the heater ON, the 5v regulator starts to heat up immediately, and within 20 seconds or so it is too hot to touch. (I'm pretty sure it did not do that before, and it's fine when the heater is OFF)

2.) When the heater is OFF I get 0.000v across the heater contacts, when the heater is ON I get 0.003v.

3.) When the heater is ON, the thermistor temp measurement jumps a few degrees, even though the heater never warms (no voltage).

I am sure I blew somthing out, but what I am not sure. I would probably just get a new set of all the parts, but I am also afraid my 5ohm heater may be to blame.

My electcrical engenering skills are pretty weak, and any insight would be appreciated!

How to get Marlin file from Sanguinou (3 replies)

$
0
0
Hi all,

I would be grateful for some help: I want to get the Marlin file from my board

When running Avrdude in Dos where would the device path be found?
ie if /dev/tty is a unix location what would XP equivalent be

Can I find out the calibrated settings from the Hex file?

Many Thanks
SImon

Sanguinololu 5th motor axis / dual extruder upgrade (4 replies)

$
0
0
I have been looking into the possibility of adding a dual extruder option to the Sanguinololu board. I am a backer of the Eventorbot kickstarter which uses Sanguinololu 1.3A. There was some interest in using dual extruder and the hot end bracket was designed to support 2 hot ends so I think some people might appreciate being able to take advantage of it.

I have designed an adapter board which should allow the addition of a 5th axis Pololu as well as a thermistor and hot end mosfet. I also analyzed the design of the SDSL and SWA (bluetooh / SD adapters) and designed a pass-through port which should allow the 5th axis board to work along with these add-on boards.

I am going to make a small run of these boards so I can have my own and possibly sell the remainder at a minimal cost to others who are interested. I also intend on making the board design open source and seeing what can be done about adding an option to the various firmware packages to accommodate this.

I am curious if anyone has feedback or thoughts about this idea? Also I don't know where the best place would be to post the design files (I designed the board using Eagle with some components borrowed directly from the Sanguinololu design for consistency).

PROBLEM! avrdude: stk500_recv(): programmer is not responding (3 replies)

$
0
0
I have try to Upload some modify to my firmware but:


avrdude: Version 5.4-arduino, compiled on Oct 9 2007 at 11:20:31
Copyright (c) 2000-2005 Brian Dean, [www.bdmicro.com]

System wide configuration file is "/Users/ifala/Desktop/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/ifala/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/cu.usbserial-A800EU98
Using Programmer : stk500v1
Overriding Baud Rate : 57600
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: Send: Q [51] [20]
avrdude: ser_recv(): programmer is not responding



I have:

OSX 10.7.5
sanguino 0023r4
arduino 0023
FTDI 2_2_18
sprinter (https://github.com/kliment/Sprinter/tree/master/Sprinter)

HELP MEEE !!!

Melzi Atmega1284p - avrdude "atmega1284p not found" (1 reply)

$
0
0
Hello,

I recently finished builing a reprapPRO Huxley kit. I have a Melzi board with atmega1284p. I installed arduino 0023, sanguino tool packet that includes an "arvdude.conf" containing the definition for atmega1284p. I also downloaded marlin project packet which i´m trying to upload to my board in order to fix a heatbed misdrived mosfet (pins.h HEATER_BED_PIN definition should be 10 while it is 14.... but that´s another problem).

I succesfully compiled marlin sketch and while i´m trying to upload it to the board, arduino interface shows avrdude error "atmega 1284p not found".

Board USB power and reset jumpers are set ok. Also arvdude configuration file is ok, as stated above.

I also search this forum and google it abundantdly, but can´t find an answer. Can anyone help me out, please, cause it seems i´m stuck.

Thanks.

Pins.h in Marlin Firmware (1 reply)

$
0
0
Hi,

I have a doubt in pins.h in Sanguino atmega644P (I am using Gen6 Motherboard) and how do they write it ?

Some example codes in Marlin --> pins.h

#define X_STEP_PIN 15
#define X_DIR_PIN 18
#define X_ENABLE_PIN 19
#define X_MIN_PIN 20
#define X_MAX_PIN -1

here 15,18,19,20,-1 represents pin and how does it relate with Microcontroller. I was bit confused with Merging Electronics with this and presence of -1 here

Thanks in advance for your help

[Resolved] Can't upload Marlin - stk500v2_ReceiveMessage(): timeout (7 replies)

$
0
0
Hi all,

I know there are a few threads with this problem but I haven't found any solutions and wanted to post my exact setup.

I'm using Marlin RC3 from here: (Downloaded as the tagged RC3 version)
[github.com]

I'm also using Arduino-1.0.1 and have "Gen7+Arduino+IDE+Support+2.0.zip" installed into /Arduino-1.0.1/hardware/Gen7/ directory.

I have a Sanguinololu v1.3a with an ATMega1284P - It is pre-loaded with Marlin and a bootloader which works but now I need to set up my configuration properly.

I select the following board in the Arduino IDE: (I renamed it so I knew which one to use)

Gen7-1284P-16.name=Sanguinololu / Gen7 with ATmega1284P and 16 MHz
Gen7-1284P-16.upload.protocol=stk500v2
Gen7-1284P-16.upload.maximum_size=129024
Gen7-1284P-16.upload.speed=115200
Gen7-1284P-16.bootloader.low_fuses=0xF7
Gen7-1284P-16.bootloader.high_fuses=0xDC
Gen7-1284P-16.bootloader.extended_fuses=0xFC
Gen7-1284P-16.bootloader.path=Gen7
Gen7-1284P-16.bootloader.file=bootloader-1284P-16MHz.hex
Gen7-1284P-16.bootloader.unlock_bits=0x3F
Gen7-1284P-16.bootloader.lock_bits=0x0F
Gen7-1284P-16.build.mcu=atmega1284p
Gen7-1284P-16.build.f_cpu=16000000L
Gen7-1284P-16.build.core=arduino
Gen7-1284P-16.build.variant=gen7

I have tried the baud rates 115200, 57600 and 38400.


When I try to upload it, it compiles then I keep getting the following:
Using Port : \\.\COM9
Using Programmer : stk500v2
Overriding Baud Rate : 57600
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout

It just times out over and over. I have tried holding reset until it has compiled and have tried both enabling and disabling the USB auto-reset feature.

I can talk to the current version of Marlin without any issues via Pronterface so the communication isn't an issue. This connects at the baud rate of 115200.


If I set up AVRDude to use the baud rate of 115200, a few seconds after I release the reset button I get debug data that Marlin sends to Pronterface. (The current EEPROM speeds etc.)


I'm using Windows 7, x64.


Thanks,
-Andrew.

1.3 heater_temp suddenly reads low values (2c at room temp) (no replies)

$
0
0
Hi all,

I'm hugely impressed by this community, and to prevent unnecessary questions, ive tried all in my knowledge and on google before posting.

I've had sanguinololu 1.3 for almost a year now and been printing roll after roll on my mendel90 with it.. But after working on my hotend while the usb power was on, something seems to have happened that makes the temperature reading read awkward values.
Upon room temp, the heaterblock temp reads 2C, i tested it on the bed leads and there it reads correctly. The sensor is a 100k generic glass one, it also reads correct values when i measure it with a DMM
Tried hooking up a 33 and 10k resistor to the leads to get higher readings. It goes up to 14C with 10k, where it should be around 3-400 iirc
The next thing I tried is re-uploading the fw, which didn't resolve the issue.
Nextly i tried using the other AI pins that are on the breakout below the IC, this resulted into all kinds of wacky reading, from a pulsing 70-100 degree reading to a constant 350C one. (do notice i changed the pin defines to their respective pins in the arduino software)
I find this strange since they shpuld be unused (in fact the traces seem to go dorectly from IC pin to breakout)
Is there anything else i can try?
I'm not afraid to break it further, as i ordered a megatronics board already, but i really want to know what happened
Thanks in advance!

Edit: forgot to mention that the rest of the printer works fine, no strange behavior other than the heater temp problem

Melzi + Cooling fan = failure? (2 replies)

$
0
0
I had just assembled my RepRapPro Huxley last week, which came with a Melzi 2.0 board. I had been unable to get anything to really print decently even after setting the e steps and trying a bunch of different hot end and bed temperatures, so I tried using a cooling fan to see if it helped. I wired a standard 80mm computer fan to the board's fan connector and this is what happened:

The hot end heated up to the printing temp, when for some reason the fan attempted to kick in, which caused to board to momentarily power off, as if I had bumped the power cord. I had pronterface reconnect with the printer, set the hot end temp back up, but the hot end dropped in temperature and now no longer heats up. The multimeter reports that the heater resistor's resistance seems to have increased by about 1.6 million ohms.

I'm not sure what happened here.

Sanguinololu 1.3 Heating issue (1 reply)

$
0
0
My printer seems to be working, except once the heater gets hot - 230C for ABS - after about 5 minutes it suddenly starts dropping temperature, and will completely quit heating... the temp will drop far enough the plastic will not melt and will jam, etc..

Any idea's how to troubleshoot this?

updating firmware for huxley (sanguinololu, ATmega 1284P) :S (1 reply)

$
0
0
Hi i have a Reprap Pro Huxley.
My old Sanguinololu board crashed. So i bought a new Sanguinololu Rev 1.3a with ATmega 1284P which has a bootloader already and the firmware for mendel on it. Now I tried nearly a day to upload the huxley firmware (https://github.com/reprappro/Marlin). My guide is [reprap.org].

I work with Arduino 1.0.1 and the board files Sanguino-0101r1 (Added support for Arduino 1.0.1)
I selected the right COM port and the board Sanguino W/ ATmega 1284p 16mhz.
Next I open the Sprinter_Sanguinololu.pde file.
Configuration.h looks like this:
_____________________________________
#ifndef CONFIGURATION_H
#define CONFIGURATION_H

// Uncomment ONE of the next three lines - the one for your RepRap machine
#define REPRAPPRO_HUXLEY
//#define REPRAPPRO_MENDEL
//#define REPRAPPRO_WALLACE

// BASIC SETTINGS: select your board type, thermistor type, axis scaling, and endstop configuration

//// The following define selects which electronics board you have. Please choose the one that matches your setup
// MEGA/RAMPS up to 1.2 = 3,
// RAMPS 1.3 = 33
// Gen6 = 5,
// Sanguinololu up to 1.1 = 6
// Sanguinololu 1.2 and above = 62
#define MOTHERBOARD 62
________________________________

should be fine i think...

My jumper is installed. But the problem is that i cant verify the firmware -.-
Error message is:

_________________________________
Sd2Card.cpp: In member function 'void Sd2Card::chipSelectHigh()':
Sd2Card.cpp:145: error: 'HIGH' was not declared in this scope
Sd2Card.cpp:145: error: 'digitalWrite' was not declared in this scope
Sd2Card.cpp: In member function 'void Sd2Card::chipSelectLow()':
Sd2Card.cpp:149: error: 'LOW' was not declared in this scope
Sd2Card.cpp:149: error: 'digitalWrite' was not declared in this scope
Sd2Card.cpp: In member function 'uint8_t Sd2Card::init(uint8_t, uint8_t)':
Sd2Card.cpp:216: error: 'millis' was not declared in this scope
Sd2Card.cpp:220: error: 'OUTPUT' was not declared in this scope
Sd2Card.cpp:220: error: 'pinMode' was not declared in this scope
Sd2Card.cpp:222: error: 'INPUT' was not declared in this scope
Sd2Card.cpp: In member function 'uint8_t Sd2Card::waitNotBusy(uint16_t)':
Sd2Card.cpp:471: error: 'millis' was not declared in this scope
Sd2Card.cpp: In member function 'uint8_t Sd2Card::waitStartBlock()':
Sd2Card.cpp:481: error: 'millis' was not declared in this scope
__________________________

I´m quite a noob in the programming of electronics and I dont know what I need to do now.
The guide doesent say anything about this!



I tried the same with arduino-0023 and the 0.23 board files.
Now I get this error!
_____________________________

In file included from Sprinter_Sanguinololu.cpp:7:
/Configuration.h:271:2: error: #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu.
_____________________________

Its like a bad dream. I tried everything but ist always ends in crap -.-

I hope somebody can help me.
thx maxtex

No power on the y-axis pololu board (4 replies)

$
0
0
Hi everyone,

Forgive me if this has been answered somewhere else but I’m very new at this so need some help.

Have basically finished my build and sorting out the electronics and motors.
On 1st connection of all the motors to my Sanguinololu 1.3a, all motors functioned, except for the 1 connected to my y-axis. Completely dead.

Tested and adjusted the voltage on all the Pololu boards but no voltage showed on this particular board which is connected to the y-axis. Moved the Pololu board to a working x axis to test the board and the motor continued to function perfectly… So nothing wrong with the Pololu board then. Also tested the motor on a different axis point and no problems.

Tried to see if I have continuity between the step and dir pins on the pololu board in the y-axis and the Atmega 644P chip (pin 28 and 29 I think) and it seemed OK. Don’t know if this really proves anything though.

I’m a complete newb with this so don’t really know why it seems as if there is no power being let through to y-axis pololu board. Can I test for this with my multi meter? How do I do that? Would I be able to test the continuity for this between the power access point and the pololu voltage points? Thought that might be a way to see of the solder point was sound.

Could this be that Atmega pins are not assigned correctly for supplying power to the Y-Axis? How do I check this and how would I fix this? Does the Atmega chip even control the power flow to various axis points on the Sanguinololu board or does the power supply come directly from power cable access points. Like I said, a complete newb.

Using Sprinter firmware by the way.

Any help would be much appreciated.

Regards

rdp

Azteeg X1 not running G Code (17 replies)

$
0
0
I have an Azteeg X1 and it is not running my G Code correctly. It works a bit then stops, or works on one axis but not on the other, but then after a reset switches. Then my Z axis goes down no mater what polarity I send it.

However when I run test code from the Arduino interface it runs the steppers back and forth just fine.

I have tried Marlin, and Sprinter. Both do similar things when told to run G Code.

I am using the Universal Gcode sender, as the windows one does not seem to work for me.

Any Ideas on what my issue is?

Thanks a bunch
Viewing all 269 articles
Browse latest View live




Latest Images