Code Monkey home page Code Monkey logo

dalmast's Introduction

Dalhousie Microtransat Autonomous SailBoat Team (DalMAST)

We are a team of Dalhousie students designing and building a sustainable, autonomous sailboat that will sail itself from Nova Scotia to Ireland as part of international competition. Aside from our project, we try to promote the Ocean Engineering and Technology Industry by hosting events and competitions for students.

From 2015 to the fall of 2018, the sailboat team was managed by Dalhousie faculty, including the previous Dean of Engineering, Dr. Leon. The most recent iteration of the vessel, the Sea Leon, was launched in the summer of 2018, with great success. It travelled for more than 3700km over 76 days before it ceased to transmit its location. In 2018, the responsibilities of the sailboat were transferred over to Dalhousie engineering students.

Websites:

Our website: dalmast.squarespace.com, The competition: microtransat.org

Current Software Team

As of Feb 2022:

Ethan Johnston - Team Lead
Yiming Zhang - Team Member
Ope Adelasoye - Team Member
Grant Sutherland - Team Member
Mathew Cockburn - Actually on electrical team but really likes to code so we are borrowing them.

Credits

Alex Whidden - Conversion to FreeRTOS - REPORT
Blake Meech - REPORT
Anthony Chalmers
Serge Toutsenko
Julia Sarty
Thomas Gwynne-Timothy - REPORT
Jean Francois Bousquet

Let Ethan know if there is anyone else.

Technical Details and Background

Wiring, devices, mechanical background

Using a RTOS (FreeRTOS)

How this works and how to add tasks and how the kernal works.

Uploading Code

  1. Plug in development board
  2. Open Microchip Studio (Start Page should recognize SAM D20)
  3. Open project (New_RTOS_Sailboat.atsln)
  4. Open Putty (Speed: 57600 | Connection type: Serial)
  5. Open Device Manager to make sure Virtual COM Port is equivalent to 'Serial line'
  6. 'Open'
  7. Move Back to Microchip Studio
  8. Build -> Build Solution
  9. Run

Uploading Waypoints:

Creating KML waypoints file from Google Earth: 1. 2. 3.

Uploading to EEPROM using Processing KML Uploader script

  1. Download Processing
  2. Place .kml in the same directory as the processing script.
  3. Run script with

Function Map Diagram (From Yimming)

Navigation Algorithm

Radio Message Decoding Table

Using Test Functions

GUI setup instructions

In order to run the GUI that communicates with the radio module, Processing must be downloaded, which you can do here.

After installing, import the G4P library under Sketch > Import Library > Add Library > G4P

To run, open the file of type Proccessing Source Code

Legend

Useful Links and Resources

OLD Sailboat Overview
Thomas Report (Good for Radio Codes)
dalmast.squarespace.com

dalmast's People

Contributors

ahmedabdin08 avatar ethanajohnston avatar hargunsohi avatar jaswanthk20 avatar matthew-501 avatar msohi29 avatar nh39 avatar opeadelasoye avatar zackary-lykos avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

dalmast's Issues

Verify GPS Task

Verify the GPS Task can Run with the entire systems running

Spec STM boards

Research STM MCU that supports our software/electrical requirements.

Add broad recommendations to this spreadsheet

We need the following:

  • Power Consumption ( 2.2 w/hr day )
  • 1 I2C Port
  • 7 UART
  • 2 PWM
  • 10 Bit-ADC

Telemetry and log data

logs all of the data every 1 minute on the boat and sends it via stream 211 every transmission (every 6hrs?).

500 bytes per log (estimate). log every 1 minute. for 200 days. 144,000,000 Bytes = 0.144 GB for the entire trip

Could we transmit all this data every 6hrs? What is our data cap? After 6hrs, it is only 0.18MB. Ask Metcoean.

data:
number of tips (using imu)
number of restarts
battery voltage
solar panel generation
device power usage (voltage and currents)
temp and humidity
heading from compass
GPS position
rudder angle
flap angle
sail angle
wind direction
next waypoint

What else?

Update June 13, 2023:
Needs to be expandable with new data as we think of them. Remove acceleration from telemetry. Just roll, pitch, yaw from IMU.

GPS testing

Branch to perform gps testing with and perform any changes if needed after debugging.

Beacon Testing

The SBD message interface needs to be tested. This will require coordination with MetOcean

Verify IMU Task

Verify the IMU Task can run with the entire systems running

Linear Actuator Intagration

Implement the sail actuator API in software.

The API should allow for the following:

  • On/Off functions
  • Set positions
  • Get position

add new i2c devices

Devices:

  • IMU (BNO - 055)
  • Power monitoring chips (2-3) (INA 3221)
  • Temp, Humidity, Pressure sensor (BME-280)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.