Coder Social home page Coder Social logo

ellie-ground's Introduction

ellie-ground

2022 Eillie Hot-fire Electronics Control

Summary

DAQboard.ino file commands the ESP32 that reads data from sensors and commands from the COM Board, and sends data in a package to the COM Board.

COMBoard.ino file commands the ESP32 that receives data in a package from the DAQ Board, sends commands to the DAQ Board, and sends data to MATLAB for plotting and data-saving purposes through the serial port.

liveplot.m is a MATLAB file that can receive data from the COM Board, create live plots, and save the data.

  1. Change the test file name according to the trial number in the liveplot.m file.
  2. Click "Run" to start the code, and close the plotting window to stop the code. Test data will be automatically stored in a spreadsheet under a folder called "Test_Data_yyyy-mm-dd."

ESP32 MAC Addresses

  • DAQ Breadboard:{0x24, 0x62, 0xAB, 0xD2, 0x85, 0xDC}
  • COM Breadboard:{0xC4, 0xDD, 0x57, 0x9E, 0x91, 0x6C};
  • DAQ Protoboard:

ESP32 Pinouts (Updated 4/6)

-DAQ Breadboard:

Software requirement

Ctrl click (Windows) or Cmd click the following links to open them in new tabs

  1. Arduino (https://www.arduino.cc/en/software)
  2. MATLAB (https://software.berkeley.edu/matlab®)
  3. (optional) An external code editing software such as Atom (https://atom.io) or Visual Studio (https://visualstudio.microsoft.com/downloads/).
    • Arduino IDE and MATLAB are sufficient for all the coding
  4. (recommended) GitHub Desktop (https://desktop.github.com). You can pull, push, and edit files with ease. Step 3 required if you would like to download GitHub Desktop as the software requires an external editor.

How to update

Using Github Desktop

  1. Make sure you have access to this project
    • Check with you administrators
  2. Go to the Github app, sign in, and click on the top left corner. You should see a pop-up window with an "Add" button. Select that button and choose "Clone repository."
  3. Search in "Filter you repositories" using the keyword "ellie-ground." Select the correct repository and click "Clone."
    • If you want this cloned repository to be in a different folder, change the "Local Path."
  4. After you have edited and saved the file in the local repository, GitHub Desktop will detect changes and prompt you to commit. Make sure to double check your changes before committing.
  5. On the bottom left corner, put down a short summary that describes what you have changed, then click "Commit to main."
  6. In the middle of the screen (or on the top banner) you will see "Push commits to the origin remote." If you are sure that the commit is ready, click "Push origin."
  7. Check the project online and see if the changes have been reflected.

Using Git

Please refer to https://rocketry.gitbook.io/public/tutorials/avionics/git-and-workflow for more information.

Helpful resources

ESP32-DevkitC (for PCB application - antenna sticks out of board)

Getting started

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-devkitc.html

Pinout reference

esp32 devkitC pinout

ESP32-WROOM (for breadboard/protoboard application - antenna does NOT stick out of board)

Pinout reference esp32 wroom pinout

ESP32-HUZZAH (for breadboard/protoboard application)

Pinout reference esp32 devkitC pinout

Pressure transducer color code

Red - E+

Black - E-

Green - A-

White - A+

Other possible combinations: Blue E+; Red E-; Green A-; Black A+

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.