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,
"profiles": {
"mcopy": {

2
app/package-lock.json generated
View File

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

View File

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

View File

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

Binary file not shown.

View File

@ -11,11 +11,13 @@
Wiring
(Will vary from motor to motor)
FEED
X01A - Green
X01B - Black
X02A - Blue
X02B - Red
TAKEUP
Y01A - Green
Y01B - Black
Y02A - Blue
@ -25,6 +27,7 @@
#include "McopySerial.h"
#include <AccelStepper.h>
#define TAKEUP_DIR_PIN 3
#define TAKEUP_STEP_PIN 2
@ -42,7 +45,7 @@
#define FEED_EMITTER 18
#define FEED_RECEIVER A9
#define SERVO_PIN 14
#define SERVO_PIN 19
AccelStepper takeup(AccelStepper::DRIVER, TAKEUP_STEP_PIN, TAKEUP_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",
"version": "1.8.73",
"version": "1.8.74",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "mcopy",
"version": "1.8.73",
"version": "1.8.74",
"license": "MIT",
"dependencies": {
"arduino": "file:app/lib/arduino",

View File

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

View File

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