Go to file
Cory Grant 4066fd5e00 Added base ID offset from jumpers
#5
2023-03-05 00:35:39 -05:00
Core Added base ID offset from jumpers 2023-03-05 00:35:39 -05:00
Drivers Migrated Cube FW and removed I2C 2023-02-19 21:40:17 -05:00
Images Forgot to document output messages 2023-02-20 21:59:10 -05:00
Middlewares/Third_Party/FreeRTOS/Source Reorganizing files 2021-04-09 22:23:16 -05:00
.cproject Updated README.md 2023-02-19 23:26:19 -05:00
.gitignore Updated gitignore 2023-01-04 22:48:35 -05:00
.mxproject Migrated Cube FW and removed I2C 2023-02-19 21:40:17 -05:00
.project Reorganizing files 2021-04-09 22:23:16 -05:00
CANBoard Debug.launch Reorganizing files 2021-04-09 22:23:16 -05:00
CANBoard.ioc Migrated Cube FW and removed I2C 2023-02-19 21:40:17 -05:00
LICENSE.MD Create LICENSE.MD 2023-03-04 17:29:17 -05:00
README.md Update README.md 2023-03-04 17:28:13 -05:00
STM32F303K8TX_FLASH.ld Migrated Cube FW and removed I2C 2023-02-19 21:40:17 -05:00

README.md

CANBoard_FW

CANBoard is a simple CAN enabled IO board, specifically designed to be used in devices like steering wheels/button boxes/panels/etc.

  • 8 digital inputs
    • Ground switching
  • 5 analog inputs
    • 5V max
  • 4 digital outputs
    • Low side switch (open collector)
    • 0.5A max each
  • STM32F303K8

Versions

Current software versions used:

  • CubeIDE V1.11.2
  • CubeMX V6.7.0
  • FW_F3 V1.11.3

Goals

  • Create a low cost device that my friends and I can use in our project cars
  • Use components that are easily soldered by hand (hence 0805) and are preferably from my stock of frequently used parts (ex: LD1117S33CTR)
  • Share my work with others for reference, inspiration or collaboration.

If this project does help you in any way, I'd appreciate a message!

Disclaimer

This is a personal hobby project. I am not a professional. Use at your own risk.

CAN

Currently configured as 500 Kbps only

Message Format - Inputs

Messages sent from the CANBoard

The BASE_ID is set using the 1 and 2 solder jumpers, see CANBoard hardware for more info

Message Format

  • Analog Inputs : millivolt readings
  • STM32 Temperature : Temperature in celsius as reported by STM32
  • Rotary : Position of a rotary switch wired to each analog input
    • Needs work on scaling for different numbers of positions
  • Digital Inputs : Bits representing the state of each switch input
  • Analog/Dig Inputs : Bits representing the analog inputs used as digital inputs
    • Value over half scale (2.5V) the input is true (1)
  • Output States : Bits representing the digital output states
  • Heartbeat : Value incremented every transmit (uint8_t)

Message Format - Outputs

Messages sent to the CANBoard

Message Format Outputs

  • Outputs : must be value 1 or 0

Hardware

CANBoard hardware