Skip to content

Commit

Permalink
The final wall plotter
Browse files Browse the repository at this point in the history
  • Loading branch information
Upeshitha committed Jul 6, 2021
0 parents commit 818caa3
Show file tree
Hide file tree
Showing 13 changed files with 1,743 additions and 0 deletions.
43 changes: 43 additions & 0 deletions MachineDefs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

#define SERIAL_DEBUG

#ifdef SERIAL_DEBUG
#define SER_PRINT(X) Serial.print((X))
#define SER_PRINT2(X,Y) Serial.print((X),(Y))
#define SER_PRINTLN(X) Serial.println((X))
#define SER_PRINTLN2(X,Y) Serial.println((X),(Y))
#else
#define SER_PRINT(X)
#define SER_PRINT2(X,Y)
#define SER_PRINTLN(X)
#define SER_PRINTLN2(X,Y)
#endif

//define this if plotter has a battery voltage feedback connected
//#define HAS_BATTERY_MEASUREMENT

//which remote control to use
//#define PIONEER_DVD_REMOTE
#define NONAME_WHITE_REMOTE

//servo pin
#define SERVO_PIN A5

//servo values for pen up/down
#define PEN_UP 80
#define PEN_DOWN 60


//IR-receiver pin
#define RECV_PIN A0

//stepper motor pins
#define LEFT_STEP_PIN_1 6
#define LEFT_STEP_PIN_2 7
#define LEFT_STEP_PIN_3 8
#define LEFT_STEP_PIN_4 9
#define RIGHT_STEP_PIN_1 2
#define RIGHT_STEP_PIN_2 3
#define RIGHT_STEP_PIN_3 4
#define RIGHT_STEP_PIN_4 5

43 changes: 43 additions & 0 deletions data/MachineDefs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

#define SERIAL_DEBUG

#ifdef SERIAL_DEBUG
#define SER_PRINT(X) Serial.print((X))
#define SER_PRINT2(X,Y) Serial.print((X),(Y))
#define SER_PRINTLN(X) Serial.println((X))
#define SER_PRINTLN2(X,Y) Serial.println((X),(Y))
#else
#define SER_PRINT(X)
#define SER_PRINT2(X,Y)
#define SER_PRINTLN(X)
#define SER_PRINTLN2(X,Y)
#endif

//define this if plotter has a battery voltage feedback connected
//#define HAS_BATTERY_MEASUREMENT

//which remote control to use
//#define PIONEER_DVD_REMOTE
#define NONAME_WHITE_REMOTE

//servo pin
#define SERVO_PIN A5

//servo values for pen up/down
#define PEN_UP 80
#define PEN_DOWN 60


//IR-receiver pin
#define RECV_PIN A0

//stepper motor pins
#define LEFT_STEP_PIN_1 6
#define LEFT_STEP_PIN_2 7
#define LEFT_STEP_PIN_3 8
#define LEFT_STEP_PIN_4 9
#define RIGHT_STEP_PIN_1 2
#define RIGHT_STEP_PIN_2 3
#define RIGHT_STEP_PIN_3 4
#define RIGHT_STEP_PIN_4 5

Loading

0 comments on commit 818caa3

Please sign in to comment.