This repository houses circuits and PCB design for the Heron MK II cubesatellite project.
https://github.com/HeronMkII/pcbs/issues
Export all schematics and board layouts to PDF files so others can easily view them without using Altium.
Use the Issues tab in this repository to track any hardware/electrical issues, suggestions for PCBs, or other items related to electronics.
-
Update your GitHub with the pcbs-common submodule
-
Run these git commands from your
./pcbs
folder:
git submodule init .
git submodule update --remote pcbs-common
- Get the files in your current project
- Project → Add Existing to Project → navigate to your copy of pcbs-common → select relevant files for your design.
- Substitute your current subsheets with the pcbs-common versions
- Open properties of target subsheet (the green box) → find the label indicating from where it’s taking the current subsheet → select the ... → navigate to the pcbs-common version in your project → select and OK
- Synchronize the labels to the subsheet with pcbs-common version
- Right click on the green box → sheet actions → synchronize sheet labels → select the pairs of corresponding sheet symbols → select the bottom arrow option (symbol of a beige box to a blue box [this pushes the version from pcbs-common onto the upper level]).
- When you run out of things to link, select the remaining items in the middle column → add (bottom option) → add no ERCs (X symbols) to pins you are not currently using.
From the pcbs
folder:
$ git submodule update --remote
This will fetch the latest commit of pcbs-common
and update your files.
If you get an error about having modified files inside the pcbs-common
folder, run the following:
$ cd pcbs-common
$ git reset --hard
This will discard all local changes you have made in the pcbs-common
folder. Then, run $ git submodule update --remote
again to download the most updated version of the pcbs-common
files.
Programming PAY-SSM microcontroller:
Programming PAY-Optical microcontroller:
- Programming headers - for both, the notch on the connector must face DOWN
- Board orientation is determined by the UTAT logo
- Contains two microcontrollers:
- PAY-SSM (right side)
- Controls SSM functions
- Need to set switch to PROG when uploading programs, and RUN when executing programs
- Switch must be in RUN mode for SSM_RST button and UART to work
- Can leave microcontroller's RX pin connected when uploading a program (commands from a laptop)
- PAY-Optical (left side)
- Controls optical sensor setup
- Should be on the PAY-Optical board, but is on the SSM board due to space constraints
- UART headers (from MCU's perspective) - TX (DI, for printing, more common), RX (CLK, for commands, less common)
- Need to disconnect RX (CLK) pin when uploading a program
- PAY-SSM (right side)
- Payload subsystem main board
- Controls motors, heaters, thermistors
- Interfaces with EPS/OBC on the CAN bus
- 10-pin DF-14 connector to EPS
- 2x2 header on right side between long debugging header and programming header - top 2 pins are MCU's TX (prints), bottom 2 pins are MCU's RX (laptop commands)
- Careful of different 5V and 3V3 headers!!
- 5V supply required if using motors and heaters
- The two microcontrollers are connected to each other over SPI, where PAY-SSM functions as the master and PAY-Optical functions as the slave
- If the PAY-Optical MCU doesn't program properly, the PAY-SSM MCU might be interfering by sending SPI messages to it - either upload an empty program to the PAY-SSM MCU or hold down the SSM_RST button when programming the PAY-Optical MCU
- Disconnected (desoldered) CONFIG pin on both motor drivers so they use phase/enable mode
Connecting PAY-SSM PCB to PAY-Optical PCB (if using 20-pin cable for debugging instead of stacking header pins):
- Payload optical board
- Physically stacked on top of PAY-SSM with a 20-pin header
- Bought a 20-pin wire for testing without having to stack the boards
- 34 optical sensors and 2 SMA connectors to test input by simulating the input signal after the first amplification stage
- MCU for optical setup is located on the PAY-SSM PCB
- Payload LED board
- Contains LEDs on opposite side from PAY-Optical board
- Second copy currently (on 2018-09-18) being soldered by Cindy
- Each LED board has a 10-pin DF14 connector to PAY-SSM
- Combined onboard computer, electrical power systems, and communications on the same board
- Next iteration will have OBC on its own board, EPS/COMM still together on the other board
- Decided to not finish soldering a complete board with all components, just a couple of partially finished boards
- Connects to systems PCB with DSUB-25 connector
- Two MCUs: EPS and OBC
- Must program MCUs through the systems debug PCB
- Systems debugging board
- Connects to EPS board with DSUB-25 connector
- Will allow us to plug in the single DSUB-25 cable to the satellite, program and view UART from any board/MCU, and monitor high-level debugging signals
- The following picture shows the v1 (on the left) and v2 (on the right) Systems Debug PCB. V2 has all the components soldered on and is ready to be used. Potential issues and changes are documented in Issue #70
- Not all components soldered
- Previously used to test conformal coating