Skip to content

This page is archived material from a previous course. Please check for updated material.

    Advanced

    This involves features and functions that are likely not going to be used during Physics 253, but are available with the boards used in higher-level courses (e.g. APSC 459/479), or if you are interested in exploring some of the other features on the board.

    Core Libraries:

    • Core Libraries (likely not used for Phys 253, but has potentially useful items for later courses, and allows for modification of the lower-level functions on the board)    The TINAH board uses a modified version of the LCD and Servo commands.

    Descriptions to come for the following board features:

    Serial Ports / TWI  (Two-Wire Interface)

    ISP header

    Digital Outputs

    Accessing I/O lines from the LCD screen

    Circuit Schematics

    Board Pinouts

    Wiring Pin# Wiring / TINAH Port# Port Pin# Wiring Functions TINAH functions External Interrupt
    0 0 1 I2C – SCL Digital IO Int 0
    1 0 2 I2C – SDA Digital IO Int 1
    2 0 3 Serial1 – Rx Digital IO Int 2
    3 0 4 Serial1 – Tx Digital IO Int 3
    4 0 5 Digital IO
    5 0 6 Digital IO
    6 0 7 Digital IO
    7 0 8 Digital IO
    8 1 1 Digital IO
    9 1 2 Digital IO
    10 1 3 Digital IO
    11 1 4 Digital IO
    12 1 5 Digital IO
    13 1 6 Digital IO
    14 1 7 Digital IO
    15 1 8 Digital IO
    16 2 1 LCD Data 0
    17 2 2 LCD Data 1
    18 2 3 LCD Data 2
    19 2 4 LCD Data 3
    20 2 5 LCD Data 4
    21 2 6 LCD Data 5
    22 2 7 LCD Data 6
    23 2 8 LCD Data 7
    24 3 1 Motor_Dir 0
    25 3 2 Motor_Dir 1
    26 3 3 LCD RS
    27 3 4 LCD R/W
    28 3 5 LCD E
    29 3 6 PWM 5 Motor_En 0
    30 3 7 PWM 4 Motor_En 1
    31 3 8 PWM 3 ServoOut1/Buzzer
    32 4 1 Serial0 – Rx
    33 4 2 Serial0 – Tx
    34 4 3 ServoOut2
    35 4 4 PWM 2 ServoOut0
    36 4 5 PWM 1 Motor_En 2 Int 4
    37 4 6 PWM 0 Motor_En 3 Int 5
    38 4 7 Motor_Dir 2 Int 6
    39 4 8 Motor_Dir 3 Int 7
    40 Analog 0
    41 Analog 1
    42 Analog 2
    43 Analog 3
    44 Analog 4
    45 Analog 5
    46 Analog 6 Knob 1 (jumper)
    47 Analog 7 Knob 0 (jumper)
    48 LED (board)
    49 Stop_button
    50 Start_button

    End of Page