Complete programs for both the sides are given at the end of this project with a demonstration Video. This tutorial has two programs one for master STM32 and other for slave Arduino. It can be programmed using USB port without using FTDI programmer, to learn more about programming STM32 with Arduino IDE follow the link. The same library is used in programming STM32F103C8. The programming is similar to the Arduino code. These values are sent via I2C communication bus. To demonstrate I2C communication in STM32, we control the master STM32 LED by using slave Arduino push button value and control slave Arduino LED by using master STM32F103C8 push button value. Both boards are attached with an LED & a push button separately. In this STM32 I2C tutorial we will configure the STM32F103C8 as Master and Arduino as Slave.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |