My goal is to upload an image (pixels are just 0 or 1) so a Teensy can "draw" that image by punching holes in printer paper. (A flashlight + dark room will look cool)
I was thinking a web interface could be made with Flask, which can then accept a file upload. The Teensy will control two motors that move the paper along the X and Y axes. The state (current location of paper and locations to punch) would be stored on Flask, and commands (like move X, move Y, punch hole) would be sent to Teensy, until all holes are punched.
Curious, what tech stack / general pattern do you recommend for...
(1) a GUI
(2) storing state
(3) sending commands to Teensy
Thanks for the help!!!! : )
I was thinking a web interface could be made with Flask, which can then accept a file upload. The Teensy will control two motors that move the paper along the X and Y axes. The state (current location of paper and locations to punch) would be stored on Flask, and commands (like move X, move Y, punch hole) would be sent to Teensy, until all holes are punched.
Curious, what tech stack / general pattern do you recommend for...
(1) a GUI
(2) storing state
(3) sending commands to Teensy
Thanks for the help!!!! : )