collapse

Welcome!



Welcome to Robot Rebels, an online robot maker community.

Register today to post your projects, ask questions, share knowledge and meet like-minded people from around the world.


The RobotRebel.org Community

Author Topic: MKS Sbase  (Read 222 times)

jinx

  • calling from free Europe
  • Moderator
  • Sr. Member
  • *****
  • Posts: 398
MKS Sbase
« on: November 20, 2017, 03:53:21 PM »
               

         
Specs:
 
1. Using 32bit 100M Cortex-M3 MCU-LPC 1768, and improve its performance highly.
2. Support highly modular open source firmware , easy for secondary development.
3. Support network function, then  proceed remote control via IE Explorer.
4. Using DRV8825 stepper driver which supports 32-microstep and with excellent cooling.
5. Currents of the stepper motor can be set directly, which can avoid the damage .
6. Using high quality FR-4 4 layers PCB and special design for cooling.
7. Using professional power chip, support 12V-24V DC input.
8. Good to work with LCD12864 and MKS TFT touch screenst.
      Don't mean a whole lot too me right now,just I've heard it takes smoothie!  >:D

 The unwrap :
    Makerbase charge for postage but I gotta hand it to them all there products have been well packaged for a world tour and arrives two weeks to the Wednesday!  in a sturdy box.

              see that little gold bar top right pic that the infamous crystal
             

         the board itself appears well made and clean from rouge solder blobs, A single power input 12-24V, don't know which chip it is they using but it works just fine on the gen l. Common for Mks boards these days next to the bed out. The onboard brain of this board is the LPC1768 a Cortex-M3 microcontroller "32 BIT" slightly faster than arduino due but slower than the higher end boards such as the smoothie or Duet with an ARM Cortex-M4.
        Onboard DRV8825 drivers, NO pots too adjust, the current is set by firmware, "really nice feature of 32 bit boards and smoothieware when it came to calibrating the steppers. A jumper select for either 16 or 32 steps. with the typical 4 pin headers by the drivers for an external breakout board.  http://hackaday.com/2016/09/30/3d-printering-trinamic-tmc2130-stepper-motor-drivers-shifting-the-gears/

PIN OUT:
   working through the Sbase pinout  you begin to notice the assignments matches the smoothie board  in the config file. "Offers a little continuity for the enduser and makes it rather easy to select the right sample file to work with in firmware.
      " This board has gone though several changes since its release most with changes around the ethernet port and poor copper traces and a dodgy crystal! with 1.0 and 1.2, which is now reported resolved with the 1.3.  "buyer beware  those 1.0 and 1.2 boards still on sale."

             

   absolutely vexing that pinout  nowhere is a spare 12V for a proxi sensor  :'(   

               

           All Hail The CAPS! Those are two towering capacitors next to the Vin  over shadowing the SMDs components.  am still wondering with so many small SMD  is it wise to mount on the side of a printer, typical mks standards with connections with all the wire on the boards edging, lends itself for a 80 mm couple of 40 mm case fans.

             

   
      hooking up went straightforward "knew where those leads where going too".  Almost had a RAMPS feel to it and more so when it came to the fans, the hotend fan connected to the HE1 output and the print fan connected to the fan output.

             
   
            Getting started with smoothie was a  truly a smooth! experience, am almost a week in with smoothie still not seen the actual main code. I downloaded the stable version of github  along with whole file on github, inside the smoothieware edge folder is the sample config from there I selected the smoothie board which is need to set the printer and its the only file I needed to make changes to once that done add the build .bin and config to SD card and power up board, which booted up and responded to commands.
            I am liking the concept of writing modules, Hats of too the smoothieware.org team for making some excellent guides to create and tweak the modules. tweaking smoothie was a breeze " if you familiar with marlin you understand  smoothie approach and values, if not read those guides  http://smoothieware.org/temperatureswitch few hours of rereading, I had my second fan working.
     

 
Code: [Select]
#####################################
# Switch module for fan control
switch.fan.enable                            true             # Enable this module
switch.fan.input_on_command                  M106             # Command that will turn this switch on
switch.fan.input_off_command                 M107             # Command that will turn this switch off
switch.fan.output_pin                        2.4              # Pin this module controls
switch.fan.output_type                       pwm              # PWM output settable with S parameter in the input_on_comand
#switch.fan.max_pwm                          255              # Set max pwm for the pin default is 255

switch.fan2.enable                          true             # Enable this module
switch.fan2.input_on_command                M42              # Command that will turn this switch on
switch.fan2.input_off_command               M43              # Command that will turn this switch off
switch.fan2.output_pin                      2.6              # Pin this module controls
switch.fan2.output_type                     digital          # Digital means this is just an on or off pin

## Temperatureswitch
# See http://smoothieware.org/temperatureswitch
# Automatically toggle a switch at a specified temperature. Different ones of these may be defined to monitor different temperatures and switch different swithxes
# Useful to turn on a fan or water pump to cool the hotend
temperatureswitch.hotend.enable              true            #
temperatureswitch.hotend.designator          T               # first character of the temperature control designator to use as the temperature sensor to monitor
temperatureswitch.hotend.switch              fan2            # select which switch to use, matches the name of the defined switch
temperatureswitch.hotend.threshold_temp      40.0            # temperature to turn on (if rising) or off the switch
temperatureswitch.hotend.heatup_poll           10              # poll heatup at 15 sec intervals
temperatureswitch.hotend.cooldown_poll       60              # poll cooldown at 60 sec intervals

       
                           

           with the endstops only had to make slight change to smoothie firmware here to invert them "!"
Code: [Select]
alpha_min_endstop                            1.24^!            # add a ! to invert if endstop is NO connected to
    3 pin headers for endstops typical for the mks boards, " personally a 12v line  with a V/D circuit for a proxi sensor with 8 mm clearance be nice  with just 3 endstops". The mechanical switches worked " red breakout boards" without problem with default board setting. A two pin header to set the voltage on the endstop 3.3 - 5V, some report suggest that the 5V line is 4.85V. Opti endstops needs some additional checking in firmware a possible solution " not checked" for using optical endstop:
Quote
Hi, i have found a solution to the optical endstop on MKS,
In the declaration of "gamma_min_endstop" the correct value is : gamma_min_endstop 1.28v
The "v" argument is for activate the pull down.
        thanks pierrelesek of reprap forums

     Just behind the endstops are a couple of familiar headers for an reprap full graphics lcd controller    Also the single header for which i got the 3.2 tft attached.

               

 WARNING: its been read that those full graphics reprap discount clones" the ones with the reversed headers" can kill the Sbase!!!.

             

      read a few posting around the web of folks killing smoothie boards with this flaw and there a high probability those auction $5 offering suffer this, but if in doubt grab the multi-meter and do a continuity test on the pins of the lcd.




           
 
             

     
                  not a complete disappointment  and am surprised the drone ship printed at all, few changes made to firmware at this point, the filament change boarders trivial and TFT quicker and smoother feel to navigate than the lcd with a encoders! 

   
LINKS:
Makerbase githube for Sbase:
https://github.com/makerbase-mks/MKS-SBASE/tree/master/English

 reprap discussion on the Sbase:
http://forums.reprap.org/read.php?13,499322,page=1 mixed bag of things!

troubleshooting with TFT28 V1.2:
http://forums.reprap.org/read.php?13,675788,677732#msg-677732
screen images:
https://github.com/majurca/MKS-TFT28-NEW-PICTURES

about the best guide I come across setting up Mks Sbase:
http://www.instructables.com/id/Configuring-MKS-Sbase-V12-32-bit-Controller-Basics/step3/Firmware-Step-1-Default-feed-rate/

Smoothieware Switch module for automatic fan control:
http://www.instructables.com/id/Smoothieware-Switch-Module-for-Automatic-Fan-Contr/

External Driver on Smoothieware Sbase 1.2:
http://www.instructables.com/id/Setup-External-Driver-on-Smoothieware-Sbase-12-Con/

smoothieware:
https://github.com/Smoothieware/Smoothieware

 MCU Chips :
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/lpc-cortex-m-mcus/lpc1700-cortex-m3/512kb-flash-64kb-sram-ethernet-usb-lqfp100-package:LPC1768FBD100

http://www.atmel.com/Images/Atmel-11057-32-bit-Cortex-M3-Microcontroller-SAM3X-SAM3A_Datasheet.pdf

corexy config: motors and endstops
https://drmrehorst.blogspot.co.uk/2017/08/setting-up-corexy-printers-origin-and.html

sbase 1.2 SCH :
https://github.com/pixel3design-hub/MKS-SBASE-FULL-DOCUMENTED

Titan extruder:
https://e3d-online.dozuki.com/Guide/Titan+Smoothieware+Configuration/37[/list]
« Last Edit: November 22, 2017, 05:53:56 AM by jinx »
I build bots

 

* Search


* Recent Topics

metal chassis desktop bot by craighissett
[December 14, 2017, 06:55:16 AM]


LEGO by Impala
[December 13, 2017, 09:46:53 PM]


Your workshop space by viswesh
[December 07, 2017, 09:32:47 PM]


printed CNC engraver by tinhead
[December 05, 2017, 05:09:44 PM]


Albert Michelson's Harmonic Analyzer by jinx
[December 05, 2017, 01:05:48 PM]


Raspberry Pi / Python eBook - free for the next 11 hours! by MEgg
[December 03, 2017, 04:20:50 PM]


Fun Fact by Impala
[December 03, 2017, 11:26:45 AM]


CZ-1 2.0: problems, calibration and printing, part2 by MEgg
[December 02, 2017, 12:15:34 PM]


Commissioning a Nano Leg Module by BaldwinK
[November 28, 2017, 11:42:31 AM]


T-HR3 by jinx
[November 21, 2017, 03:41:11 PM]


MKS Sbase by jinx
[November 20, 2017, 03:53:21 PM]


Skull Line Follower by Ittiporng
[November 20, 2017, 03:23:18 AM]


Just scary to me... by jinx
[November 16, 2017, 03:05:30 AM]


"Artie" version 3.0 (RTV3) by jinx
[November 14, 2017, 03:11:04 AM]


Anycubic Kossel (pulley) by Bajdi
[November 13, 2017, 04:48:04 PM]

* Recent Posts

Re: metal chassis desktop bot by craighissett
[December 14, 2017, 06:55:16 AM]


Re: LEGO by Impala
[December 13, 2017, 09:46:53 PM]


Re: Autodownload items (was: Re: LEGO) by MEgg
[December 11, 2017, 02:59:41 PM]


Re: Your workshop space by viswesh
[December 07, 2017, 09:32:47 PM]


Re: Your workshop space by tinhead
[December 07, 2017, 08:50:59 PM]


Re: Your workshop space by MEgg
[December 07, 2017, 03:13:51 PM]


Re: Your workshop space by mogul
[December 07, 2017, 02:43:22 PM]


Re: printed CNC engraver by tinhead
[December 05, 2017, 05:09:44 PM]


printed CNC engraver by jinx
[December 05, 2017, 04:59:18 PM]


Albert Michelson's Harmonic Analyzer by jinx
[December 05, 2017, 01:05:48 PM]


Re: Your workshop space by craighissett
[December 04, 2017, 09:32:32 AM]


Re: Your workshop space by tinhead
[December 04, 2017, 09:26:32 AM]


Re: Raspberry Pi / Python eBook - free for the next 11 hours! by MEgg
[December 03, 2017, 04:20:50 PM]


Re: Fun Fact by Impala
[December 03, 2017, 11:26:45 AM]


Changed calibration after long time by MEgg
[December 02, 2017, 12:15:34 PM]