MKS 1.3 Board

829 views
Skip to first unread message

Robo

unread,
May 20, 2017, 12:11:02 PM5/20/17
to OpenPnP
Hello,

Any one can share mks 1.3 board connection details for PNP machine?

Thanks

Arie Lashansky

unread,
May 20, 2017, 5:23:26 PM5/20/17
to OpenPnP
Dear Robo

I had smoke come out of my board on Friday after making a stupid mistake.Reverse Voltage I had it all working then
soldered the uln2003 board to the mailn 12v supply and some how mixed the wire when I put them back into the board.

Ok  here is where I was before the Smoke came out.

1. The makerbase doe not have enough outputs that can turn on power.
   You need 4 vac and 1 pump and 2 lights  ( At least)
   I wired in a board ULN2003 ( Just a simple one I had from cheap steppers ) to the GPIO pins.

https://images.search.yahoo.com/images/view;_ylt=A0LEVr5tsyBZB7sAIY0PxQt.;_ylu=X3oDMTBsa3ZzMnBvBHNlYwNzYwRjb2xvA2JmMQR2dGlkAw--?p=uln2003+stepper+motor&back=https%3A%2F%2Fsearch.yahoo.com%2Fyhs%2Fsearch%3Fp%3Duln2003%2Bstepper%2Bmotor%26type%3Dlvs__webcompa__1_0__ya__ch_WCYID10285__161117__yaff%26hspart%3Dlvs%26hsimp%3Dyhs-awc%26fr%3Dyhs-lvs-awc%26ei%3DUTF-8&w=600&h=600&imgurl=www.digibay.in%2Fimage%2Fcache%2Fdata%2Fsachinelectronics%2FED01%2FED01-09-0037-A-600x600.jpg&size=79KB&name=ED01-09-0037-A-600x600.jpg&rcurl=http%3A%2F%2Fwww.digibay.in%2Fuln2003-stepper-motor-driver-board&rurl=http%3A%2F%2Fwww.digibay.in%2Fuln2003-stepper-motor-driver-board&type=&no=3&tt=120&oid=b571ebb31d96d985475817c467a182a3&tit=ULN2003+Stepper+Motor+Driver+Board+-+Misc+-+Buy+in+India+-+DigiBay+...&sigr=11o8cpafc&sigi=12h6n2odk&sign=10qfpmvj6&sigt=103vg5ole&sigb=155ecnfip&fr=yhs-lvs-awc&hspart=lvs&hsimp=yhs-awc

   Next you need to edit the config file to match the GPIO pins ( At the bottom of the file)

   I downloaded the config from  github.com/makerbase-mks/

   I needed to fully  check Jason's file with the mks file as some GPIO i think do not match

The stepper driver chips on the maker board support two levels of microstepping the high res seems to have issues.
https://www.youtube.com/watch?v=pTfFYm1n3cE,

One can take the stepper drive signals off the header and use a solution not drv8825


  I now need to wait a few weeks for a new board.I also ordered some LPC1768 to fix my old board . My new board and chips
were shipped yesterday from China I can track them.
 
Arie

Robo

unread,
May 21, 2017, 8:17:11 AM5/21/17
to OpenPnP
Need connection details like attached photo.
Electronics and Plumbing.png

Cri S

unread,
May 21, 2017, 11:10:04 AM5/21/17
to OpenPnP

Arie Lashansky

unread,
May 21, 2017, 1:46:29 PM5/21/17
to OpenPnP

Robo

The Makerbase is not 1 to 1 the same as the smoothie from above plumbing drawings we need
Outputs  at least 500ma capable. My Air relays need 250ma the pump needs more I thing one of the heater outputs are best.

         From Plumbing Diagram
            1  S1 
             2  S2
             3 S3
             4 S4
             5 Vacuum Pump
             6  Ring led  





Outputs on 1.3    1.  Bed p2.5  (Hot-bed)
                          E1  Heater 1 
                          E2  Heater  2
                         p2.4  Fan pwm (unknown if it can be used for high currents lets say Led pwm)

   Ok   we are missing  outputs  so we need to buffer the  GPIO  on the right we have p0.14 p0.16 p0.17 and top we have more ports more gpio ports on top.

  Now look at config.txt on how to map GPIO to Fuctions switch vac is pin 1.23 Buffered on the Smoothie but not on the makerbase (it is top left you can not run a vac switch
 direct from a GPIO.That is where the ULN2003 or a fet is needed.Note where is pin 1.22 also not buffered (led pwm).

 So LED Pwm needs to move from pin 1.22  (Smoothie ) to pin 2.4 (Fan Pwm)

( From Config.TXT)
switch.vac.enable                            true
switch.vac.input_on_command                  M808
switch.vac.input_off_command                 M809
switch.vac.output_pin                        1.23
switch.vac.output_type                       digital

switch.led.enable                            true
switch.led.input_on_command                  M810
switch.led.input_off_command                 M811
switch.led.output_pin                        1.22
switch.led.output_type                       pwm


Cri S your photo is of a 1.4 Marlin board not the  maker base s 1.3 Smoothie board.
 I made a stupid mistake and reversed the power on my board so I have a few weeks to wait for a new board and 10 LPc1768 chips.As If I had a fully working
 config file I will have sent It. But it is work in Progress
 
Arie

Arie Lashansky

unread,
May 21, 2017, 1:49:51 PM5/21/17
to OpenPnP

Trampas Stern

unread,
May 21, 2017, 2:01:37 PM5/21/17
to OpenPnP
You could try one of this instead of ULN2003. 


It has 16 N-FET outputs for driving LEDs, solenoids, etc.  Additionally it has a prototyping section in you need some custom circuits. 

Arie Lashansky

unread,
May 21, 2017, 3:14:03 PM5/21/17
to OpenPnP
I wanted to be as clear as I possibly  and the ULN2003 was what I had in my lab lets keep it simple.

    Simple pick GPIO and outputs.
    Buffer them and using a simple 2n2222 or uln2003.
   Edit the config to match the functions  (see above part of config.txt)  . Put the text file onto the sd card
 





Trampas please explain what you get more by using the 60$ fet driver over a simple uln2003 or 2n2222 as far as function the loads are small 250ma for the Air relays
No big heating element or heated bed. Low speed vacuum control.It may be nice for feeders but lets get up and running before feeders 16 control outputs

Arie


 
 

On Sunday, 21 May 2017 21:01:37 UTC+3, Trampas Stern wrote:
You could try one of this instead of ULN2003. 

Trampas Stern

unread,
May 21, 2017, 9:13:29 PM5/21/17
to OpenPnP
If you only need one relay driver then adding a transistor to smoothie is easy, bread board or wire wrap you something and enjoy! 

However if you are like me, I needed outputs for:

1x  Vacuum pump
2x 3 port 2 way vacuum valves
2x up and head camera lights (with high frequency PWM for dimming)
1x possible drag solenoid (not implemented on my machine yet)
1x air solenoid for paste dispenser (not implemented on my machine yet)
2x vacuum valves if I upgrade to 4 heads. 
etc. 

Additionally I need 16x  outputs for Yamaha feeder solenoids. 

I also wanted extra digital inputs for X and Y max travel switches. Some people wanted vacuum sensors, and other things, so there is a prototyping area with analog inputs and digital I/Os. 

I personally thought about bread boarding a driver circuit, but then I realized that I wanted a reliable machine and did not want to be debugging my bread board's rats nest a year from now when something broke, and hence I designed a PCB. 

So yes a $60 board is not for everyone, just depends on what you need/want. 

Robo

unread,
May 23, 2017, 9:15:14 PM5/23/17
to OpenPnP
Thanks to all, i ll check and update you in case of any query ...

and i ll upload more photos of my machine updates..

Thanks


On Saturday, May 20, 2017 at 9:41:02 PM UTC+5:30, Robo wrote:

Marek T.

unread,
Oct 13, 2017, 11:37:30 AM10/13/17
to OpenPnP
I've got the board like that today as a gift. Looking like new. I'm going to play with this and compare a bit to Smoothieboard which have used on my PNP. May be usable if some accident with Smoothie destroy will happen... :-)
Does it use exactly the same firmwares bin as made for Smoothieboard? Or the only one from their github can be loaded?

Arie Lashansky

unread,
Oct 15, 2017, 3:23:49 PM10/15/17
to OpenPnP


On Friday, 13 October 2017 18:37:30 UTC+3, Marek T. wrote:
I've got the board like that today as a gift. Looking like new. I'm going to play with this and compare a bit to Smoothieboard which have used on my PNP. May be usable if some accident with Smoothie destroy will happen... :-)
Does it use exactly the same firmwares bin as made for Smoothieboard? Or the only one from their github can be loaded?


W dniu środa, 24 maja 2017 03:15:14 UTC+2 użytkownik Robo napisał:
Thanks to all, i ll check and update you in case of any query ...

and i ll upload more photos of my machine updates..




Same Firmware   not the same Pinouts For GPIO   you need to edit the config file

Marek T.

unread,
Oct 15, 2017, 3:27:47 PM10/15/17
to OpenPnP
Clear, thanks Arie.
Reply all
Reply to author
Forward
0 new messages