Prototype for Arduino Mega shield for projector.

This commit is contained in:
Matt McWilliams 2023-11-25 18:08:10 -05:00
parent 7995665c6b
commit b14d24e650
9 changed files with 12 additions and 9 deletions

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.73", "version": "1.8.74",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

2
app/package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-app", "name": "mcopy-app",
"version": "1.8.73", "version": "1.8.74",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy-app", "name": "mcopy-app",
"version": "1.8.73", "version": "1.8.74",
"description": "GUI for the mcopy small gauge film optical printer platform", "description": "GUI for the mcopy small gauge film optical printer platform",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.73", "version": "1.8.74",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {

Binary file not shown.

View File

@ -11,11 +11,13 @@
Wiring Wiring
(Will vary from motor to motor) (Will vary from motor to motor)
FEED
X01A - Green X01A - Green
X01B - Black X01B - Black
X02A - Blue X02A - Blue
X02B - Red X02B - Red
TAKEUP
Y01A - Green Y01A - Green
Y01B - Black Y01B - Black
Y02A - Blue Y02A - Blue
@ -25,6 +27,7 @@
#include "McopySerial.h" #include "McopySerial.h"
#include <AccelStepper.h> #include <AccelStepper.h>
#define TAKEUP_DIR_PIN 3 #define TAKEUP_DIR_PIN 3
#define TAKEUP_STEP_PIN 2 #define TAKEUP_STEP_PIN 2
@ -42,7 +45,7 @@
#define FEED_EMITTER 18 #define FEED_EMITTER 18
#define FEED_RECEIVER A9 #define FEED_RECEIVER A9
#define SERVO_PIN 14 #define SERVO_PIN 19
AccelStepper takeup(AccelStepper::DRIVER, TAKEUP_STEP_PIN, TAKEUP_DIR_PIN); AccelStepper takeup(AccelStepper::DRIVER, TAKEUP_STEP_PIN, TAKEUP_DIR_PIN);
AccelStepper feed(AccelStepper::DRIVER, FEED_STEP_PIN, FEED_DIR_PIN); AccelStepper feed(AccelStepper::DRIVER, FEED_STEP_PIN, FEED_DIR_PIN);

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.8.73", "version": "1.8.74",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "mcopy", "name": "mcopy",
"version": "1.8.73", "version": "1.8.74",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"arduino": "file:app/lib/arduino", "arduino": "file:app/lib/arduino",

View File

@ -1,6 +1,6 @@
{ {
"name": "mcopy", "name": "mcopy",
"version": "1.8.73", "version": "1.8.74",
"description": "Small gauge film optical printer platform", "description": "Small gauge film optical printer platform",
"main": "build.js", "main": "build.js",
"directories": { "directories": {

View File

@ -1,5 +1,5 @@
{ {
"version": "1.8.73", "version": "1.8.74",
"ext_port": 1111, "ext_port": 1111,
"profiles": { "profiles": {
"mcopy": { "mcopy": {