Marlin_Firmware/Marlin/pins_BRAINWAVE_PRO.h

139 lines
4.1 KiB
C
Raw Normal View History

/**
2016-03-24 13:01:20 -05:00
* Marlin 3D Printer Firmware
2017-06-08 18:07:37 -05:00
* Copyright (C) 2017 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
2016-03-24 13:01:20 -05:00
*
* Based on Sprinter and grbl.
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
/**
* Brainwave Pro pin assignments (AT90USB1286)
*
* Requires hardware bundle for Arduino:
* https://github.com/unrepentantgeek/brainwave-arduino
*/
2017-04-07 13:52:21 -05:00
/**
* Rev B 16 JAN 2017
*
* Added pointers to currently available Arduino IDE extensions that will
* allow this board to use the latest Marlin software
2017-06-08 18:07:37 -05:00
*
*
* Rev C 2 JUN 2017
*
* Converted to Arduino pin numbering
2017-04-07 13:52:21 -05:00
*/
/**
2017-06-08 18:07:37 -05:00
* There are two Arduino IDE extensions that are compatible with this board
* and with the mainstream Marlin software.
2017-04-07 13:52:21 -05:00
*
* Teensyduino - http://www.pjrc.com/teensy/teensyduino.html
* Select Teensy++ 2.0 in Arduino IDE from the 'Tools -> Boards' menu
*
* Installation instructions are at the above URL. Don't bother loading the
* libraries - they are not used with the Marlin software.
*
* Printrboard - https://github.com/scwimbush/Printrboard-HID-Arduino-IDE-Support
*
* Installation:
*
* 1. Go to the above URL, click on the "Clone or Download" button and then
* click on "Download ZIP" button.
* 2. Unzip the file, find the "printrboard" directory and then copy it to the
* hardware directory in Arduino. The Arduino hardware directory will probably
2017-06-08 18:07:37 -05:00
* be located in a path similar to this: C:\Program Files (x86)\Arduino\hardware.
2017-04-07 13:52:21 -05:00
* 3. Restart Arduino.
* 4. Select "Printrboard" from the 'Tools -> Boards' menu.
*
2017-06-08 18:07:37 -05:00
* Teensyduino is the most popular option. Printrboard is used if your board doesn't have
* the Teensyduino bootloader on it.
2017-04-07 13:52:21 -05:00
*/
/**
2017-06-08 18:07:37 -05:00
* To burn the bootloader that comes with Printrboard:
2017-04-07 13:52:21 -05:00
*
* 1. Connect your programmer to the board.
2017-06-08 18:07:37 -05:00
* 2. In the Arduino IDE select "Printrboard" and then select the programmer.
2017-04-07 13:52:21 -05:00
* 3. In the Arduino IDE click on "burn bootloader". Don't worry about the "verify failed at 1F000" error message.
* 4. The programmer is no longer needed. Remove it.
*/
#ifndef __AVR_AT90USB1286__
2017-06-08 18:07:37 -05:00
#error "Oops! Make sure you have 'Teensy++ 2.0' or 'Printrboard' selected from the 'Tools -> Boards' menu."
#endif
#define BOARD_NAME "Brainwave Pro"
2016-09-16 13:24:32 -05:00
#define USBCON 1286 // Disable MarlinSerial etc.
#define LARGE_FLASH true
//
// Limit Switches
//
2017-06-08 18:07:37 -05:00
#define X_STOP_PIN 45 // F7
#define Y_STOP_PIN 12 // C2
#define Z_STOP_PIN 36 // E4
//
// Z Probe (when not Z_MIN_PIN)
//
#ifndef Z_MIN_PROBE_PIN
2017-06-08 18:07:37 -05:00
#define Z_MIN_PROBE_PIN 11 // C1
#endif
//
// Steppers
//
2017-06-08 18:07:37 -05:00
#define X_STEP_PIN 9 // E1
#define X_DIR_PIN 8 // E0
#define X_ENABLE_PIN 23 // B3
2017-06-08 18:07:37 -05:00
#define Y_STEP_PIN 7 // D7
#define Y_DIR_PIN 6 // D6
#define Y_ENABLE_PIN 20 // B0
2017-06-08 18:07:37 -05:00
#define Z_STEP_PIN 5 // D5
#define Z_DIR_PIN 4 // D4
#define Z_ENABLE_PIN 37 // E5
2017-06-08 18:07:37 -05:00
#define E0_STEP_PIN 47 // E3
#define E0_DIR_PIN 46 // E2
#define E0_ENABLE_PIN 25 // B5
//
// Temperature Sensors
//
2017-06-08 18:07:37 -05:00
#define TEMP_0_PIN 2 // F2 Analog Input
#define TEMP_1_PIN 1 // F1 Analog Input
#define TEMP_BED_PIN 0 // F0 Analog Input
//
// Heaters / Fans
//
2017-06-08 18:07:37 -05:00
#define HEATER_0_PIN 27 // B7
#define HEATER_BED_PIN 26 // B6 Bed
#define FAN_PIN 16 // C6 Fan, PWM3A
//
// Misc. Functions
//
2017-06-08 18:07:37 -05:00
#define SDSS 20 // B0
#define SD_DETECT_PIN 24 // B4
#define LED_PIN 13 // C3