Giter Site home page Giter Site logo

powersystem's Introduction

PowerSystem

Developing PCB for Power System and ECU code for STM32F413ZH.

PCB Design

TODO:

  1. Remove double throw 12V power relay off PCB (as it is chasis mount)
  2. Add charge and discharge relays to PCB
  3. Figure out which pins on the STM to use for what
  4. Add extra CAN port (need one for Rx from BMS, and one for Tx and Rx to other PCBs) as well as the external CAN Tranceivers
  5. Make sure everything has footprint and 3d model
  6. Pick out exact voltage regulator models
  7. Layout board

STM 32 & ECU Code

TODO:

  1. Figure out which pins on the STM to use for what
  2. Figure out what each power supply input (VDD, VSS, VBAT, VDDUSB, VDDA, VSSA) and other important inputs are for

Pin Names used by MbedOS: https://os.mbed.com/platforms/ST-Nucleo-F413ZH/

Important pins for us:

STM Pin Name MbedOS Pin Name(s) Function
PB0 PB_0/LED1 BMS Error
PB7 PB_7/LED2 CAN Error
PB14 PB_14/LED3 Unused LED
PC13 PC_13/BUTTON1 Unused Button
PD0 PD_0 CAN1 (BMS) Receivier
PD1 PD_1 CAN1 (BMS) Transmitter
PB12 PB_12 CAN2 (Main) Receivier
PB13 PB_13 CAN2 (Main) Transmitter
PG9 PG_9/D0 DC-DC ON
PG14 PG_14/D1 Unused Digital I/O
PF15 PF_15/D2 Unused Digital I/O
PE13 PE_13/D3 Unused Digital I/O
PF14 PF_14/D4 Unused Digital I/O
PE11 PE_11/D5 Unused Digital I/O
PE9 PE_9/D6 Unused Digital I/O
PF13 PF_13/D7 Unused Digital I/O
PF12 PF_12/D8 Unused Digital I/O
PD15 PD_15/D9 Unused Digital I/O
PD14 PD_14/D10 Unused Digital I/O
PA7 PA_7/D11 Unused Digital I/O
PA6 PA_6/D12 Unused Digital I/O
PA5 PA_5/D13 Unused Digital I/O
PB9 PB_9/D14 Unused Digital I/O
PB8 PB_8/D15 Unused Digital I/O
PA3 PA_3/A0 AUX Voltage
PC0 PC_0/A1 DC-DC Voltage
PC3 PC_3/A2 Unused Analog I/O
PC1 PC_1/A3 Unused Analog I/O
PC4 PC_4/A4 Unused Analog I/O
PC5 PC_5/A5 Unused Analog I/O

Note: the LEDs for Power ON, AUX ON, DC-DC ON, and AUX/DC-DC being used can be directly connected to the power supply / relay driving it.

powersystem's People

Contributors

nripeshmanandhar avatar dipeshmanandhar avatar daichimonma avatar

Watchers

James Cloos avatar William Zhang avatar Malcolm Miller avatar

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.