Where to define Uno as board type?

Shop Forum Makelangelo Polargraph Art Robot Where to define Uno as board type?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14483
    disneytoy
    Participant

    How do I set UNO as my board type? In the firmware I only show:

    // Boards supported
    #define BOARD_RUMBA 1
    #define BOARD_RAMPS 2
    #define BOARD_SANGUINOLULU 3
    #define BOARD_TEENSYLU 4

    In a previous post, you said:

    The firmware_ams folder contains the UNO version of the Makelangelo code.

    In the current firmware, I don’t have such a file or folder.

    #14574
    Dan
    Keymaster

    UNO is not supported. you might want to try older, no longer supported firmware like

    https://github.com/MarginallyClever/makelangeloFirmwareAMS

    #14677
    disneytoy
    Participant

    Thanks Dan!

    I downloaded it. I’m having trouble seeing where the Arduino to stepper driver pins are defined.

    Currently I am wired:

    #define MOTOR_A_ENABLE_PIN 8
    #define MOTOR_A_STEP_PIN 2
    #define MOTOR_A_DIR_PIN 5

    #define MOTOR_B_ENABLE_PIN 8
    #define MOTOR_B_STEP_PIN 3
    #define MOTOR_B_DIR_PIN 6

    pin 9 is servo.

    In the firmware I see:

    AFMotorDrawbot_h

    #define MICROSTEPS 16 // 8 or 16

    #define MOTOR1_A 2
    #define MOTOR1_B 3
    #define MOTOR2_A 1
    #define MOTOR2_B 4
    #define MOTOR4_A 0
    #define MOTOR4_B 6
    #define MOTOR3_A 5
    #define MOTOR3_B 7

    // Arduino pin names
    #define MOTORLATCH 12
    #define MOTORCLK 4
    #define MOTORENABLE 7
    #define MOTORDATA 8

    #14701
    Dan
    Keymaster

    If you are using the UNO firmware for the Adafruit Motor Shield v1 you shouldn’t need to redefine anything BUT you will need the shield to make things work.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.