Help Setup | SmoothieBoard 5XC | 3D Printer

Hello,

I am hoping to get some help from somebody! I have read through the 3D Printer guide a few times, but I still do not have a full understanding on how to proceed.

I’ll start off by explaining the general design of the printer:
-SmoothieBoard 5XC
-Delta 3D Printer Layout
-3 Axis Motors
-3 Motor Fans
-3 Extruder Motors
-3 Extruder Motor Fans
-3 Hot Ends
-3 Hot End Fans
-1 Heated Bed
-4 Thermisters
-LED Lights that turn on according to extruder heat level
-Viki 2.0 Control Panel

I’d like your assistance on explaining how I connect all these items to the board:
-Which pins to connect an external A9882 Motor Driver
-LED connects to which pins and where to find programming tutorial?
-How to connect Viki 2.0? Which pins do they go to? I have the GLCD adapter shield, How does that connect to the Viki 2.0 harness? Programming example?

I am looking forward to hearing back from somebody!
Thank you for your time,

-Helipad14399

Imported from wikidot

Hey.

On wiring external drivers, please see http://smoothieware.org/3d-printer-guide which has two sections on that. The general idea is you wire the step, direction and enable pins, as well as ground, to the external driver, and provide power to the driver itself.

About LEDs, what you want to do is simply not supported by Smoothie right now. You would need to code in C++ to add that feature.

About Viki2, please see http://smoothieware.org/panel which has a section on it. You likely don’t want to use a GLCD adapter shield, that is for a different panel.

Cheers.

Hi!

I really appreciate your fast reply!

Extra Driver Wiring, Do I connect the sixth driver to pins P0.2, P0.4, P2.0 and all the negative leads to GND?

Looking forward to hearing back!
Thanks!

-Helipad14399

Those pins are already used by your first motor, you can’t use them for the 6th.

You need to find pins that are not used by anything on your board.

See <http://smoothieware.org/pinout>>> and <<<FLOATING LINK: http://smoothieware.org/lpc1769-pin-usage>

I am confused with this right now. It seems that the Smoothieboard 5XC does not have enough pins for both a sixth motor driver and the Viki 2.0 Panel? Or am I misunderstanding something?

I connected my Viki 2.0 as follows:
Pin 1.30 - Encoder Button
Pin 1.31 - Red LED
Pin 1.23 - Blue LED
Pin 2.11 - A0
Pin 3.26 - Encoder B
Pin 3.25 - Encoder A
Pin 0.28 - SD CD
Pin 0.27 - SD CS
Pin 0.18, Pin 0.15, MOSI, SCLK

Where are four more spare pins for the sixth motor driver?

Hey

The viki2 does indeed use A LOT of pins ( most/all )

There are ways to get more pins though if you really need to.

The play/pause button and play/pause led pins can be re-used as GPIO for example, that’s two pins, which is all you really need to add an axis.

The 4 LEDs can also be re-used as GPIO ( by disabling them in the config file ), which would give you two axes.

Also, the user I2C port can be re-used, that’s two pins.

Thanks for the quick reply!

I think I will recycle the LED Pins for this. Which two pins from the driver goes to the SmoothieBoard from the Driver? Isn’t there supposed to be at least three pins for this (Step, Direction and Enable)? And Which pins from the Driver go to the motor? And which pins do I connect 12V for the motor onto the Driver?

Pins on Driver:
Left Right


DIR GND
STEP VDD
GLP IB
RST IA
T3P3 2A
MS2 2B
MS1 GND
EN VMOT

The Driver is an A4982 Stepper Motor Driver - ICE Blue Edition

You really only need step and direction … enable can be kept always high, that’s just fine.
And you can use any pin you want for that, just set it in the config file.

I am assuming that the Enable pin just requires a steady 5V? Is this correct?

How do I wire up the Stepper Driver? How do I supply it with power for both the Driver and Motor?

Smoothie essentially just cares about the step and dir pins. For all the rest you’ll want to refer to the stepper motor driver’s documentation.

You’ll generally simply want to provide 12-24v power to the driver, connect the stepper motor to it, and possibly set certain pins to certain values to set things like microstepping.

I found the wiring diagram of the driver online.
Thanks for the help! This really cleared up a lot for me!
Looking forward to working with you again!
-Helipad14399

I have setup the printer enough to begin testing. Things started smooth, but slowly went down…

Problems:

  1. Mosfet’s are constantly on?!?
  2. Viki 2.0 Panel freezes after turning smoothieboard on

I don’t understand why I am running into these issues? The panel freezing is something new! At one point the panel would run flawlessly. Not sure what changed?

Help would be much appreciated!

Hey there.

Well, mosfets being on means there burned, which is bad news … did you solder diodes on for those you used for fans ? Are they all dead or just a few ? Which ?

About the viki2 that’s a strange one, can you check again all of the wiring ?

Cheers.

Hello,

I disconnected all wires from the board, plugged the smoothieboard into usb, and noticed a few things:

1.) Main chip on smoothieboard heats up a lot! Stays very hot!
2.) I checked the outputs on all of the mosfets and they all have an output. I did solder the diodes in place. Seems like all mosfets are dead according to how you describe it.
3.) I checked the Viki 2.0 wiring, all checks out. I did however unplug it and reconnected just to be sure. This did not change anything.

Looking forward to hearing back from you!
Thank you,

It’s been two weeks… Can I have a response to my question ^

Thanks…

Do any of the leds turn on ? Including with everything but USB disconnected. If so, which ones ?

Hello,

Yes the LED’s turn on, the LED’s by the main chip turn on and very end mosfet LED’s turn on. This happens both when USB is connected/disconnected.

Also, the main chip heats up to HIGH TEMPS! It’s been doing this since day one.

Looking forward to hearing back!
Thanks,

-Helipad14399

Hey.

Can I see a picture of the leds lighting up ?