Module 6060-PUSH

SKU:K028

説明

このアプリケーションレベルのモジュールは、モーション&ロボット制御を実装し、異なる長さで完全にカスタマイズ可能です。ステッピングモータ、Mega328マイクロプロセッサ、RS485シリアルバス、1515フレームワークを搭載しています。それは線形動き制御を実現しました、高精度である特定の長さを動かすためにステッピングモーターをプログラムできます。このタイプのモジュールは、3Dプリント、リニアプッシュなどに適用することができます。

!!>この製品は現在生産中止です。

製品の特徴

  • Mega328を内蔵 GRBL
  • カスタマイズ可能: 長さと距離
  • RS485
  • 1515アルミプロファイルフレーム
  • 48 のステッピング モーター: 2 段階 4 ライン
  • 旅程 57mm
  • 入力電圧: 12-24V
  • モーター出力: 10W

を含む

  • 1x 6060モジュール

用途

  • 3Dプリンター
  • 直線運動

仕様

リソース パラメータ
正味重量 569g
総重量 600g
製品サイズ 1666060mm
梱包サイズ 1666060mm

学ぶ

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 camera that automatically sorting out the garbage.
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){     //Title
    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);  //Configure serial port 2
    delay(500);
    Serial2.print("ID=123\r\n");                     //Serial port 2 output ID=123\r\n, configuration 6060 motor ID is 123
}


void loop() {
    if(M5.BtnA.wasPressed()){                      //Press button A to send ID\r\n to view 6060 motor ID.
      Serial2.print("ID\r\n");
    }
    if(M5.BtnB.wasPressed()){                      //Press button B to send the ID123: X%d\r\n to control the absolute travel, where %d is the variable distance
      if(distance < 50){
         distance +=10;
         Serial2.printf("ID123:X%d\r\n",distance);
      }
    }
    if(M5.BtnC.wasPressed()){                      //Press C to send ID123Z\r\n and the motor returns to the origin.
      Serial2.print("ID123Z\r\n");
    }
    if(Serial2.available()){                       //Serial port 2 receives the message returned by 6060 and prints
      char c = Serial2.read();
      Serial.print(c);
    }
    M5.update();
}

関連リンク