bigtreetech / Tango-3D-Printer-Motherboard

An Open Source ATMEGA2560 based 3D printer controller board.
Apache License 2.0
22 stars 16 forks source link

Can't get it to work on Anet A8 #4

Open Pan369 opened 5 years ago

Pan369 commented 5 years ago

Hi there! I am having a hard time connecting the Tango v1 board to my Anet A8 with BLTouch sensor and Anet 12864 Full Graphics LCD. Apparently the connections EXP1 & EXP2 don't match the ones on the LCD. I have smoked the first board I bought trying out the different procedures on youtube so I bought a second one, hastily. Also, I thought it wouldn't be so difficult to add an SD card reader but I can't find any instructions on how to. I would really appreciate some help. Thank you in advance!

Dloranger commented 5 years ago

if you find the info on the bltouch pinout please let me know, I have the tango on my Anet A8 (heavily modified for tri-color), but I have the discount full graphic LCD from a ramps kit and it is working fine, have almost everything ready except the touch probe as I can't find a pinout diagram for the touch

Dloranger commented 5 years ago

I figured out the BL touch and have my setup about 99% working including the 3dtouch. only thing I am currently fighting with is extruder 1 doesn't work, it drives extruder 0, (i am upgrading to a diamond hot end). If you run a single extruder you should be fine, just change the number of extruders back to 1.

marlin-1_1_9.zip.

I have the bltouch configured this way, using the input for ZMAX as the input from the touch probe. this is set in the pin_ramps.h file (look for servo0) you will see the setting is 32, where the default is 5 in the zip above. note that you will need to adjust the position of your probe in the configuration file based on your setup, but everything else should be right for the A8

https://www.antclabs.com/wiring2

Once I get everything working I will do a proper drawing of the connections for the touch and etc.

Hope this helps you get going

PP369 commented 5 years ago

Thanks Dloranger! I am trying it out now, I'll let ya all know how I go.

PP369 commented 5 years ago

B.t.w. I gave up trying with the Anet 12864 Full Graphics LCD and got myself a Reprap Discount Full Graphics LCD which works fine on the Tango v1.0 board but not with the BIGTREETECH Ramps 1.6 & Funduino Mega 2560 it came with D: After editing the u8glib in the "Test graphics" tab it lights up but with no contrast at all. I can barely see the text.

wolfiejp commented 5 years ago

HEY ALL. how did you get on with this, did anyone mange to get the bltouch working with this mobo? like most of you i have the anet a8 but wanted more, hitting a brick wall with this board as there does not seem to be much supporting docs with it, if anyone can shed light on this i'll be greatfull

thanks

Aurawin commented 5 years ago

The Tango v1 works great here. Exp1 and 2 are not for servo pins. They are exclusively for display and sd card readers.

The gnd, 5v, servo pins are located on additional header. I think they are 1,3,5. On the odd bank of pins. I can get a pic. But the board is labeled.

wolfiejp commented 5 years ago

I'm getting there. all powered up for the first time tonight. got the motors to move lol all good so far, will try to attach a Bl-touch tomorrow,

its a shame the board isnt documented well as it does seem to be the bees knees. but time will tell.

Dloranger commented 5 years ago

I have the board working fully with bltouch and running a diamond tri-color hot end, works great other than nozzle drool on the hot-end, but thats not the boards fault. it will work I assure you

On Thu, May 23, 2019 at 1:04 PM wolfiejp notifications@github.com wrote:

I'm getting there. all powered up for the first time tonight. got the motors to move lol all good so far, will try to attach a Bl-touch tomorrow,

its a shame the board isnt documented well as it does seem to be the bees knees. but time will tell.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/Tango-3D-Printer-Motherboard/issues/4?email_source=notifications&email_token=ACPI3DNSE6EK6JO36STK3OLPW32FPA5CNFSM4G2C3U72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWDKYAY#issuecomment-495365123, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPI3DO7G5U6MUOEEMCRNVTPW32FPANCNFSM4G2C3U7Q .

-- Daniel Loranger

wolfiejp commented 5 years ago

hey thanks for the replies. im starting to wonder if my board is defective, i send code to move X axis and Y moves, i send code to move Y and Z will move, i send code to move Z and X+Y+E1 move.

Other times i send code to say move Y 130 mm and it will move a little and then another random axis will move a little as well.

I was hoping to be set up and printing by now but i might have to give this up as a bad joke.

has any one had issues like this?

Aurawin commented 5 years ago

Those are strange symptoms. what are your stepper drivers? what are the jumpers for the stepper drivers set to? how did you calibrate the steps per millimeter? are you using micro steps?

wolfiejp commented 5 years ago

The drivers are A4988's no jumpers and that's as far as ive got, no calibrations as of yet, i was just checking if the motors worked,

Aurawin commented 5 years ago

The next thing would be to verify the wire order for your steppers. then I would verify firmware settings for the proper drivers for each axis. this tango board is very forgiving. I'm pretty sure it's going to be an issue you can fix

wolfiejp commented 5 years ago

I'll have to google how to check the order for the motors, what i did was a straight swap with the motors from my A8,

I think i have the firmware all set up correct, i'll have another look in the morning as ive been working on this all day and i admit defeat for today at least.

Thank you for your comments today,

Has anyone got a firmware set up so i can have a look just to double check i have mine correct,

Have a good weekend

Dloranger commented 5 years ago

I would say for the x driving y, and y driving Z, you likely just have the wires on the wrong stepper driver connector, that should be an easy fix. For the Z driving 3 motors, that is really strange and I can't reconcile that.

You do need the jumpers under the drivers to be closed, that really messed with me until I figured that out. I think you need all of them for it to work properly, my motors just buzzed and chattered until I did those jumpers. From there is was a lot smoother sailing. I don't think there is any reason to change the wiring unless did some weird twisting around and randomly shoved the wires into the sockets.

Here is my last edit to the marlin (entire folder) as I had to hack one of the pins for the touch as well, which I assume you also will want. Think its setup for z max on the touch gpio. I would send you pictures of everything, but its all in a cabinet and not accessible at all.

marlin_1_1_9.zip

wolfiejp commented 5 years ago

Thanks Dloranger for your input. I know the motors are in the correct ports as ive pulled all my motors out and no commands correspond to the correct axis, Its most strange some times a Gcode command to move Axis Y will move Y but a minute or two later i can send the same Gcode and it will move Y + Z Or Y + X.

I didn't have a Clue that i had to do anything with the jumpers, i'll try as you have suggested and hope it corrects it,

Once ive had a coffee or three i'll double check the wiring for the motors,

Thank you for sending me your marlin config It should be easy enough for me to spot if its a config error on my end or if its something else.

I have another Tango board arriving today as i have a feeling it could be the board that at fault.

Fingers crossed i get it all sorted and printing soon if not i think im going to have to look for another board with support for more then one Extruder

Thanks again

#

Aurawin commented 5 years ago

Just a note. Closing All 3 rows means u are micro stepping at 1/32. so your firmware and feedrate need to be adjusted

Aurawin commented 5 years ago

Also, when I said to check the wires for each stepper I meant to verify AaBb wires correspond to the driver output. you may need to adjust wires at the molex. I did. under the board gives you labels to check. you also need your wire diagram for the steppers. assuming motors are all the same you can examine one.

wolfiejp commented 5 years ago

Thanks Aurawin, Looks like i have a busy day ahead of me, Fingers crossed

wolfiejp commented 5 years ago

Ok not a bad day, got the board wired up powered up and the correct motors now move when they should " perhaps i had a bad board but the new one no problems with that bit"

Few problems still remain tho, Did anyone have any issues with there End stops, i have tried two different once today the bog standard ones that came with my A8 and also some Makerbot v3's i have. Neither seem to trigger a EndStop Event. No doubt im missing something in the firmware so any hints would be great.

Got to work out the way to use Dual Z Axis, ive read you can use one of the extruder ports for the Z-b Axis, as i do not feel comfortable duelling them from the one Z Axis port, "

The Bl touch Well im going to have to come back to that one. Lack of information found on the internet and i dont wish to make things worse so it can wait.

Have a good weekend all and thanks for getting me this far ;-) Hope to be off printing soon ;-)

ttfn

Aurawin commented 5 years ago

Endstops are either NO or NC. Ideally you want normally closed. If the switch fails the board will detect a constant problem.

So first I would set my limit switches to NC. If you don't know just use a DMM swapping pins if needed.

Then you want to match up the endstops in the configuration.h

Dloranger commented 5 years ago

I ganged my Z as I had to build new crimp blocks anyways so I can;t help with that part.

as for the end stops, 2 things to check

1) are you using the correct ones? for the A8 it only has mins, so you have to disable the max option, note if you are using my code base, the zmin is done with the bl touch not the original a8 stop

2) you may need to invert the logic if the motors will only travel in one direction. This took a while to figure out as well as the code allows you to go away from the stop forever, but never towards is the logic is inverted.

Good Luck

On Sat, May 25, 2019 at 11:35 AM wolfiejp notifications@github.com wrote:

Ok not a bad day, got the board wired up powered up and the correct motors now move when they should " perhaps i had a bad board but the new one no problems with that bit"

Few problems still remain tho, Did anyone have any issues with there End stops, i have tried two different once today the bog standard ones that came with my A8 and also some Makerbot v3's i have. Neither seem to trigger a EndStop Event. No doubt im missing something in the firmware so any hints would be great.

Got to work out the way to use Dual Z Axis, ive read you can use one of the extruder ports for the Z-b Axis, as i do not feel comfortable duelling them from the one Z Axis port, "

The Bl touch Well im going to have to come back to that one. Lack of information found on the internet and i dont wish to make things worse so it can wait.

Have a good weekend all and thanks for getting me this far ;-) Hope to be off printing soon ;-)

ttfn

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/Tango-3D-Printer-Motherboard/issues/4?email_source=notifications&email_token=ACPI3DJRT6UXLK3FIZLNKY3PXGBFPA5CNFSM4G2C3U72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWHW55Y#issuecomment-495939319, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPI3DJ2PMRAGXJ6VBUBGUTPXGBFPANCNFSM4G2C3U7Q .

-- Daniel Loranger

Aurawin commented 5 years ago

Configuration.h values:

define MOTHERBOARD BOARD_RUMBA

define X_DRIVER_TYPE (YOUR STEPPER DRIVER HERE)

define REVERSE_MENU_DIRECTION

define DISPLAY_CHARSET_HD44780 WESTERN

define LCD_LANGUAGE en

define X_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.

define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.

define Z_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.

define X_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.

define Y_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.

define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop.

define Z_MIN_PROBE_ENDSTOP_INVERTING false // set to true to invert the logic of the probe.

define SOFT_ENDSTOPS_MENU_ITEM

define AUTO_BED_LEVELING_UBL

define RESTORE_LEVELING_AFTER_G28

define MULTIPLE_PROBING 2

define ENDSTOPPULLUPS

define BLTOUCH

if ENABLED(BLTOUCH)

define BLTOUCH_DELAY 200 // (ms) Enable and increase if needed

/**

Configuration_adv.h

define EXTRA_FAN_SPEED

define Z_STEPPER_ALIGN_ITERATIONS

define Z_STEPPER_AUTO_ALIGN

define Z_STEPPER_ALIGN_X { 25, 248 }

define Z_STEPPER_ALIGN_Y { 150, 150 }

define Z_DUAL_STEPPER_DRIVERS

define Z_STEPPER_AUTO_ALIGN

define MICROSTEP32 HIGH,HIGH,HIGH

define MICROSTEP_MODES { 32, 32, 32, 32, 32 } // [1,2,4,8,16]

define E0_AUTO_FAN_PIN 8 // note that if you swap out the fan0 - fan1 on the board you don't need this but if fan0 is the extruder fan I needed this option to remap the outputs labeled on the board.

define EXTRUDER_AUTO_FAN_TEMPERATURE 120 // sets fan on when the extruder reaches this temp

define PINS_DEBUGGING

Aurawin commented 5 years ago

If any of your steppers move in reverse look for any of these items and swap your values needed

define INVERT_X_DIR TRUE/FALSE

define INVERT_Y_DIR TRUE/FALSE

define INVERT_Z_DIR TRUE/FALSE

define INVERT_E0_DIR TRUE/FALSE

wolfiejp commented 5 years ago

Thanks all for your input, all seems to be working now apart from the BLTouch..

Fingers crossed i should be printing soon,

Dloranger commented 5 years ago

Is this topic still open, not an admin by any means, just thinking it is best to close it when resolved. Keeps it cleaner if anyone else comes looking for help.