Visual Studio 2015 + Windows 10 SDK
CooCox CoIDE
STM Studio Download program and .elf file from Release section. Install it. If you install STMAlcoFon on Windows 10 device you must turn on developer mode then install. Before you run, connect peripherals to STM board.
Connect Bluetooth module to STM:
RXD -> PC10 pin
TXD -> PC11 pin
VCC -> 5V pin
GND -> GND pin
Now you can connect MQ-3 sensor:
AOUT (analog output) -> PA3
VCC -> 5V pin
GND -> GND pin
Upload StmAlcoFon.elf to your STM board and thats all. Everything shoul work.
Reconnect to device after comunication problem (in both platforms).
Stop conitnous reading on exit (in UWP platform).
Sign WinAlcoFon to avoid turning on developer mode.
Generate chart in android app: https://github.com/PhilJay/MPAndroidChart
Comunication between android and HC-05: https://developer.android.com/guide/topics/connectivity/bluetooth.html MIT - more information on LICENSE file. Autors: Leszek Stencel
Tomasz Braczyński
The project was conducted during the Microprocessor Lab course held by the Institute of Control and Information Engineering, Poznan University of Technology.
Supervisor: Michał Fularz