RPi Interface Rev C
- 1 Introduction
- 2 Block Diagrams
- 3 Component Selection
- 4 Modem Re-Selection
- 4.1 Regional Band Compatibility
- 4.2 Other models
- 4.2.1 EG915N-EA
- 4.2.2 BG95M3
- 4.2.3 EG915Q-NA / EG916Q-GL
- 4.2.4 Comparison Table
- 4.2.5 Final Selection
- 5 Layout
Introduction
Inspiration
Who
Notes
Given in order of involvement with project
Credits here include only hardware design credits, firmware and integration credits given elsewhere
Higher priority names here will be drawn on the silk of the PCBA
just being assigned to the project is not enough to be given credit
People
@Daniel Puratich schematic capture, power supplies and architecture, PCB dimensions and placement draft, most component selection including symbols & footprints
@Anthony Luo digital device selection, IOC verification, firmware & software lead
@Kenny Na finalized placement and complete layout
@Anthony Lazar adding various components and a few calculations
@Meghan Dang CAN circuit components initially added for ESC CAN Adapter
@Nathan Green architectural reviewer
@Sahil Kale architectural reviewer
Where
https://warg.365.altium.com/designs/AA237602-825E-4CD7-BE7B-1078E9369164#design
TODO: Add github link when done
Timeline
Desired for Competition in 2025 so ideally boards are fully assembled by end of Fall 2024.
Hardware design will be completed before midterms for midterm PCBA order in F24 term.
@Daniel Puratich is intend on fighting to make this happen and is encouraging anyone to help by breaking this down into green comments for subtasks in the schematic (if viewing in the future please see the version history in Altium 365 for how I did this).
Features we arenโt adding but considered
no ELRS
ELRS changes a lot quickly
could be saved for a future revision
can be done via a simple connector to any COTS module
no cameras
mounting a camera makes placement complicated
Features
Begin from RPI Interface Rev B
Keep the UART โkillswitchโ and one UART passthrough for the RPi to FC direct
Being implemented in the stm though instead of the hardware switch
This is being done to avoid running out of UARTs on the STM and to avoid hardware complexity
UART forwarding can be done with DMA so it can be fast and not very resource intensive.
Justification for this as a feature is given in RPI Interface Rev B .
Keep UART LED indicators
this is nice for debugging
costs some board space
could be DNPed in a final version
Keep CAN circuit
this can be used to control the lighting system if we wanted to?
Could also connect to pixhawk for mavlink over CAN if weโre able to do the required firmware to make this solve.
Add LED features
Some neopixels on the board might be nice.
Leds on the pwr rails since I have space.
IR detector so we could use one of those cheap remotes to control LEDs.
Analog Monitoring
STM has some spare analog pins so might as well use them
temperature and voltage monitoring
Add an LTE modem to RPi interface rev c
quectel module he put
Quectel gets USB into the RPi and the STM. RPi eill be used initially and is drawn below because it requires less custom firmwqre, but using the stm long term seems nice.
Selected to get maximum mavlink datarate out of the Pixhawk
This is not intended to be able to stream data for โgroundside computeโ for autonomy processing as explained in Autonomy Compute Integration 2025.
Change buck converter to support 48V input so we can connect VBATT
this makes architecture decisions and harnessing easier
Switch STM32
STM take in the three uarts form quectel
The other STM is smaller and doesnt have enough UARTs for this
STM will communicate with the RPi over SPI
Increase board size a bit
this turns the board into a full normal RPi hat
This is required for cooling for the LTE module and a simple USB connection for the LTE hat
Why
Unlimited range & unlimited datarate is really attractive even if it comes at the cost of some weight and some power consumption.
Maintaining C2 link is required for flight so full reliance on ELRS is scary even if we have overwhelming evidence for itโs reliability
This board is an RPi hat because there is good COTS software support for the Quectel that runs on the RPi. The presence of the STM allows us to experiment with using the embedded proccessor but this will take a lot of time to bring up.
Eventually this board can be used as a standalone without the RPi to save weight. We want the Pi for airside compute now, but could be cool to try it in the future
The reason for the STM is that itโs real time and guaranteed run time and low power operation. See here.
Dual bucks is done because itโs hard to find ICs that do up to 7 A without external FETs & compensation. I want this to work right off the bat though in theory higher efficiency is achievable
Standards
ย
Block Diagrams
All Possible Configurations:
Component Selection
Trivially selected components arenโt really mentioned here, but some of the more complex stuff is noted here.
Digital IC Selection
EG915NEAAC-N05-SNNSA
Supports NA
Supports max mavlink datarate
no external camera features keeps cost down
~$30 bucks
Optional GPs port that is uses. Will use a u.fl connector and an onboard antenna we can choose between.
STM32F415RGT6
has USB FS support and a ton of UARTs
$18 is a lot but itโs the cheapest we gonna get
somewhat discussed in LTE Breakout
STM32 pinout given in Discord conversations
First Buck Stage Component Searching
Super glad thereโs a lot of options in this voltage range, seems to be getting better with time as automotive bus voltages are rising.
Best from MPS
I kinda wanted to use MPS here, but doesnt seem like any of their stuff solves
Searching Digikey
I like these microchip and Vishay options, the analog devices ones are hella overpriced (as usual).
Microchip options are slightly cheaper and support higher input voltage so will let one of these ride.
Plenty in stock, super cheap, https://www.digikey.ca/en/products/detail/microchip-technology/MIC28516T-E-PHA/13175035 seems like the way to go here! Size doesn't really matter that much for me. Way smaller then having external FETs so Iโll take it.
MIC28516T-E/PHA
Datasheet Rev D: https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MIC28516-Data-Sheet-DS20006315.pdf
Setting output voltage to 5.05V target, calculating using hardware/Scripts at master ยท UWARG/hardware.
Modem Re-Selection
Regional Band Compatibility
We initially selected the EG915N-EA, which only includes bands optimized for usage in Europe and Asia.
This model has band 7 but is missing 12, 13, and/or 71 (as per discussion from Nathan in #rpi-interface-rev-c). Band 7 is (1) limited to certain networks and (2) is 2600MHz, which is fast, but limits ranged performance. 12, 13, and 71 are lower frequency channels and will provide more channels to switch into, as well as better range.
To watch for when selecting a new modem: We want a pin compatible model with the EG915N, as we have already done extensive layout considerations around this footprint, and we want to maintain the 2 supported SIMs. We want bands 7, 12, 13, and 71.
Other models
https://www.quectel.com/lte-iot-modules/
https://www.quectel.com/download/quectel_eg91xqbg9xeg9x_series_compatible_design_v1-1/
EG915N-EA
https://www.quectel.com/download/quectel_eg915n_series_hardware_design_v1-2/
Quectel_EG915N_Series_LTE_Standard_Specification_V1.3
BG95M3
https://www.quectel.com/download/quectel_bg95_series_hardware_design_v1-6/
Quectel_BG95_Series_LPWA_Specification_V2.0-4-1.pdf
EG915Q-NA / EG916Q-GL
https://www.quectel.com/download/quectel_eg91xq_series_hardware_design_v1-3/
Quectel_EG915Q_Series_LTE_Standard_Specification_V1.6
Quectel_EG916Q-GL_LTE_Standard_Specification_V1.1
Comparison Table
Model/Specs, DigiKey CA Link | ||||
---|---|---|---|---|
$/ct (DigiKey) | ~$34.52 CAD | ~$50.54 CAD | ~$54.23 CAD | ~$63.99 CAD |
Stock (DigiKey) | ~200 | ~1,236 | ~236 | ~37 |
Dimensions | 19.9x23.6, 2.4mm | 19.9x23.6, 2.2mm | 19.9x23.6, 2.4mm | 22.5x26.5, 2.4mm |
Pin-to-pin compatible? | - | Kind of, footprint includes an arc-ed pad | Yes. (need confirmation from more eyes) | Yes (with few changes, listed below). |
LTE Bands | LTE-FDD: B1 / 3 / 7 / 8 / 20 / 28 ย | Cat M1: B1 / 2 / 3 / 4 / 5 / 8 / 12 / 13 / 18 / 19 / 20 / 25 / 26 / 27 / 28 / 66 / 85 Cat NB2: The above and 71, without 26 and 27 | LTE-FDD: B2 / 4 / 5 / 12 / 13 / 66 *EG915Q-AF model has bands 14 and 71 on top; however, canโt find it on DigiKey. | LTE-FDD: B1 / 2/ 3/ 4/ 5/ 7/ 8/ 12/ 13/ 18/ 19/ 20/ 25/ 26/ 28/ 66 LTE-TDD: B34 / 38/ 39/ 40/ 41 ย |
# of SIM Interfaces | 2 | 1 | 2 | 2 |
Specs Screenshot | ย | ย | ย | |
Notes | ย | ย | ย | Due to this being several mm bigger than the EG915N, the existing placement and routing would have to be heavily adjusted. |
Notable pinout differences between EG915N-EA and EG91xQ series devices:
GNSS debug pins on Q model (109, 110)
AUX_RTS and AUX_CTS removed on Q model (now RESERVED pins)
USIM2 no longer has a DET pin on Q model (no card detect)
Q model uses previously RESERVED pins for CAM SPI functionality (95, 78, 97, 98, 115, 93, 94)
Q model has backup power pins for the GNSS antenna (117, 118, 112)
Pins for SLEEP and WAKEUP have been renamed (among others)
MIC-related pins have been removed (now RESERVED pins: 119, 121, 122, 126, 120)
Final Selection
EG915Q-NA selected. See chat in #rpi-interface-rev-c for more.
Model is available on DigiKey Canada
2 SIM connections, USB 2.0
Has bands 12 and 13, the low frequency bands best for long-range communications
Missing 7 and 71 but these high-speed bands matter less for the purpose of the device
Exact same footprint as EG915N-EA (routing wonโt have to be redone)
Layout
Collection of hardware design guideline excerpts from various component datasheets.
Quectel_EG915N_Series_Hardware_Design_V1.2.pdf
https://www.quectel.com/download/quectel_eg91xq_series_hardware_design_v1-3/
ย