RPi Interface Rev C

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

  • 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

      • relevant discord chat & here

      • 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.

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.

Original modem specs.

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

image-20241122-174300.png
Pin-compatible models as stated in the specifications sheet for the EG915Q-NA.

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

ย 

Spec Sheet

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

Spec Sheet

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.

Spec Sheet

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

ย 

Spec Sheet

# 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/

ย