Stm32 tutorials
765 subscribers
4 photos
3 videos
14 files
58 links
Different sensors interface with STM32 controller. Simulation files, codes and output files provided. Output videos are uploaded for each YouTube video. Some cool tricks are made available which are rarely told. Let's create some magic...
Download Telegram
https://youtu.be/q2642phdvDw

This video interface the advance timers in STM32 to generate the 50KHz pulses. These pulses are generated with the input 50Hz frequency which is equivalent to line frequency. The 50KHz follows the 50Hz. The Duty cycle is set using the registers. This application can be used to do more complicated task which runs on 50Hz AC Line.
Hit Like Share and Subscribe.
Keep sharing.
For project related queries, contact on: +91-9665001206
or mail us on: stmetatronics@gmail.com
Hello,
In this video we demonstrate how to interface Relay with stm32 controller in proteus. Though looks simple you can acomplish a great things with this. Relay interface is commonly used in IoT to control lights, fans, Gyzers and many electronic devices. Hope you find this informative and do not forget to like the video. Share with your friends.
For project queries contact me on: +919665001206
Or mail us on: stmetatronics@gmail.com

We are also providing Angular JS projects along with embedded projects.
👍1
https://youtu.be/ogM48-lDABg
Hi,
We have demonstrated how to interface servo motor with stm32f103 controller. The servo motor angle is aligned as per the potentiometer setting. As we change the potentiometer the servo motor angle is also changed. For this we have used PWM configuration.
For more embedded projects, contact us on
Whatsapp: +919665001206
Email: stmetatronics@gmail.com
connect with us on our telegram channel: https://t.me/STM32controller
Keep learning, keep sharing.

We are also providing Angular JS projects along with embedded projects.
Hi,
In this video we talk how to interface graphical LCD with stm controller. This is part 1 of the interface video. In next video we will see how to create fonts and in the next part we will see how to continuously write without disrupting the flow. The GLCD is used to display images in binary format and is used in many projects. You can use it to display simple animations and make the projects more interesting.
Hope you enjoy the video.
For project queries, mail us on STMetaTronics@gmail.com
or whatsapp us on +919665001206

Join our telegram channel: stmetatronics
link: https://t.me/STM32controller
https://youtu.be/8fsx46oI5lQ
Hi,
In this video we talk how to interface graphical LCD with stm controller. This is part 1 of the interface video. In next video we will see how to create fonts and in the next part we will see how to continuously write without disrupting the flow. The GLCD is used to display images in binary format and is used in many projects. You can use it to display simple animations and make the projects more interesting.
Hope you enjoy the video.
For project queries, mail us on STMetaTronics@gmail.com
or whatsapp us on +919665001206

Join our telegram channel: stmetatronics
link: https://t.me/STM32controller
https://youtu.be/62OMZ9PF1bI
Hi,
In this video we talk how to interface graphical LCD with stm controller. This is part 2 of the interface video in which we have displayed how to continuously write without disrupting the flow and how to display images. In next video we will see how to create fonts. The GLCD is used to display images in binary format and is used in many projects. You can use it to display simple animations and make the projects more interesting.
Hope you enjoy the video.
For project queries, mail us on STMetaTronics@gmail.com
or whatsapp us on +919665001206

Join our telegram channel: stmetatronics
link: https://t.me/STM32controller
Tested on both controller boards: stm32f103c8 and stm32f401cc
Temp_Sensor_Interface.rar
4 MB
Temp_Sensor Interface
https://youtu.be/sdPBp5OQmUE

Hello,
We have modified the code and simulation, removed the errors and tested the code.
We are uploading the main.c & hex files here on drive. Use STM32F103C8 controller and the main.c file, generate the code and use the simulation.
Code link: https://drive.google.com/drive/folders/1svNKabVrowzOiPqEwKuRAe3GlyzJvUKC?usp=sharing
In this video we have interfaced keypad, LCD and stepper motor with stm32 controller. We control the door operations by entering the password using the keypad. The door opens only when correct password is entered. Door opens for some time, let the person enters and then closes back. The door opening and closing are controlled by stepper motor. The simple interface can be used in many projects.
To support our channel please donate on PayPal: https://www.paypal.me/ajimet
Join our telegram channel: https://t.me/STM32controller
If you enjoy the video, Like share and subscribe.
For project queries, Whatsapp on 9665001206
Keep spreading the knowledge.
We are interfacing the AT24C512 EEPROM device with STM32F103 controller. The simulation shows the expected results. In this tutorial, we have demonstrated the write and erase functionality for EEPROM device. We have used GPIOs to replicate the I2C protocol.
Hope you enjoy the video.
For project queries, mail us on STMetaTronics@gmail.com
or whatsapp us on +919665001206

Join our telegram channel: stmetatronics
link: https://t.me/STM32controller

https://youtu.be/sUhxf2IFfpI
In this video, we are interfacing the AT24C512 EEPROM Ic with STM32F103C8 controller. The Erase and write functionalities are explained in the previous video (https://youtu.be/sUhxf2IFfpI). In this video, we are simulating the read operation. So we are reading from one memory location and copying the same data to another memory location. To copy the data from one location we need both read and write operations. Thus demonstrating both Read and Write operations for EEPROM.

We are using the bit banging technique for replicating the I2C protocol. We are using GPIOs as I2C lines. So if you are using any other GPIO apart from GPIO0 and GPIO1, then you ll have to modify the code.
Hope you enjoy the video.
For project queries, mail us on STMetaTronics@gmail.com
or whatsapp us on +919665001206

Join our telegram channel: stmetatronics
link: https://t.me/STM32controller

Notes:
The device id is 0xA0 for this simulation. You can change it according to your device.

Files:
https://drive.google.com/drive/folders/1JWKx9qd47MS2KHQeVyO-fFt61h0aUrjU?usp=sharing
Copy the .c file in src folder
Copy the .h file in inc folder
Use this proteus version. All simulations and projects are tested on this version.
Forwarded from Ajju
Proteus Professional v8.16 SP3 Build 36097 + Patch.zip
649.4 MB
Proteus_8.16 ver
The STM32 will monitor the status of the flash memory (e.g., by checking the device's "busy" flag) and handle any error conditions (e.g., write protection).
Optional feedback can be provided via LEDs or a seven-segment display to indicate the success of operations (write, read, erase).
Proteus Simulation Setup:
STM32 Configuration: The STM32 microcontroller will be programmed to initialize the SPI interface, send commands to the flash memory, and handle interrupts (if needed).
Flash Memory Model: The serial flash memory will be modeled in Proteus, connected to the STM32 via the SPI bus.
Peripherals: You may include an LED or LCD display to show the status of operations or errors.
Code Development: The firmware for the STM32 microcontroller will be written in C using STM32CubeIDE or similar IDEs. The code will use the HAL (Hardware Abstraction Layer) libraries to manage SPI communication and control the flash memory.
Steps for Implementation:
Design the Circuit in Proteus:

Place STM32 microcontroller, serial flash memory, and other components (LEDs, power supply, etc.) on the schematic.
Wire the SPI interface (MOSI, MISO, SCK, CS) between STM32 and the flash memory.
Write the Firmware Code:

Initialize the SPI peripheral.
Implement functions for writing, reading, and erasing flash memory.
Add error handling and feedback (optional LEDs or display).
Simulate the Circuit:

Load the compiled firmware into the STM32 in Proteus.
Simulate the circuit to verify correct operation: data reading and writing to the flash memory.
Testing and Debugging:

Test all possible operations, such as writing data, reading data, and erasing sectors.
Verify if the flash memory stores data persistently and handles operations without errors.
Expected Outcomes:
Successful interfacing between the STM32 microcontroller and the external SPI flash memory.
Ability to write and read data from the serial flash memory.
Proper handling of flash memory operations such as erasing and writing.
Visual indication of operations via LEDs or an LCD display.
Applications:
Embedded systems where large amounts of data need to be stored externally (e.g., data logging, firmware storage).
Systems requiring fast access to non-volatile memory.
Development of memory management routines in embedded applications.