EasyLoader (beta)

Current Product Don't Have Test Firmware

Note: pls, use PC chrome/edge browser, if can't connect, refresh the webpage.

1. Click connect button

2. After connected successfully, pick a firmware

3. Click the burn button

4. After burning successfully, Unplug the device and restart.

0%

6060-PUSH

SKU:K028

描述

6060-PUSH 是M5Stack结构体系应用中的一款,运动控制模组.内置高精度步进电机,Mega328微处理器,1515铝型材框架.您可以通过编写控制器程序,对步进电机进行控制.二者通过RS485串行总线进行通信交互,能够实现高精度位移.适用与各类运动控制场景,如3D打印,直线运动控制等.

产品特性

  • 内置Mega328: GRBL
  • 可定制: 本体长度&有效行程
  • RS485通信
  • 1515 铝型材框架
  • 48 步进电机: 两相四线制
  • 行程:57mm
  • 输入电压: 12-24V
  • 电机功率: 10W

包含

  • 1x 6060 PUSH 模组

应用

  • 3D打印
  • 直线运动控制

规格参数

规格 参数
净重 569g
毛重 569g
产品尺寸 166*60*60mm
包装尺寸 166*60*60mm

项目案例

M5Stick-C with Stepper and IMU
This uses the stepper driven 6060 push and rs485. The movement is based on the tilt of the M5stick which is measured with the built-in IMU.
AI Powered Garbage Sorting Demo
AI camera that automatically sorting out the garbage.
PUSH6060 ATOM RS485 Test
Pilot a Push6060 with ATOM and Tail485 with IUFLOW

案例程序


#include <M5Stack.h>
#define RX_PIN      16
#define TX_PIN      17
  
#define X_LOCAL 40
#define Y_LOCAL 40

#define X_OFF 160
#define Y_OFF 30

int distance = 0;    //步进电机移动步进值

void header(const char *string, uint16_t color){     //标题
    M5.Lcd.fillScreen(color);
    M5.Lcd.setTextSize(1);
    M5.Lcd.setTextColor(TFT_MAGENTA, TFT_BLUE);
    M5.Lcd.fillRect(0, 0, 320, 30, TFT_BLUE);
    M5.Lcd.setTextDatum(TC_DATUM);
    M5.Lcd.drawString(string, 160, 3, 4);
}

void setup() {
    M5.begin();
    M5.Power.begin();

    header("PUSH 6060", TFT_BLACK);
    M5.Lcd.setTextFont(2);
    M5.Lcd.setTextColor(TFT_WHITE, TFT_BLACK);  
    Serial2.begin(9600, SERIAL_8N1, RX_PIN, TX_PIN);  //配置串口2
    delay(500);
    Serial2.print("ID=123\r\n");                     //串口2输出ID=123\r\n,配置6060电机ID为123
}


void loop() {
    if(M5.BtnA.wasPressed()){                      //按键A按下发送ID\r\n,查看6060电机ID
      Serial2.print("ID\r\n");
    }
    if(M5.BtnB.wasPressed()){                      //按键B按下发送ID123:X%d\r\n控制移动绝对行程,其中%d为变量distance
      if(distance < 50){
         distance +=10;
         Serial2.printf("ID123:X%d\r\n",distance);
      }
    }
    if(M5.BtnC.wasPressed()){                      //按键C按下发送ID123Z\r\n,电机回原点
      Serial2.print("ID123Z\r\n");
    }
    if(Serial2.available()){                       //串口2接收6060返回的消息并打印
      char c = Serial2.read();
      Serial.print(c);
    }
    M5.update();
}

相关链接