0% found this document useful (0 votes)
67 views29 pages

Cansat PDR

The UK CanSat Competition project, led by a team from Brighton College, aims to measure atmospheric data including air temperature, pressure, and radiation levels using a CanSat equipped with various sensors. The project includes detailed planning for design, programming, and risk management, with an emphasis on data collection and analysis to understand the atmosphere's filtering effects. The CanSat's design incorporates a cylindrical structure for impact absorption and a sophisticated electrical design for sensor communication, aiming for successful data transmission and analysis during the mission.

Uploaded by

nataliedavies150
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views29 pages

Cansat PDR

The UK CanSat Competition project, led by a team from Brighton College, aims to measure atmospheric data including air temperature, pressure, and radiation levels using a CanSat equipped with various sensors. The project includes detailed planning for design, programming, and risk management, with an emphasis on data collection and analysis to understand the atmosphere's filtering effects. The CanSat's design incorporates a cylindrical structure for impact absorption and a sophisticated electrical design for sensor communication, aiming for successful data transmission and analysis during the mission.

Uploaded by

nataliedavies150
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 29

标签页 1

UK CanSat Competition

Celestium
Brighton College

Preliminary Design Review

November 22nd, 2024


1 INTRODUCTION

1.1 Team Organisation and Roles


Student 1: Team Leader, Circuitry, Data Post-processing, Outreach Lead
Student 2: CAD Design, Landing Mechanism Advisor
Student 3: Programmer (Sensor Data Collection)
Student 4: Programmer (Data Transmission)
Student 5: Landing Mechanism Design

1.2 Mission Overview

1.2.1 Mission Objectives

Primary Mission:
Measure air temperature and air pressure and transmit the data as telemetry to the ground station once
every second

Secondary Mission:
Atmospheric radiation profiling (UV and IR) and atmospheric gas concentration profiling (CO2 and
ozone) in terms of altitude to determine regions of higher concentration and to determine if there is
correlation. If so, the data should show the atmosphere’s natural filtering and shielding effects.

1.2.2 What will you measure, why and how?

We will measure the ozone, carbon dioxide, infrared radiation and ultraviolet radiation
levels/concentration once per second, then pairing the data onto the altitude information also collected
once per second.

Our hypothesis is that as atmospheric gas concentration increases, the levels of atmospheric radiation
will decrease due to absorption and scattering by atmospheric molecules. Ozone absorbs UV
radiation, particularly in the UV-C and UV-B wavelengths, which are blocked effectively in regions
with higher ozone concentration. Similarly, greenhouse gases like CO₂ absorb specific wavelengths
of IR radiation through their vibrational and rotational modes, reducing the intensity of IR radiation as
it passes through areas with higher CO₂ levels. Thus, we would like to visualise the atmosphere’s
natural filtering and shielding effects through our secondary mission, which will be presented as a
heatmap after data post-processing.

This data can show the atmosphere’s role in protecting life on Earth and regulating energy balance.
Studying how these gases interact with radiation at different altitudes can allow us to understand
composition and effectiveness of atmospheric layers in filtering harmful wavelengths, assessing ozone
distribution, and understanding localized climate effects. Our data can also be used for evaluating
radiation exposure risks for humans, particularly at higher altitudes or in aviation, and understanding
how changing atmospheric conditions affect ecosystems. Additionally, this data can be used as a
baseline for tracking trends like ozone depletion, greenhouse gas accumulation, and pollution impacts,
making it useful for scientific research and environmental policy.

These are the sensors we will use:


- For temperature and pressure: BMP280 (provided by ESACanSat)
- For UV radiation: Adafruit LTR390 UV Light Sensor - STEMMA QT / Qwiic
- For ozone concentration: Alphasense O3-B4
- For CO2 concentration: SCD30
- For IR radiation: Adafruit TSL2591 High Dynamic Range Digital Light Sensor (STEMMA
QT)
- GPS: PA1010D GPS Breakout

2 PROJECT PLANNING

2.1 Time Schedule

cansat timeline.xlsx

Outreach will be done once per week through Instagram, which will be detailed later.

2.2 Team and External Support

Project Programming Electronics CAD/Design Outreach


Management
Student 1
Student 2
Student 3
Student 4

Student 5

…. Skills
…. Some Skills
…. No Skills

Programming Support: Online resources (Stack Overflow, Raspberry Pi documentation/communities


etc.), Brighton College Computer Science Faculty

Electronics Support: Online resources, Brighton College Design Technology Faculty, BC Physics
Faculty

CAD Support: Online resources, Brighton College Design Technology Faculty


We are planning to get external support from the Brighton College Physics Faculty for electronics and
the BCDT Faculty for soldering and 3D printing facilities, CAD support and general structural
questions. We are a relatively well-balanced team and currently, we do not need support and we are
happy with our team capabilities.

2.3 Risk Analysis


Manufacturing delays in 3D printing the CanSat body could disrupt the schedule, and programming
(especially debugging) for data collection and transmission may require more time than we expected.
Also, since we do not have personal equipment for electricals such as soldering and quick access to
components, it could slow progress as we have limited access and rely on external resources.
Equipment issues such as sensor malfunctions, power supply failures, or communication module
interference, may cause inaccurate or incomplete data collection, which will be detrimental for our
final heatmap and data analysis. Mechanical damage to structural components or sensitive electronics
during launch or landing, especially during testing is also a large risk that will take a lot of time and
financial resources to overcome. However, we will try to mitigate this risk by using flexible material
for our CanSat body to absorb shock. Since we are using 6 sensors, there may be data overload,
integration issues with communication protocols, software bugs and even small environmental factors
such as humidity or wind can affect sensor performance and damage our final dataset. To mitigate
these risks, we are prioritising early testing and calibration so we have time buffers in the schedule.
We are also trying to optimise data logging rates, implement robust error handling, and simulate real-
world conditions during ground tests.

3 CANSAT Design

3.1 Mechanical Design


The CanSat uses a cylindrical shape to maximise the useable volume within the regulation. The
CanSat is split int 8o 3 main sections, including impact absorption, mission electronic, and parachute
compartment. The body of CanSat will be 3D printed using a combination of PLA and TPU (95A).

The impact absorption section is located at the bottom of the CanSat, with a thickness of 2cm. This
part is made of TPU (95A) as it can undergo a significant amount of elastic deformation before
breaking. Therefore could absorb a considerable amount of energy from the launch and landing,
protecting the electronic device. By using 3D printing technology, we are able to customise the
internal structure of the landing compartment to control how the structure deforms under load. Several
different internal structures had been tested with different masses and stiffness.

The electronic compartment sits above the impact absorption section. The electronics will be secured
onto a TPU cylinder attached to the impact absorption section, this will secure the sensors in place
and provide further protection from the impact.

The electronic compartment is surrounded by 4 PLA made 2mm thick spoilers. These spoilers will be
deployed by 4 servo motors after it is released from the rocket. The spoilers will increase the drag in a
controllable manner, and also expose the electronic sensors to the atmosphere to get more accurate
measurements. The spoiler system is similar to the NASA proposed ADEPT technology but with a
different purpose. The spoiler had gone through several design iterations to minimise weight while
maintaining structural strength. Furthermore, a layer of fibre tape will be applied on the spoilers’
surface, which will increase the structural integrity. In the very unlikely scenario where the spoiler
breaks under stress, the fibre tape can contain the fragments to minimize the safety threat posed by
uncontrolled, free-falling debris.

The top of the CanSat is the parachute compartment, it is linked to the base (impact absorption
section) through a TPU cylinder that runs through the entire height of the CanSat. This provide a
secure connection between the parachute and the CanSat to make sure it can withstand the force of
initial parachute deployment.
3.2 Electrical Design

Preliminary Circuit Design 22/11/24

In this design we are using a I2C bus for most of the sensors. An I2C bus allows for two-wire
communication, with the SDA data line on GP0 transferring data between the master and slave
devices, and the SCL clock line on GP1 synchronising data transmission between the master (the
Raspberry Pi) and the slaves (senors). Each device on the I2C bus has a unique address for
identification. For the BMP280, it defaults to 0x76 or 0x77; the LTR390 is 0x53; the TSL2591 is
0x29 and the SCF30 is 0x61. The SDA and SCL lines require pull-up resistors to ensure proper signal
levels, typically 4.7kΩ to 10kΩ (not included above). All the sensors are connected to Pin 36,
3V3OUT and Pin38 for ground connection to ensure a common voltage reference.

When in idle state, both the SDA and SCL lines are pulled up by the pull-up resistors to 3.3V. Then,
the Pico initiates communication by pulling the SDA low while keeping the SCL high, which initiates
the start condition. In address transmission, the mater sends the 7-bit address of the target slave
device, followed by a read/write bit. Each slave will compare the address to its own, and if a match
occurs, the slave will pull its SDA low. To exchange data, the master generates the clock signal on
SCL and the data is transferred on SDA by the master sending data in write mode and slave sending
data on rea mode. The master can end communication by releasing both SDA and SCL lines to go
high.
During implementation, we will keep wires short to reduce capacitance and maintain reliable
communication.

Code example for micropython:

The SPS and XBee modules are connected to the Raspberry Pi on a UART bus. UART is a point to
point communication, so each connection involves only a transmitter (TX) and a receiver (RX) and
data can flow in both directions simultaneously. No clock is required, which allows asynchronous
communication but instead devices must agree on the baud rate for timing. Each data frame typically
includes the start bit, data bits, optional parity bit and the stop bit.

Device TX Pin RX Pin Pico UART


GPS Module GPS TX -> GP5 GPS RX -> GP4 UART 0 (default on
GP4.GP5)
XBee Module XBee TX -> GP3 XBee RX -> GP2 UART1 (remapped to
GP2/GP3)

Sine the GPS runs on 3.3V it can be connected to the Pico’s 3V3OUT. However, the XBee runs on
5V, which is directly connected to the battery. Both devices share a common ground with the Pico to
ensure signal integrity on Pin3.

Code example for micropython:


1. initialise UART for GPS (UART 0)
2. initialise UART for XBee (UART 1)

We are using a lithium ion battery, which will require a converter and a regulator. It is connected to
the 4 servos for the spoilers, the XBee which requires a 5V connection, and the Pico’s VBus (Pin40).
The servos are connected to the Raspberry Pi from Pins 9-12 and grounded on Pin8.

3.3 Software Design


Decomposing the requirements:
In order to have a better grasp of how to gather the data from the BMP280 sensor when wired to our
Raspberry pi pico, we can decompose the problem into the following subproblems:
1) Connecting to the ic2 buses on the pico board
2) Converting the data gathered from the ic2 into corresponding data we want
3) Outputting it in the shell
4) Storing it in a database
5) Connecting to the database with another source code file to do further analysis on the data

Why use Thonny as our IDE?


1) Integrated MicroPython Support: Thonny has built-in support for MicroPython, which is the
Python version commonly used with the Raspberry Pi Pico. This makes writing, uploading,
and debugging MicroPython code directly on the Pico easy without needing additional
configuration.
2) Automatic Detection of the Pico: Thonny automatically detects connected devices such as the
Raspberry Pi Pico. This simplifies the process of setting up and flashing the MicroPython
firmware.
3) Easy File Management: The IDE includes a file browser to manage files stored on the Pico.
Users can easily upload, download, or edit files on the device, streamlining the development
process.
4) Lightweight and Efficient: Thonny is lightweight and runs smoothly even on a low-resource
system, which complements the Raspberry Pi Pico’s minimalistic design.

Program Analysis:
The program interfaces with a BMP280 sensor using the Raspberry Pi Pico via the I2C protocol. It
retrieves temperature, pressure, and calculates altitude using two different formulas. Here is a detailed
breakdown:

Key Components and Features:


1. Imported Modules
● bmp280config: A library for interacting with the BMP280 sensor, which can be accessed
through Github. It is expected to provide the BMP280 class and constants for configuration.
● machine.Pin and I2C: For hardware I/O, enabling communication with the BMP280 sensor
using the I2C protocol.
● utime: For implementing delays (sleep) and managing timing in the program.

2. Calibration Adjustment

● ERROR: A correction factor for pressure calibration (in hPa). Users can adjust this value to
fine-tune the altitude calculation based on specific environmental conditions.

3. I2C Initialization

● Pins SDA (data) and SCL (clock) are declared and assigned to GPIO 0 and 1 respectively.
● An I2C object is created with a communication frequency of 1 MHz.

4. I2C Device Detection

● I2C.scan(i2c_object): Scans for I2C devices connected to the bus.


● If a device is found, its address (e.g., 0x76) is returned. In this way, an object of BMP280 can
be created. Otherwise, an error message is printed.

5. BMP280 Sensor Configuration


● A BMP280 object is created, specifying:
○ Address 0x76: This is the default I2C address for the BMP280.
○ Use case: The BMP280_CASE_WEATHER constant defines the operational mode,
optimized for weather monitoring.

● Configuration settings for power mode, oversampling, standby duration, and IIR filter are
provided for optimized accuracy and response times.

6. Altitude Calculation
● Hypsometric Equation (altitude_HYP):
○ Relies on pressure and temperature to estimate altitude using the relationship between
air pressure and elevation.

● International Barometric Formula (altitude_IBF):


○ A simplified model based on standard atmospheric pressure at sea level (1013.25
hPa). Alternatively, the same calculation can be made using METAR data from
nearby airports which provides hourly QNH updates which can be used instead of
standard atmospheric pressure at sea level, this data accounts for the change in
pressure at sea level due to various weather conditions therefore provide a more
accurate altitude reading.
7. Continuous Data Reading

● Temperature (°C) and pressure (Pa) are read from the BMP280 sensor.
● Pressure is converted from Pascals to hectopascals (hPa).
● Altitudes are calculated using both methods.
● Values are printed every second using utime.sleep(1).

Code Behaviour:
1. Detect the sensor.
2. Retrieve and display the temperature, pressure, and calculated altitude continuously.
3. Allow you to adjust calibration via the ERROR variable.

Output:
3.4 Landing and Recovery System
Materials for Parachutes

Material Mass per unit Strength Elongation Price Ease of


area/ g/m2 (USD/m2) manufacturing
Nylon 30-50 High Moderate Affordable (4- Easy to cut, sew,
(ripstop) 12) manipulate
Polyester 30-50 High Low-moderate Affordable (4- Easy to handle,
(ripstop) 10) slightly stiffer
than nylon
Silnylon 20-40 High Moderate Low-moderate Slightly more
(8-15) challenging to
sew
Polythene 10-30 Low Very low Very Very easy,
film affordable requires
(1-5) reinforcement
Kevlar 30-40 Very high Very low Moderate Difficult, special
(15-30) tools required
Canvas 200-500 High Low Affordable Easy to sew,
(4-10) bulky to handle

Material Advantage Disadvantage


Nylon - lightweight, ideal for CanSat - sensitive to UV, degrades over time
(ripstop) - high strength to weight ratio - low heat resistance
- flexible, elastic, absorbs - loses strength in humid conditions
shock loads well
- affordable & widely
available
- easy to cut, sew, manipulate
Polyester - UV resistant, dimensionally - slightly heavier than nylon
(ripstop) stable - lower elasticity
- affordable and durable
Silnylon - water-resistant, very - more expensive than nylon
lightweight - low abrasion resistance, reinforcement
- compact and strong may be required
Polythene - ultra-lightweight - fragile, tears easily without
film - very cheap reinforcement
- easy to cut and manipulate - low durability, poor abrasion resistance
Dacron - higher UV and temperature - heavier than nylon
resistance than nylon - less elastic than nylon, increasing stress
- strong, durable, low porosity on seams and suspension lines
- moderate cost
- resists degradation in humid
environments
Kevlar - highest strength to weight - lowe elongation, increased stress
ratio, very durable - sensitive to UV
- high resistance to abrasion, - expensive
heat, chemical damage - difficult to sew and manipulate
- lightweight
Canvas - durable, resistant to tears and - very heavy comparatively, unsuitable
abrasion for CanSat system
- high UV resistance - low elongation, high stress
- affordable - bulkier, less compact than other
materials
- porous unless untreated, reduced drag
efficiency

Conclusions:
Best overall materials:
Ripstop Nylon: Optimal for strength, cost, flexibility
Silnylon: For added compactness and water resistance, but more costly

In addition to the parachute system, 4 actively controlled spoilers will also be used to further control
the descent speed of CanSat. The 4 spoilers are controlled independently using 4 servo motors, it can
actively control the descent speed by changing their deployment angle, which could increase the total
drag of the CanSat. By using the feedback from the barometer calculated altitude in a PID control
loop, the CanSat can stabilise the descent speed at a preset speed. This will also help the onboard
instruments to collect data within a more controlled environment as the airspeed will be relatively
constant. During the final phase of the descent, all 4 spoilers will deploy at their maximum angle to
provide maximum drag to reduce the final descent speed, reducing the impact force when landing.

3.5 Ground Support Equipment

Equipment Justifications
Windows laptop A Windows laptop has necessary software
compatibility such as with XCTU and Python
Thonny which are required for communication
between the XBee modules and the Raspberry
Pi Pico. Moreover, a Windows laptop also has
necessary hardware compatibility such as USB-
to-serial adapters and XBee Modules.
Familiarity with Windows reduces the learning
curve, and its extensive driver support and
troubleshooting services ensure a reliable
performance during the mission.
Digi XBee XR 868 The Digi XBee XR 868 module has long-range
communication capabilities and it operates in
the 868 MHz ISM band. This frequency is ideal
for CanSat missions, offering minimal
interference, compliance with ETSI regulations,
and effective penetration through obstacles
compared to higher-frequency bands. The
module supports reliable telemetry transmission
over several kilometres (with the potential of
reaching 14 km), which is essential for real-time
data retrieval. Moreover, the XBee XR 868 is
compatible with a wide range of antennas,
including Yagi and dipole types, which makes it
flexible. The Digi XBee XR 868 module also
supports full-duplex communication, meaning
that not only data from sensors can be sent back
to the ground, but instructions can be sent to the
CanSat as well, allowing for greater control over
the CanSat even after when it has been
deployed.
Digi XBee USB Adapter The Digi XBee USB Adapter offers
connectivity between the XBee modules and a
laptop for programming, configuration, and real-
time data retrieval. It facilitates the process of
configuring modules like the Digi XBee XR 868
via software such as XCTU, ensuring that the
XBee is connected to the laptop. Moreover, the
USB adapter supports a plug-and-play design,
making it compatible with most modern laptops.
Additionally, its compact and robust build
ensures reliability during field operations.
Hand-held 868MHz LoRa Omni-Directional The 868 MHz LoRa Omni-Directional 3 dBi
3dbi Gain SMA Antenna Gain SMA Antenna has a low gain of 3 dBi
which ensures a wider radiation pattern, which
improves signal reliability in uneven landscapes
where line-of-sight communication may be
disrupted particularly in rugged terrain and
outdoor environments. Moreover, it operates in
the 868 MHz ISM band, which provides
efficient long-range communication with
reduced interference. Furthermore, the omni-
directional design delivers consistent 360°
coverage, meaning that the need for precise
alignment is not necessary. Its SMA connector
allows connection with XBee XR 868 modules
via a UFL to SMA adapter. Finally, it being a
hand-held antenna can be focused in a certain
direction effectively if necessary

Methodology:
The ground equipment is composed of a Digi XBee XR 868 connected to a laptop for receiving the
data from the CanSat on the 868 MHz frequency. A868MHz LoRa Omni-Directional 3dbi Gain SMA
Antenna is used to increase the reception
signal strength. This will be connected to the Digi XBee XR 868. The antenna ensures that signal can
be transmitted reliably. The CanSat transmits data to the receiving Digi XBee and this transmits the
data to a laptop through USB connection via a Digi XBee USB Adapter. The data can be viewed on
the XCTU software’s dashboard.

Requirements:
Factor Requirements Justifications
Laptop A Windows laptop to run software such The computer needs to handle
as XCTU for configuring XBee multiple tasks simultaneously,
modules, monitoring, and data such as receiving telemetry
processing. It must have enough data, controlling the ground
processing power for real-time data station’s communication
analysis and troubleshooting. system, and processing or
visualising the data.
Communication A reliable communication module like XBee and LoRa have robust
Modules - XBee Digi XBee XR 868, capable of signal transmission over long
operating in the 868 MHz ISM band, distances, compatibility with
ensuring long-range communication sensors, and minimal
and minimal interference. These should interference in regulated
support bi-directional communication frequency bands. Moreover,
to send and receive telemetry data from instructions can be sent to the
the CanSat. CanSat from the ground to
control the deployment of
spoilers / remote status checks.

Antennas Antennas with appropriate gain and Omni-directional antennas


radiation patterns for reliable signal provide consistent coverage in
reception, such as omni-directional or all directions, while Yagi
Yagi antennas, operating within the 868 antennas offer higher
MHz frequency range. directional gain for longer-
range communication. Both
need to be suitable for outdoor
conditions with minimal signal
loss.
Power Supply A portable and reliable power supply CanSat missions often take
(battery or power bank) to make sure place in field conditions, where
that the ground station equipment can access to mains power is
be kept running for the duration of the limited. Having a reliable
mission. power source makes it so that
data collection and
communication can be
uninterrupted.
Cables and High-quality cables and connectors for The quality of cables and
Connectors reliable signal transmission between the connectors can significantly
communication module, antennas, and impact signal strength and data
the ground station laptop. reliability, especially in
outdoor environments where
physical interference is
common.
Telemetry Software Software tools like XCTU or Java with XCTU is widely used for
Thonny, to interface with the XBee configuring and
modules, decode signals, and display troubleshooting XBee
telemetry data. modules, while the Thonny
IDE allows for customisable
coding for data processing and
mission-specific functions
Environmental Weatherproof cases and protective gear Ground control systems are
Protection for all equipment to prevent damage used in outdoor conditions, so
from dust, rain, or extreme protective enclosures make
temperatures. sure that electronic
components can withstand
environmental factors.
CDR 3.5 Ground Support Equipment
Radio Module
Wireless communication is an integral part of CanSat missions; thus, after careful consideration, we
have settled on using the XBee XR 868 radio modules as the medium of communication between the
CanSat and the ground support.

Why was XBee XR 868 chosen?

The XBee XR 868 device is designed for long range wireless communications and has been an
exceptionally reliable radio module with positive online reviews. Moreover, the XR 868 version has
been hand picked by our team because it operates within the legal 868 MHz frequency band, meaning
its deployment is very suitable for European deployments e.g. the UK because the 868 MHz ISM
frequency band can be used without a license.

On top of the reasons above, the XBee XR 868 was chosen for its extensive features and capabilities:

1. Range

The XBee XR 868 has an impressive range of 14km with antennas. This means that data transmission
can be reliable even at high altitudes which is key for CanSat missions. Moreover, as a receiver
module, XBee XR 868 has a receiver sensitivity of up to -109 dBm. This is impressive for its size as it
can detect even the faintest of signals and maintain communication reliably even outdoors, which is
especially significant for CanSat missions.

2. Efficient Power Consumption

Since CanSat missions are powered by an onboard battery pack, there is a need to reduce the power
consumption of its components. The XBee XR 868 utilises energy-saving/sleep modes when not in
use, maximising operational time during the mission and ensuring that other components have enough
power. Moreover, the XBee can be configured to operate on 315 mW, this means that we can be
flexible in our CanSat built as we are not limited by the power of the XBee and make way for more
sophisticated devices.

3. Data Reliability

The XBee XR 868 makes use of a data rate of 80 kbps, which is more than sufficient for transmitting
sensor data such as pressure, temperature. Moreover, the XBee also has built-in error checking
systems, reducing the effect of data corruption, and increasing the reliability of data transmission.

The XBee XR 868 can be configured to operate as a point-to-point communication system which is
more reliable and simpler than mesh networks.

Each XBee XR 868 module has a unique 64-bit MAC address. This means that the sender device can
uniquely identify our receiver device which ensures data transmission can be kept secure and conflict-
free even if other teams use the same frequency band.

4. Easy Configuration
All XBee devices can be configured through their dedicated software called XCTU. This means that
specialist knowledge of the inner workings of radios will not be needed for the deployment of CanSat.
XCTU provides an easy-to-understand user interface for configuring the XBee. Settings such as baud
rate, power, destination address, etc can be adjusted with a few clicks of the mouse without advanced
prior programming knowledge. This not only simplifies the system, but focus can be placed on the
main logic and functionality of CanSat rocket.

5. Easy Integration

The XBee is designed with a dedicated adapter board which has clear markings on how to connect to
the XBee. This simplifies the design for integrating the XBee as the adapter already has in-built
pinout configurations for UART communication. This means that custom wiring is not needed which
reduces the chance for error and focus can be placed on optimising the wiring for other components
instead.

The XBee XR 868 makes use of UART (Universal Asynchronous Receiver-Transmitter) for
communications which is supported by most microcontrollers such as raspberry pi or raspberry pico
which will be used in our CanSat.

6. Compact and Robust Design

The XBee XR 868 measuring at just 24.38 mm x 32.94 mm, the XBee device hardly take up space
within the CanSat, making it an ideal candidate to be integrated into this space-constrained CanSat
mission.

Moreover, since the XBee is designed with industrial applications in mind, the XBee can withstand
the full force of Mother Nature, unshaken by any vibrations or temperature fluctuations.

7. Encryption

Security can be ensured when using the XBee, since XBees support AES-128 encryption for its data
transmission. This means that the data transmitted is protected against eavesdropping and interception
of data.

8. Sustainability

The XBee XR 868 can update its firmware to the latest version which unlocks the full potential of
XBee software, enabling additional functionality and optimising performance.

Central Processing Unit


The Raspberry Pi 3 has been chosen as the processor for ground support as it is flexible and can
handle data formatting.
The XBees can work without the use of a Raspberry Pi, as long as the receiver is plugged into a
computer, it can receive data transmitted. So, it begs the question:
Why Raspberry Pi 3?

1. Processor

The Raspberry Pi 3 makes use of a quad-core ARM Cortex-A53 processor with a clock speed of 1.2
GHz. These specs are more than sufficient for data acquisition, formatting and real-time
communication between the XBee devices.

Moreover, having four cores meant that the Raspberry Pi can process multiple instructions
simultaneously, allowing for multi-tasking which will speed up the process of receiving and
displaying data.

2. Storage

The Raspberry Pi 3 is fitted with 1 GB LPDDR2 RAM. Whilst usually this would be insufficient for a
modern computer, for the sole purpose of running lightweight code for managing receiving data
buffers whilst real-time data transmission, this is very sufficient.

Moreover, the Raspberry Pi 3 makes use of a microSD card for its main storage. We have chosen to
use a 32 GB microSD card which is more than sufficient storage to store all the code and the
operating system for the Raspberry Pi. This also means that data can be logged during the mission and
can be extracted if necessary.

3. Connections

The Raspberry Pi has multiple UART pins which serves as the main connection with the XBee
module. The Raspberry Pi also contains 40 GPIO pins, meaning that it can be connected to sensors if
necessary.

Moreover, the Raspberry Pi 3 has built-in 802.11n Wi-Fi and 4.1 Bluetooth. This allows for it to be
connected wirelessly to ground stations or laptops.

4. Software

The Raspberry Pi uses a Debian Linux based Raspbian OS which is an extremely stable and flexible
OS for coding and the tweaking of settings. It is also very user-friendly, meaning that it can be used
without much advanced prior knowledge. This reduces the time required for repeated testing and
debugging, so focus can be placed on the design of the CanSat.

The Raspberry Pi also supports the coding language: Python which is generally used for embedded
systems like this one. This means that hardware can be easily manipulated as Python is compatible
with libraries such as digi.xbee.devices and serial which help directly manipulate pins on the
Raspberry Pi and on the XBee.

Antenna

The 868 MHz LoRa Omni-Directional 3 dBi Gain SMA Antenna has been chosen to be used, and it
has a low gain of 3 dBi which ensures a wider radiation pattern, which improves signal reliability in
uneven landscapes where line-of-sight communication may be disrupted particularly in rugged terrain
and outdoor environments. Moreover, it operates in the 868 MHz ISM band, which provides efficient
long-range communication with reduced interference. Furthermore, the omni-directional design
delivers consistent 360° coverage, meaning that the need for precise alignment is not necessary. Its
SMA connector allows connection with XBee XR 868 modules via a UFL to SMA adapter. Finally, it
being a hand-held antenna can be focused on a certain direction effectively if necessary

Code for Radio Modules


To send data using XBee without active input when disconnected from a computer, code must be
written to make sure data is continuously sent:

The following is the code used to control the Sender XBee device:
Dedicated explanation of the code has been scattered across the code in the form of comments.

Several libraries have been imported:

- Serial is used for the identification of different pins on the processor board and the XBee
adapter board

- Time is used for the delay between sending each message to avoid stack overflow from a
stampede of messages sent every picosecond.

- Three XBee objects have been created to represent the sender device, receiver device and a
separate object for the address of receiver device.
A method: send_data() is declared. This method takes in data from sensors as a parameter and sends it
through to the receiving device. It also prints the data sent for confirmation of successful data
transmission.

For the main program, code has been written to test the ability for the XBee to send the data through a
processor manually. Separate code has also been written to send data continuously every 1 second,
when sensor data is updated. Ctrl+c can be pressed to exit this infinite loop.

The following is code used to control the Receiver XBee device:

Again, libraries are imported to create XBee objects.


A method is created that searches if data is sent. The data sent will be passed into the method through
a parameter. The data is then decoded from machine code to 8-bit ASCII characters. Whilst the while
loop is running, the code will be actively searching for data being sent. Again, Ctrl+c will allow for
the user to get out of this mode. The received data will then be printed on the screen.

Testing of Radio Modules


Initial testing involved:

First Iteration

Successful use of the Raspberry Pi 3 to send data using the code, then the data is received by the
receiver XBee as it is connected to the computer, using the XCTU software.

The message to be sent could simply be entered into the terminal of the Raspberry Pi or it could be
sent automatically with delay between each signal sent (see above)
The data is transmitted to the receiver XBee and the message is sent as an individual frame (see
above)

To view the message, the specific frame could be selected, and the message could be seen at the
bottom of the Frame details window.

Whilst this is a viable option for receiving data, we will be using a Raspberry Pi to format the data and
display it in a more user-friendly way i.e. not needing to press into each individual frame. (See section
2) However, for testing purposes, we view the data through the XCTU software as we are testing if
the sending code works.

Second Iteration

Successful use of XCTU software’s “Add frames” function to send frames through the sender XBee
as it is connected to the laptop, then the data is received by the receiver XBee as it is connected to the
Raspberry Pi and the data is printed in the terminal of the Raspberry Pi as instructed by the code.

Messages are sent within the XCTU software by creating a frame and “Send selected frame.” (See
above) However, this would not be necessary in the actual CanSat mission as code on the Pico will
send data automatically. For testing purposes, we use this method to test if the receiving code of the
XBee is working as expected.
As seen above, the received messages will be displayed directly on the terminal of the Raspberry Pi,
without the need for selecting each individual frame on the XCTU software. This makes recording
data more convenient and minimises human error.

For the actual CanSat mission, a mixture of the above would be used. The data will be sent by the
Pico automatically in the CanSat, and the data will be received by the Raspberry Pi on the ground.
Since currently, only a single Raspberry Pi is available for testing, the testing of the code and
integration must be conducted in two separate ways. Nevertheless, the code works as expected and the
data is transmitted successfully. This shows that this ground support system will work as expected in
the actual CanSat mission.

Initial range testing suggests that the XBees can communicate smoothly with antennas attached up to
100m, with slight reduction in reliability with the absence of antennas.

For the CanSat mission, the Raspberry Pi will be facilitating in ground support for managing the
format of received data.

Other Ground Support Equipment

Equipment Requirements Justifications

Power Supply A portable and reliable power CanSat missions often take
supply (battery or power bank) place in field conditions, where
to make sure that the ground access to mains power is
station equipment can be kept limited. Having a reliable
running for the duration of the power source makes it so that
mission. data collection and
communication can be
uninterrupted.

Cables and Connectors High-quality USB to mini-b The quality of cables and
cables and connectors are connectors can significantly
required for reliable signal impact signal strength and data
transmission between the XBee reliability, especially in
module and the ground station outdoor environments where
laptop. physical interference is
common.

Telemetry Software Software tools like XCTU or XCTU is used for configuring
Python with Thonny, to and troubleshooting XBee
interface with the XBee modules, while the Thonny
modules, decode signals, and IDE allows for customisable
display telemetry data. coding for data processing and
mission-specific functions

Environmental Protection Weatherproof cases and Ground control systems are


protective gear for all used in outdoor conditions, so
equipment to prevent damage protective enclosures make
from dust, rain, or extreme sure that electronic
temperatures. components can withstand
environmental factors.
3.6 Testing
The CanSat will be tested through various methods. We will conduct computational simulation and
real-life experiments on the CanSat.

Autodesk CFD provides an excellent tool for basic fluid dynamic simulation. By using CFD, we can
have a rough estimation of the air resistance of the CanSat at different speeds. This can help us
calculate the drag coefficient of the CanSat therefore help the development process. However, the
CFD may not be completely accurate as fluid simulation is complicated. We are unable to properly
simulate the parachute as it requires dynamic meshing to account for its flexibility and changing
geometry due to various factors, we can only estimate the drag base on a fixed mesh of the parachute.

We will conduct real-life testing by releasing the CanSat from a high place. We will find a safe
building with a suitable height and release it to land in a safe place. During the test, we will use the
onboard barometer to record the height throughout the descent. We will also use a ground camera to
record the descent to analyse the descent. By using references from video and onboard barometer, we
can calculate the velocity of the CanSat throughout the test, therefore verifying the computational
simulation result and making sure the CanSat is safe for launch.

The mission instruments will be tested by exposing the instrument to different atmospheric conditions
and using reference data from local weather stations to check if the devices are functioning correctly.

3.7 Overall testing for launch


Overall testing for the launch will be conducted to make sure the CanSat can function correctly during
the mission. To simulate the G force experienced during launch (ignition and acceleration), we will
drop the CanSat without the full-size parachute from a calculate height. This will result in a high
acceleration when the CanSat make contact with the ground and act in a similar way to the
acceleration experienced when launching the rocket. We will attach a newton meter to the parachute
mount and exert 50N of force on it to make sure it can withstand the force exerted from the parachute.

To test the electronic devices, we will place the CanSat 1 km away from the ground station on an
open ground to simulate the distance during the mission. We will test the reliability of the radio
communication for antenna pointing in different orientations.
3.8 Evidence for CanSat Build

November 21st, 2024


Outer Shell Prototype

4 OUTREACH PROGRAMME
Possible Outreach Techniques:

1. Social Media
● Instagram, Twitter, TikTok
● sharing regular updates, behind the scenes footage
● infographics
● can leverage hashtags such as #CanSat and #STEM to reach broader audience

2. Video Content
● YouTube, Reels
● highlight key moments
○ assembly, testing, launch day
○ explainer videos/time lapse footage to provide deeper insight

3. Website/Blog
● central hub
● showcase project’s goals, milestones, technical insights, media gallery
● blog entries + team profiles
● personalise project

4. Print/Digital Publications
● articles in school newsletters, local newspapers, STEM journals, brochures + posters for
events
We will most likely be using Instagram during Jan-March to document the most intense part of
CanSat making. We will publish weekly posts/reels to show the audience our progress and keep them
engaged.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy