Commit Graph

30 Commits

Author SHA1 Message Date
Matt McWilliams e58b0ac4b5 Work on gate, frame and firmware section of the whitepaper 2025-04-08 00:14:49 -04:00
Matt McWilliams eb6461c416 Work on report and start on integrating WebGUI 2024-03-03 10:16:39 -05:00
Matt McWilliams 9dde491bcb Begin progress on web gui stub. Make AP-only for now and form post. Would bluetooth from a webapp be better? 2024-03-02 22:49:10 +01:00
Matt McWilliams 6cf8f62a42 Add variables to start and stop lamp and alternately stop the machine after x number of frames 2024-02-25 14:00:24 +01:00
Matt McWilliams 7981250d5a Changed from dev mode to working mode. Lamp turns on after 24 frames. Will make it configurable. 2024-02-24 14:04:16 +01:00
Matt McWilliams 39650094bd Code is in test mode for getting approximations of the motor speed with no load, under single strand of film load and with 2 films. Should be possible to create a control loop to maintain a roughly-accurate speed. 2024-02-23 00:31:14 +01:00
Matt McWilliams 7c8be86fb8 Motor speed is now calculated (flawed). Tests can be run on various PWM speeds, resolutions and with and without loads to determine the ability for the printer run at maximum speeds. 2024-02-21 22:48:08 +01:00
Matt McWilliams db1f8c4100 Make some sacrifices in the DriveMotor class to make it non-generalizable. Working towards porting timing functions from encoder proof of concept sketch. 2024-02-21 16:47:53 +01:00
Matt McWilliams 1aca2dd5c0 Motor behavior is stable. Discarded one of the L298N boards: now we can run the drive motor off one channel and both takeup motors off another. DO NOT USE LESS THAN 2A. Using 1.3A the motor controller board draws too much and shuts it down. Removed the rerences to Picture/Stock and am just using takeup. All progress at Worm. 2024-02-20 22:11:13 +01:00
Matt McWilliams 0dc3269b31 Fixed the pinouts for the drive motor. Temporarily disabled takeup. 2024-02-19 13:35:27 +01:00
Matt McWilliams 6869b6f403 Add Serial output for debugging 2024-02-19 13:28:16 +01:00
Matt McWilliams 93a4418545 Re-arrange pins 2024-02-18 16:48:59 +01:00
Matt McWilliams 2401fcf8e7 Create the Lamp class which will abstract to different lamp types before one is settled on. 2024-02-17 14:57:26 +00:00
Matt McWilliams e1f6085b87 Add variables for setting the target fps and rpm 2024-02-17 14:18:06 +00:00
Matt McWilliams 6205cef7f1 Add version file and VERSION constant to project 2024-02-17 14:00:10 +00:00
Matt McWilliams c036aad6cb Rename classes and constructors from EncoderMotor to DriveMotor. 2024-02-17 13:09:20 +00:00
Matt McWilliams 937cb85141 Rename encoder motor files drive motor (still broken). 2024-02-17 13:06:51 +00:00
Matt McWilliams 1056e81b82 Fill out EncoderMotor methods and add variables to be used to calculate position + speed and used for PID. TODO: rename class because it is not a generic EncoderMotor class, should instead be DriveMotor. 2024-02-17 13:05:43 +00:00
Matt McWilliams 1c1978107d Move all ramp variables to class members. To move the ramp behavior to the Loop() method there will need to be a global timer. 2024-02-17 12:17:26 +00:00
Matt McWilliams 344e1e8d1d Implement pwm ramp up with ledcWrite(), not analogWrite(). Use directional pins to start in particular direction and stop in both. Ramp behavior should move to loop so that it is not blocking loop behavior. 2024-02-16 18:57:57 -05:00
Matt McWilliams 899b52777a Assign pins to the correct pins for motor control 2024-02-14 22:24:18 -05:00
Matt McWilliams fe532a1f65 Start claiming pins 2024-02-11 11:49:46 -05:00
Matt McWilliams bf48f52333 Pass all Setup() and Loop() methods into Arduino setup() and loop() functions. 2024-02-03 16:35:29 -05:00
Matt McWilliams eb3c920d2d Project compiles now with scripts/compile.sh and in the IDE 2024-02-01 11:40:38 -05:00
Matt McWilliams 6321367c97 Create EncoderMotor.cpp. Compiler error on analogWrite using ESP32 build target. Without it the ledc* functions are unavailable. Will pull ESP32 build process over from meterlite. 2024-01-31 23:08:10 -05:00
Matt McWilliams 20d37eb1e6 Add header file for a motor encoder class. 2024-01-30 22:37:02 -05:00
Matt McWilliams d512a56b03 Arduino sketches, proofs of concept for different features 2024-01-11 23:14:02 -05:00
Matt McWilliams abc2054600 Define IO behavior 2023-05-25 10:40:02 -04:00
Matt McWilliams 7dc33b5dc1 Rough draft of new contact printer library and class layout. 2023-05-25 08:32:42 -04:00
mmcw-dev 41facffab0 All contact printer work to date. 2018-07-14 10:29:43 -04:00