Welcome to the Alset Innovations GitHub repository for the Smart Energy Devices project conducted as part of the PROJE4 course in 2024. In this project, we aim to revolutionize the landscape of smart energy devices by developing a sensored brushless-DC (BLDC) motor controller for electric bicycles. Our unique approach involves utilizing the STM32F103C8T6 microcontroller, setting us apart as pioneers in this endeavor.
The core objective of our project is to design a motor controller capable of efficiently driving a 24V, 78W BLDC motor in a closed-loop configuration using hall sensor feedback. We've made a strategic decision to leverage the STM32 microcontroller, embracing innovation and differentiation in our solution.
- Utilize discrete transistors for controlling the three motor phases.
- Design a custom printed circuit board (PCB) showcasing our hardware development expertise.
- Measure and display motor current through the user interface.
- Implement a user-friendly control input (throttle) for speed control.
- Process hall sensor signals in the STM32 microcontroller.
- Deliver a comprehensive technical report documenting our design choices, simulations, schematics, and testing results.
-
Research and Exploration:
- Dive into BLDC motor control, STM32 microcontroller capabilities, and electronic circuit theory.
- Evaluate the feasibility and advantages of the chosen microcontroller.
-
Hardware and PCB Design:
- Develop a detailed schematic and layout for the custom PCB.
- Address challenges related to component integration, including the STM32 microcontroller.
-
Software Development:
- Craft robust code for the STM32 microcontroller, ensuring seamless motor control and user interface interaction.
- Conduct thorough testing on real prototype hardware to validate software reliability.
-
Documentation and Reporting:
- Maintain a detailed record of the design process, simulations, and results.
- Adhere to the specified template for the final technical report, showcasing precision and clarity.
We welcome contributions and collaboration from the GitHub community. If you're interested in contributing or have feedback, please follow our Contribution Guidelines.
This project is licensed under the MIT License, ensuring an open and collaborative development environment.
Feel free to explore our codebase, documentation, and share your thoughts. Together, let's push the boundaries of smart energy devices!
Happy coding! 🚀