Learn RapidSTM32 in A Day
This tutorial aims at teaching beginners how to use RapidSTM32 Blockset in ONE DAY (approximately 6 hours). It is recommended that the contents are studied in the presented consecutive order. After completing the tutorial, you will have enough basic knowledge to use the Blockset to implement a variety of basic but useful applications.
This section explains:
- Why bother? Who is FiO Boards and RapidSTM32 for?
- What is a Microcontroller?
- What is and Why STM32?
- The Conventional Way of Using Microcontrollers
- Matlab & Simulink
- What is RapidSTM32?
This section shows what and how to get started.
- Minimum requirements
- Install required software
- How to Install RapidSTM32 Blockset
- Required Hardware
- Testing FiO board connection
This section teaches how to use FiO Std board as a simple data acquisition device that reads analog voltages from STM32 on-chip temperature sensor as well as a on-board potentiometer voltage and send the data via USB for real-time plotting in a Simulink Display and Scope.
Interfacing Real World Hardware
- Displaying ADC data on a character LCD (1 line)
- Displaying data on a character LCD (multiple lines)
- Simulating LEDs in Simulink
- Driving digital output with the Pulse Generator Block
- Simulating push/toggle buttons
- Using digital input pins to read user inputs
- Generating Electrocardiography (ECG) signals with DAC
- Arbitrary Function/Waveform Generator
- Generating PWM signals (basic)
- Programmatically vary PWM duty cycle
- Creating a simple Data Logger system
- Reading data from a GPS Module into Simulink
Talking to PC or other FiO boards
- Sending data to PC hyper terminal program with USART Block (under development)
- Creating a USB (Virtual) COM port