MIT License

项目介绍

yunus-kunduz/STM32F4-CAN-Bus-Mastery 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 MIT License 许可证,目前获得 2 个 Star、1 次 Fork。

仓库全名
yunus-kunduz/STM32F4-CAN-Bus-Mastery
开源许可证
MIT License
Star 数
2
Fork 数
1

README 摘要

🛰️ STM32F4 CAN Bus Mastery Course Projects This repository contains all the practical projects developed during the "STM32F4 Discovery Kartı ile CAN Bus Kursu" by Instructor Muhammed Fatih KÖSEOĞLU. The projects demonstrate a complete mastery of the CAN Bus (Controller Area Network) protocol, ranging from theoretical foundations to complex multi-node sensor telemetry. 🚀 Key Learning Outcomes & Features Protocol…

完整内容见 GitHub 原始 README 或本页 。

常见问题

STM32F4-CAN-Bus-Mastery 用什么语言开发?

主要使用 C 编写,采用 MIT License 许可证,目前有 2 个 Star。

STM32F4-CAN-Bus-Mastery 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 STM32F4-CAN-Bus-Mastery 的源码?

可以直接克隆仓库:git clone https://github.com/yunus-kunduz/STM32F4-CAN-Bus-Mastery.git;安装与运行步骤见仓库 README。

STM32F4-CAN-Bus-Mastery 最近还在维护吗?

仓库最近一次更新为 4月4日,当前没有未关闭的 Issue;Star 数为 2,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

A professional engineering archive featuring 23+ CAN Bus implementations (Standard & Extended IDs) on STM32F4. Includes advanced hardware filtering (Mask/List) and a custom TJA1050-based transceiver PCB design. Optimized for automotive and industrial telemetry standards.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
6
价值分
1
活跃状态
活跃

语言占比

Assembly
C
Linker Script

贡献者

README

🛰️ STM32F4 CAN Bus Mastery Course Projects

This repository contains all the practical projects developed during the “STM32F4 Discovery Kartı ile CAN Bus Kursu” by Instructor Muhammed Fatih KÖSEOĞLU. The projects demonstrate a complete mastery of the CAN Bus (Controller Area Network) protocol, ranging from theoretical foundations to complex multi-node sensor telemetry.


🚀 Key Learning Outcomes & Features

  • Protocol Depth: Implementation of both Standard (11-bit) and Extended (29-bit) CAN IDs.
  • Hardware Filtering: Advanced message filtering using Mask and List modes to optimize bus traffic.
  • Peripheral Integration: Interfacing ADC, I2C (2x16 LCD), and HC-SR04 ultrasonic sensors over the CAN network.
  • Toolchain: Extensive use of STM32CubeMX for peripheral configuration and hardware initialization.

📁 Project Breakdown

1. Basic Communication & ID Basics

Initial tests for sending and receiving frames using Standard ID format.

2. Message Filtering (ID Mask & List)

Detailed implementation of hardware filters to accept specific message IDs while ignoring others, ensuring efficient CPU usage.

3. Extended ID (ExtID) Messaging

Developing communication logic for Extended ID frames, essential for SAE J1939 and advanced automotive standards.

4. CAN-Bus Telemetry Systems

  • ADC to I2C LCD: Reading analog data and transmitting it via CAN to another node for display on a 2x16 LCD.
  • Distance Sensing: Real-time distance measurement using HC-SR04, transmitted over CAN using Extended IDs.

📐 Hardware & PCB Design (Proteus)

In addition to the firmware development, this repository includes a complete hardware design for CAN Bus communication nodes.

  • Design Tool: Proteus Professional

  • File Name: STM32F4_CAN_Bus_Module_Schematic

  • Features: - Dual-node CAN transceiver circuit implementation.

    • Proper signal routing for differential CAN_H and CAN_L lines.
    • Integrated bypass capacitors and termination resistor footprints for bus stability.

    CAN_Bus_Proteus_PCB_Layout Figure 1: Professional PCB layout design for dual CAN Bus nodes in Proteus, designed with TJA1050 transceivers as hardware reference.


🛠️ Hardware Requirements

  • Microcontroller: STM32F407VGT6 (Discovery Board).
  • Transceiver: MCP2551 or TJA1050 CAN Transceiver modules.
  • Sensors: HC-SR04 Ultrasonic Sensor, Potentiometers.
  • Display: 2x16 I2C LCD.

👨‍💻 About the Author

Electrical-Electronics Engineering Student

  • Focused on Embedded Systems, Control Systems, and Defense Technologies.
  • YouTube Channel: CozumLab
  • Actively developing projects for competitive engineering environments like TEKNOFEST.

评论

暂无评论