You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
vitrinekast ff9b5fda76 rename printers and return of one of the printers 2 months ago
README.md update readme with OSC messages 2 months ago
TidalBoot.hs modified tidal files 2 months ago
makefile added files; minor edits 2 months ago
may-22.tidal modified tidal files 2 months ago
printer-jam.ino rename printers and return of one of the printers 2 months ago

README.md

Printer Jam

The arduino side of printer jam, where we listen to OSC messages and instruct our printers to execute the messages.

Libraries:

The following OSC messages are implemented:

/stopAll

Stops all the motors and stepper motors from running note: for the stepper motor, release could indicate to keep spinning forever.. let's see!

/black/feed/f

Run the feed motor of the black printer forwards

/black/feed/b

Run the feed motor of the black printer backwards

/black/feed/r

Stop the feed motor of the black printer

/black/feed/speed

immediately change the speed of the black printers feed motor.

/black/head/f

Run the head motor of the black printer forwards

/black/head/b

Run the head motor of the black printer backwards

/black/head/r

Stop the head motor of the black printer

/black/head/speed

immediately change the speed of the black printers head motor.

/stepper/f

Run the motor of the stepper printer forwards

/stepper/b

Run the motor of the stepper printer backwards

/stepper/r

Stop the motor of the stepper printer

/stepper/type

Set the step type for the next movement to (int):

  • 1 "Single" means single-coil activation
  • 2 "Double" means 2 coils are activated at once (for higher torque)
  • 3 "Interleave" means that it alternates between single and double to get twice the resolution (but of course its half the speed).
  • 4 "Microstepping" is a method where the coils are PWM'd to create smooth motion between steps.

/stepper/steps

Set the amount of steps being moved for the next movement to X

/stepper/RPM

RPM = is how many revolutions per minute you want the stepper to turn. (similar to speed but much lower value) immediately change the RPM of the stepper motor printer's motor.