4 - led handler and potentiometer chart drawer controlled on mobile app via bluetooth.
NUCLEO-L476RG board
Conect leds handled by app to pins PA1, PC1, PA0, PA6. Connect bluetooth module HC-06: TXD to PA10, RXD to PA9 (remember to decrese the voltage using transistors - from 5V to 3,3V). Connect potentiometer to PC0. As showed below.
On the Android device open .apk file placed in mobile-app folder. Ignore security warnings.
App made with MIT App Inventor
To compile the project gcc-arm-none-eabi compiler is needed. To install it, run:
sudo apt install gcc-arm-none-eabi
Run make
in the terminal.
Connect NUCLEO board with USB and move the .bin file from build catalogue to the device catalogue (NODE_L476RG).