A liquid medicine dispenser that dispenses precise doses of medication based on user prescriptions and needs.
This repository contains the source code and documentation for a Medicine Dispenser based on the STM32 microcontroller. The project aims to provide a convenient and automated solution for dispensing medicines at scheduled times.
- Automated Dispensing: The system is designed to automatically dispense medicines at specified intervals.
- User Interface: A user-friendly interface allows users to set dispensing schedules and monitor the status of the dispenser.
- STM32 Microcontroller: The project utilizes the power and flexibility of the STM32 microcontroller for precise control and reliability.
- STM32 Microcontroller (e.g., STM32F4 Discovery)
- Motor Driver
- Pump
- Button Interface
- STM32CubeIDE
- STM32CubeMX
- CMSIS and HAL Libraries
Download and install STM32CubeIDE.
Open STM32CubeIDE and import the project:
File > Import > General > Existing Projects into Workspace.
Select the cloned repository as the root directory.
Download and install STM32CubeMX.
git clone https://github.com/yourusername/medicine-dispenser-stm32.git
cd medicine-dispenser-stm32Download the necessary CMSIS and HAL libraries from the STMicroelectronics website. Extract the libraries and place them in the appropriate directories within the project.
Build the project in STM32CubeIDE. Flash the compiled code onto the STM32 microcontroller.

