Skip to content

CanSat-YDSP/OBC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CatSat: On-Board Computer (OBC) Documentation

latest-release last-commit repo-top-language repo-languages repo-size

This on-board computer (OBC) is designed as part of a larger CanSat project. It is the main flight software running on the CanSat itself. It is responsible for running the flight logic, managing sensors and actuators, and communicating with the ground station.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

The things you need before using the CanSat:

Hardware

  • 1x CanSat

Software

  • (Optional) Serial Monitor (e.g., PuTTY, RealTerm) for viewing debug information.
  • Microchip Studio (Formerly Atmel Studio) for compiling the project.

Installation

To install Microchip Studio and set it up for this project, follow these steps:

  1. Download Arduino IDE from the Arduino Website
  2. Go to Tools > Board > Boards Manager and install Arduino AVR boards
  3. Check the installation path of Arduino IDE
    • Right-click on the Arduino IDE icon > Open File Location
    • Example: C:\Users\johndoe\AppData\Local\Programs\Arduino IDE
  4. Locate the avrdude.exe path:
    • Example:
      C:\Users\johndoe\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17\bin\avrdude.exe
  5. Install Microchip Studio from the Microchip website
  6. Open Microchip Studio
  7. Go to Tools > External Tools
  8. Click on Add
  9. Fill in the following fields:
    • Title: COMx.
      • Example: COM4.
    • Command: avrdude.exe path.
      • Example:
      C:\Users\johndoe\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17\bin\avrdude.exe
      
    • Arguments: -C path to avrdude.conf file -v -patmega328p -carduino -PCOM x -b115200 -D -Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i.
      • Example:
      -C"C:\Users\johndoe\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17\etc\avrdude.conf" -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:"$(ProjectDir)Debug\$(TargetName).hex":i
      

Usage

Turn on the CanSat to start. Debugging information will be sent to the serial monitor if connected.

Additional Documentation

Below are links to additional documentation related to the CanSat project:

For more details on software, click here.

For an overview of the entire project and hardware, click here.

Contributing

License

This project is not protected under any license. You are free to use, modify, and distribute the software as you see fit.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages