Skip to content

Galacs/powdbench

Repository files navigation

powdbench

AM powder test rig

Serial protocol

From MCU to host

  • inf = information
  • err = error
  • par = sd card setting
  • sta = machine status
  • mov = motor moving
  • run = program running
  • nru = idle
  • mvd = manuel move finished
  • pos = motor position

From host to MCU

  • par = reglage a enregister sur la carte sd
  • apa = sd card settings query
  • str = start program
  • stp = stop program
  • mov = 1:powder, 2:head, 3:bed
  • sta = stati request
  • hme = got to 0
  • hm1 = powder 0
  • hm2 = head 0
  • hm3 = bed 0
  • pos = motor position query
  • sep = set motor position
  • rst = MCU reset
  • ctn = continue program

Errors

  • SD card init error: err01
  • Setting parse error: err02
  • Setting write error: err03

Info

  • SD card init successfull: inf01
  • Setting parsing successfull: inf02
  • Setting write successfull: inf03
  • Program started: inf04
  • Program stopeed: inf05
  • Motors homed: inf06
  • Program can continue: inf08

SD card settings file format

Each line should only contain a number

  • poudre_step_mm step/mm

  • chariot_step_mm step/mm

  • lit_step_mm step/mm

  • poudre_speed mm/s

  • chariot_speed mm/s

  • lit_speed mm/s

  • poudre_acceleration mm/s²

  • chariot_acceleration mm/s²

  • lit_acceleration mm/s²

  • poudre_position mm

  • chariot_position mm

  • lit_position mm

  • multiplicateur_premieres_couche int

  • nombre de couhe affecté par multiplicateur int

  • nombre de couche

  • delai entre chaque passe secondes

  • delai partout

About

AM powder test rig

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages