-
1Download the Platform.io code
-
2Open and compile the project in Platform.io, then upload to the blue pill using your ST-Link v2 adaptor
All required configuration to complete the upload and configure the TFT is included in platformio.ini
Additional build flags are included to enable the USB serial port on the STM32.
-
3Connect the ILI9341 TFT display to the blue pill board
Connections are below:
ILI9341 Pin STM32 Pin CS B7 Reset B8 D/C B9 MOSI A7 SCK A5 LED 3V3 MISO A6 -
4Download and run ohm-arduino-gui.exe and select the serial port for your STM32 board
Download ohm-arduino-gui.exe and OpenHardwareMonitorLib.dll: https://github.com/octal-ip/open-hardware-monitor-arduino/tree/master/binaries
Note: OpenHardwareMonitorLib.dll must be located in the same directory as ohm-arduino-gui.exe.
Run ohm-arduino-gui.exe, then double-click it's icon in the system tray. Select the serial port your STM32 is using from the drop-down menu at the top of the window. Optionally change the update interval and baud rate to suit your preferences.
-
5Make a shortcut to ohm-arduino-gui.exe in your startup folder
If you'd like the app to run at startup, create a shortcut to the ohm-arduino-gui.exe file here:
C:\Users\<username>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.