Created by Neelay. Updated by: Cedric (2022), Dulanya (2023)
The PCB you will be working on is a system to detect apogee (peak of arc of rocket) and deploy parachutes. There are 4 parts to the mini-project, you will be able (and are highly encouraged) to ask for help from the mentors at any point!
Choose appropriate components for the PCB and create a BOM (Bill of Materials).
Create the schematic for the board.
Create the layout for the board.
Prepare the board to be manufactured. (Please do NOT actually place an order on any site for the boards.)
The board will be powered by a 12V/ 500mA power source.* What does this mean? Each component we use will have a minimum voltage needed to operate, and a maximum needed to operate safely. The voltage of our power source is often much higher than this! This means we find a way to deliver a reduced voltage (in our case, 3.3V) to power each component. This is usually done by using a voltage regulator.
The board will be able to measure and report the altitude of the rocket. What does this mean? To detect altitude, there will need to be a sensor on our board. A sensor that detects altitude is called an altimeter. However, we will also need a way to actually communicate with that sensor, and output its readings. To do this, we will need to use a microcontroller.
The board will be mechanically secured onto the avionics sled. It will be no larger than 2 by 2 inches. What does this mean? Avionics members will need to work with other subteams to make sure that the boards can be integrated onto a flight vehicle. This includes staying within size constraints, and thinking about how the board will be secured in-flight. For this, we can include mounting holes on our PCB layout.
*Please note that these aren't the specs for the power sources we would actually use. These have just been chosen to make the intro project simpler :)
There are some components that we commonly use on STAR for certain things. You will be expected to use these components when working on projects (unless there is a compelling reason otherwise). You can see more of such components on our Standard Parts List. This PCB will be built around the following components:
Microcontroller: ESP32-S3-WROOM (datasheet)
Altimeter: BMP388 (datasheet)
These components will often need additional resistors, capacitors, etc. known as peripherals in order to work. Datasheets often have an 'Application Example' which shows what is needed for the component. In addition to the microcontroller and altimeter, you will also need a voltage regulator for your board.
YOUR TASK... is to find an appropriate voltage regulator and peripherals to make this board. Fill out the BOM template with the components you've found.
(To save time, you don't need to fill out all the details for the peripheral components you're using. Just make sure you list them.)
To Submit: Add the link to your BOM to the 'Notes' column of the Intro Project spreadsheet.
<BOM Template doc here>
On Finding the Right Component
Let's find the perfect resistor!
Go to www.digikey.com (where we buy most of our electronic components)
Type in what you're searching for in the search bar ('resistor'). Then choose the most relevant category from the results that come up. (Let's choose 'Chip Resistor - Surface Mount)
Next, we set filters to find the component we want, and click 'Apply All' (Let's select Resistance: 1k Ohms) Always select 'In Stock' and 'Product Status: Active' when searching for components.
We should also make sure we select a device package we can solder. Some packages are harder to solder than others, and some are impossible for us to do by hand! (For this resistor we can select '0805' and '0603' to see results for both these sizes. You can also select '0402' if you want a challenge.)
Once you have applied all the filters you need you can scroll down and sort by price. Look at the available components and their datasheets, and choose the cheapest component that will work.
In this part, you will learn to read datasheets for components and apply the reference schematic designs in the datasheet to complete a schematic in KiCad with a microcontroller, power module, and altimeter. Remember to refer to the KiCad tutorial page in Avionics Tutorials for more complete references for how to use KiCad. Make sure to attend the KiCad workshop!
YOUR TASK... is to make a schematic for the PCB using the components you have listed in your BOM.
Create a new KiCad project titled <Your Name>_IntroProject.
Within this folder, create an additional folder titled 'Library'.
If you download additional symbols/footprints, place them in this folder.
To Submit: Export your schematic in a .pdf format, and upload to google drive. Add the link to the google drive file to your Intro Project Spreadsheet.
While KiCad has many symbols and footprints included by default, it doesn't have all components. If you can't find a component you need on KiCad, you can look online for a symbol or footprint. Place these files in the 'Library' folder you created. You can get symbols and footprints from SnapEDA or UltraLibrarian (it's free!). Do not use EasyEDA. Always cross check a symbol/ footprint you are using with the information given on the datasheet. When in doubt, trust the datasheet! Ask your mentors for help with this if needed.
On Creating High-Quality Schematics
By far the most common mistake that new members make is drawing messy schematics. Before jumping into the intro project, take a moment to read this stack exchange post with tips on creating good schematics, many of which will still be useful well into your engineering careers.
When creating schematics yourself, aim to emulate the style and clarity used in previous avionics projects such as CAS and Ground Station (pictured below). Note the use of net labels and global labels to keep wires short, as well as the organization of different sub-circuits into different areas of the page.
There are also some guidelines on this document which you can (should definitely) read through! (Shoutout to HOPE decal for making the guidelines document.)
Open up intro_proj.pro
, the KiCad project. We will now make sure that the calstar schematic symbol library in lib
is included.
Hit Preferences > Manage Symbol Libraries
as below.
Once the Symbol Libraries window opens, go to the Project Libraries
tab and hit the Add existing library to table button in the bottom left row above Path Subsitutions
.
Now navigate to lib/
and select calstar.lib
. However, we want to replace the calstar library path with ${KIPRJMOD}/../calstar.lib
. Relative path is applicable on any machine, while your absolute path (i.e. C:/Users /Cedric/......./lib/calstar.lib
) isn't. The window should end up looking like this:
Hit Ok
and now go back to the KiCad project window.
In this part, you will learn to read datasheets for the reference layout designs, and then complete a two-layer board layout of the schematic from the previous step in KiCad. Make sure to attend the KiCad workshop to learn how to use the software.
But first! Follow the following instructions (shout out to the HOPE decal) to set up the design rules for your board. These will prevent you from making a design that isn't actually manufacturable.
Also make sure to review these design guidelines for the layout (once again, shout out to the HOPE decal).
As always, your mentors are always happy to help you and give you feedback!
YOUR TASK... is to arrange the components on your schematic into a suitable layout. You must first assign each component on your schematic a corresponding footprint. Your board should be 2 by 2 inches, and have one mounting hole on each of the four corners.
Much like for the schematic, you may need to download and import additional footprints for your layout.
To Submit: Export your layout as a .pdf and upload to google drive. Add the link to the google drive file to the intro project spreadsheet.
(in-progress)
This version created in Fall 2023 by Dulanya Cooray. Subject to revision.
Avionics involves working with all the electronics and software we need to launch rockets. Sensors? Power? Communication? GPS Tracking? Remote engine control? That's all avionics!
We welcome members of all majors and all levels of prior technical experience. The goal of this intro project is to go over some fundamental concepts and techniques from the ground up. All we ask is that you're interested in learning about, and eventually contributing to, the work we do at STAR
This intro project is separated into modules, each of which is expected to take about a week long to complete. You can complete most of the intro project at your own pace—however, you will need to attend workshops/ events synchronously. (Exceptions on a case-by-case basis, make sure you inform the avionics lead to make other arrangements.)
We will use a spreadsheet to give you the instructions for the intro project. A copy of this sheet will be assigned to each prospective member.
Each prospective member should receive a copy of the Intro Project spreadsheet, and be able to edit it. If you did not receive a copy, message the Avionics lead ASAP!!
Task: The intro project is made up of individual tasks you need to complete. You need to complete all tasks (except the ones marked [OPTIONAL]) to complete the intro project.
Status: There are 3 options for status: Complete, In-progress, and N/A (not applicable). Use 'N/A' if you decide not to complete an optional task. Use 'In-progress' after you have begun working on a task. Use 'Complete' only once the task is fully completed.
Check Off By: For tasks marked 'Prospective', you must update the status of that task by yourself. This lets us keep track of how you're doing on the intro project! Some tasks are marked 'Mentor' or 'Lead', you are not allowed to update the status of that task until a mentor or lead approves it.
Notes: These may include some additional information or resources that might help with the task. Some notes cells will have a border around them, this indicates that there's some information you need to fill in there. (Instructions should be included in the corresponding task.)
Join the STAR discord, know how to navigate to the channels relevant to you.
Fill out the new members form.
Attend an orientation (or make arrangements with the avionics lead)
Read through the General Info tab and make sure you understand everything on there. Make sure to ask questions if you have any!
Get Google Drive access - make sure you are able to view items in the drive. Reach out to the avionics lead or a mentor if you are having trouble.
Complete the RFS safety training. Follow the intructions linked here.
Create a GitHub user profile if you do not already have one. Add your username in "Notes" so you can be added to the STAR organization.
Mark as 'complete' once you have been added to the STAR organization.
Download Git on your laptop - follow the instructions linked here
Download and install Arduino 2.0 (or later)
Download the ESP32 drivers.
Follow the linked tutorial to add the ESP32 module on Arduino. Make sure to also test that the install was successful.
Download KiCad 6.0.11 (DO NOT DOWNLOAD KICAD 7.0). After selecting your OS, you will need to scroll down to "Previous Releases" and click the link given there to find the correct version.
[OPTIONAL] If possible, enroll in the HOPE DeCal (most of the prerequisite knowledge will be covered in this intro project). While we will go over PCB design, the HOPE DeCal is a great experience! We strongly reccomend enrolling, but this is optional.
Attend Soldering Workshop - include date attended in the 'Notes' column
Practice through-hole soldering until you feel confident
Practice surface mount soldering (for size 0602 and larger) until you feel confident
Practice soldering using the PCB oven until you feel confident
Practice de-soldering (solder wick, solder sucker, hot air gun) until you feel confident
[OPTIONAL] Complete the entire soldering practice board
Read the following sections of the Arduino Getting Started Guide (you can skim them): - Anatomy of an Arduino Board - Basic Operation - Memory - Arduino API (and all subsections) - Arduino Software Tools: A Typical Workflow Come to Office Hours or post on Discord if you have questions. (Feel free to look through more of their resources if you'd like!)
Attend coding workshop (or make arrangements with the avionics lead) - include date attended in the 'Notes' column
Write code to control the LEDs on your soldering practice board. Your code must follow the attached specs. Show to a mentor to be checked off.
Read the following sections of the Arduino Getting Started Guide (you can skim them): - Circuit Basics - Electronic Signals - Sensors and Actuators - Serial Communication Protocols Come to Office Hours or post on Discord if you have any questions. (Feel free to look through more of their resources if you'd like!)
Read the following sections of DC Circuit Theory (you can skim them): - DC Circuit Theory - Ohm's Law and Power - Kirchoff's Current Law - Kirchoff's Voltage Law (14) - Nodal Voltage Analysis - Thevenin's Theorem - Voltage Sources - Current Sources - Voltage Dividers - Electrical Energy and Power
Attend electronics workshop - include date attended in the 'Notes' column
Have a one on one chat with the Avionics Deputy for that project, make sure you understand the requirements and workload of the project. Add the deputy's name in the 'Notes' column. (You don't have to meet with both deputies, but you do have to have met with the deputy for the project you will be working on. You can meet with the relevant deputy after you have selected which project you want to work on, although this is not recommended.)
Attend a work session for that project (communicate with the respective deputies to find out when that will be!) Add the name of the project and the date of the work session you attended in the 'Notes' column.
Choose which project you would like to join and inform the avionics lead.
Read the KiCad Tutorial
Attend Intro to KiCad workshop - include the date attended in the 'Notes' column
PCB Dev Mini-Project: Find Instructions & Materials at the link
Finish making the schematic and receive 0 ERC errors.
Finish making the layout and receive 0 DFM errors.
Generate the Manufacturing Files and upload to Bay Area Circuit's instant DFM (linked). DO NOT PURCHASE THE BOARDS. THIS IS SIMPLY SO THAT YOU CAN PRACTICE THE PROCESS OF GENERATING AND VALIDATING MANUFACTURING FILES.