This is microcontroller software of our pulse oximeter device being developed for Advanced Programming Course in 2017 fall semester. The microcontroller used is a STM32F407VG. The software is developed using STM32 HAL library and STM32 Cube.
- Two phase shifted PWMs are generated as below:
- ADC is triggered by a 200Hz timer in DMA mode and generates samples continuously of each two channels.
- Samples are sent over UART to PC for further analysis.