Line 36: |
Line 36: |
| This document is the "top sheet" (hence the name) for the project. A board in Altium consists of one or more "sheets," pages of the electrical schematic. They are arranged hierarchically - every design with more than one sheet needs a "top" sheet and then "subsheets," which can be nested an arbitrary number of times (subsheets can have subsheets, which can have subsheets, which can have subsheets...) The green box (known as a "sheet symbol") represents a subsheet, containing the schematic for an Arduino microcontroller. You can open that sheet either from the Projects panel or by hitting {{altium-shortcut|ctrl + double click}} on the sheet symbol. | | This document is the "top sheet" (hence the name) for the project. A board in Altium consists of one or more "sheets," pages of the electrical schematic. They are arranged hierarchically - every design with more than one sheet needs a "top" sheet and then "subsheets," which can be nested an arbitrary number of times (subsheets can have subsheets, which can have subsheets, which can have subsheets...) The green box (known as a "sheet symbol") represents a subsheet, containing the schematic for an Arduino microcontroller. You can open that sheet either from the Projects panel or by hitting {{altium-shortcut|ctrl + double click}} on the sheet symbol. |
| | | |
− | We'll make one small edit to the subsheet for this project, and it may prove helpful to look at as an example of what an Altium schematic can look like. | + | Open the subsheet as described above. We'll make one small edit to it for this project, and it may prove helpful to look at as an example of what an Altium schematic can look like. |
| + | |
| + | ====Add Missing Ports==== |
| + | [[File:Ports.png|thumb|200px|right|The four different I/O types of ports]] |
| + | |
| + | The yellow symbols on the right edge of the sheet are called "ports." They pass signals from the subsheet up to the top sheet, kind of like parameters in a function. Each port has a name and a input/output type - "input," "output," "bidirectional," and "unspecified." Altium matches them to symbols on the upper sheet (called "sheet entries," discussed below) to make connections between the subsheet and its "parent." |
| + | |
| + | We're going to add three new ports with Place → Port {{altium-shortcut|p → r}}. After you start placing, hit {{altium-shortcut|tab}} to bring up the options menu. The two fields to look at are "Name" and "I/O Type," which are how Altium matches ports to their corresponding sheet entries. We're going to add ports for pins 1, 3, and 5 - you'll note they're missing ports from the column on the right. Add three new ports, making sure their names are "1," "3," and "5," and their I/O types are all set to "bidirectional." Then switch back to the top sheet using your projects pane. |
| | | |
| ====Add Missing Sheet Entries==== | | ====Add Missing Sheet Entries==== |
| + | [[File:Sheet Entries.png|thumb|200px|right|The four different I/O types of sheet entries]] |
| + | |
| + | The yellow symbols on the right edge of the sheet symbol are called "sheet entries." They match up with ports to pass signals from the subsheet up to the top sheet. Like ports, each sheet entry has a name and a input/output type - again, "input," "output," "bidirectional," and "unspecified." |
| | | |
− | The yellow symbols on the right edge of the sheet symbol are called "sheet entries." They pass signals from the subsheet up to the top sheet, kind of like parameters in a function. Each sheet entry has a name and a direction - "input," "output," "bidirectional," and "unspecified." | + | We're now going to add three new sheet entries with Place → Add Sheet Entry {{altium-shortcut|p → a}}. After you start placing, hit {{altium-shortcut|tab}} to bring up the options menu. The two fields to look at are again "Name" and "I/O Type." We're going to add for sheet entries for pins 1, 3, and 5. Add three new sheet entries, making sure their names are "1," "3," and "5," and their I/O types are all set to "bidirectional." |
| | | |
| [[Category:Getting started]] | | [[Category:Getting started]] |
| [[Category:Altium]] | | [[Category:Altium]] |