Commit Graph

163 Commits

Author SHA1 Message Date
Matt McWilliams 66bcccfc73 Update example 2024-03-17 20:49:22 -04:00
Matt McWilliams ed42f0ca45 Got esp32_neopixel working on Uno (I know) 2024-03-17 17:56:41 -04:00
Matt McWilliams 1d76154891 Remove second L298N module from electronics design. Resolves #6 2024-03-17 10:14:01 -04:00
Matt McWilliams 5a10f7eef7 Update rendered STLs 2024-03-12 20:18:45 -04:00
Matt McWilliams de46ba21ed Correct references to image paths in report 2024-03-11 13:35:06 -04:00
Matt McWilliams 49a86e76bb Finish report. Will resize and add images to repo later. 2024-03-10 21:29:44 -04:00
Matt McWilliams a59ff3fd9b Updates to report, just need images. 2024-03-09 21:29:43 -05:00
Matt McWilliams 65ca7e882f Add neopixel example 2024-03-07 09:01:54 -05:00
Matt McWilliams 147e39d5d1 Updates on residency report from laptop 2024-03-05 16:29:29 -05:00
Matt McWilliams 967df4e7b1 Fixed report script. Update report. 2024-03-04 20:54:45 -05: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 01d309d539 Move remaining legacy openscad scripts into the scad/old dir until they are fully extracted of all their usefulness and finally ghosted into the git history. 2024-03-02 11:30:31 +01:00
Matt McWilliams c354203354 Update report with more information. 2024-03-02 11:09:01 +01:00
Matt McWilliams 012b3ff72e Update report document as I play with pandoc rendering 2024-03-01 10:35:56 +00:00
Matt McWilliams 84f78985d1 Save all work positioning feet around frame. Adjust lamp in debug module for rendering image. 2024-03-01 10:31:15 +00:00
Matt McWilliams 1eea26c9d4 Save work in progress LinearRegression class 2024-03-01 10:30:17 +00:00
Matt McWilliams 7b762a486d begin outline of residency report 2024-03-01 10:29:49 +00: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 a2c092d57c Update README 2024-02-25 13:59:46 +01:00
Matt McWilliams d5cb055d2c Update render to new design. Add a script that will output the render from openscad and scale/crop with imagemagick. 2024-02-24 15:46:28 +01:00
Matt McWilliams 2ea7cb2e8d Created the placeholder for the contact_printer dev server. This will accept a post from the ESP32 with a report after each run. This data can be used in developing features. 2024-02-24 14:59:41 +01:00
Matt McWilliams d3da5705f3 Rename variables from 16mmFilm to Film16mm because IDE is suggesting that variables not begin with numbers. 2024-02-24 14:18:05 +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 8efa6cea8a Moved all proof of concept sketches into ino/demos 2024-02-22 10:49:54 +01:00
Matt McWilliams f9803d2648 Add proof of concept blink script for wiring the lamp to be driven by +5V and the TIP120 controlling 3 LEDs at once. 2024-02-21 22:54:46 +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 d0e0ca2f7a Update README to credit Clyde for the magnetic takeup. 2024-02-21 19:27:50 +01:00
Matt McWilliams d94aa5373f Update README to better reflect current state of the project and add Acknowledgements section. 2024-02-21 19:25:37 +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 a39ba5c94d Test second set of pins 2024-02-20 12:17:39 +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 6ab151a664 Add placeholder jog_motor sketch in case motors need to be adjusted during use. 2024-02-18 10:34:19 -05:00
Matt McWilliams faf54221f7 add the gate holder to the lamp 2024-02-18 10:33:24 -05: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 ce910d66b4 Remove pre-commit hook for now. Cannot access requested commit message so it won't do what I want 2024-02-17 14:20:32 +00:00
Matt McWilliams e1f6085b87 Add variables for setting the target fps and rpm 2024-02-17 14:18:06 +00:00
Matt McWilliams 5134038ac5 Add a placeholder git pre-commit script for executing versioning rules 2024-02-17 14:16:57 +00:00
Matt McWilliams db21753d71 Add the version.sh script for incrementing semver number on changes 2024-02-17 14:16:01 +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