![The Embedded Things](/img/default-banner.jpg)
- 26
- 44 378
The Embedded Things
Tunisia
Registrace 5. 03. 2023
Welcome to my CZcams channel where we explore the fascinating world of embedded systems development using microcontrollers and Proteus simulation software.Here, you'll find a range of tutorials and demonstrations that cover everything from basic hardware and software development to more advanced topics like circuit design, simulation, testing, and troubleshooting. Whether you're new to embedded systems development or an experienced practitioner, there's something here for everyone.
So if you're looking to expand your knowledge of embedded systems development using microcontrollers and Proteus simulation software, be sure to subscribe to my channel and join me on this exciting journey
So if you're looking to expand your knowledge of embedded systems development using microcontrollers and Proteus simulation software, be sure to subscribe to my channel and join me on this exciting journey
Mastering K-Type Thermocouple Amplification with STM32 & AD8495
In this project, we will delve into the intricacies of utilizing an STM32 microcontroller alongside the AD8495 K-type thermocouple amplifier. Thermocouples are renowned for their sensitivity, necessitating a robust amplifier with cold-compensation reference. While digital thermocouple amplifiers are readily available, the introduction of an exceptional analog-output amplifier adds versatility to temperature sensing applications.
_______________________________________________________
For more details, see: theembeddedthings.com/stmp32/stm32-k-type-thermocouple-amplification-using-ad8495/
_______________________________________________________
For more details, see: theembeddedthings.com/stmp32/stm32-k-type-thermocouple-amplification-using-ad8495/
zhlédnutí: 49
Video
Optimizing Temperature Monitoring with STM32 & MAX31856 Thermocouple Amplifier
zhlédnutí 371Před 14 hodinami
In this project, we dive into the integration of the STM32 microcontroller with the MAX31856 thermocouple-to-digital converter, aiming to revolutionize temperature monitoring in embedded systems. For more details visit this site : theembeddedthings.com/stmp32/stm32-integration-with-max31856-thermocouple-converter/
How to use Thermocouple K-Type with STM32 and MAX31855 SPI | proteus simulation
zhlédnutí 644Před dnem
The project involves harnessing the power of STM32 microcontrollers in tandem with the MAX31855 thermocouple interface chip to achieve precise temperature detection capabilities. With the ever-increasing demand for accurate temperature monitoring in various industries, the integration of these components provides a robust solution for engineers and developers looking to improve the performance ...
How to Integrate MAX31865 RTD PT100 with STM32 using SPI
zhlédnutí 245Před 14 dny
This project involves achieving precise temperature sensing capabilities through efficient SPI communication between STM32 microcontrollers and the MAX31865 RTD-to-digital converter. Delve into the intricacies of configuring and optimizing SPI communication between STM32 and MAX31865 to facilitate seamless data exchange. For more details, visit: theembeddedthings.com/stmp32/stm32-amp-max31865-s...
Mastering UART Communication: Interface Serial LCD with STM32
zhlédnutí 159Před 21 dnem
Serial LCDs, also known as serially-interfaced LCDs, offer a streamlined solution for displaying information in electronic projects. With their simplified interface and versatile compatibility, they have become a staple in hobbyist and professional circuits alike. Let's delve into the world of Serial LCDs and explore their capabilities, configurations, and applications. For more details, visit:...
STM32 ADC & MPX4250AP Pressure Sensor with UART and LCD Interface
zhlédnutí 505Před 21 dnem
This project marks a significant advancement in system optimization through the integration of the STM32 ADC with the MPX4250AP Pressure Gauge. In the dynamic realm of embedded systems, precision and reliability stand as pillars of innovation. Leveraging the advanced microcontroller technology of the STM32 ADC alongside the cutting-edge pressure sensing capabilities of the MPX4250AP sensor, thi...
Interfacing KS0108 Graphical LCD with STM32 Microcontroller | Proteus Simulation
zhlédnutí 454Před měsícem
This project aims to leverage the STM32 microcontroller's GPIO capabilities to interface with a Graphical LCD based on the KS0108 controller. By utilizing GPIO pins for data transmission and control, we seek to create a robust and versatile display solution for various STM32-based applications For more details, visit: theembeddedthings.com/stmp32/stm32-amp-ks0108-lcd-integration-proteus-simulat...
interface SSD1306 OLED with STM32 using SPI
zhlédnutí 590Před měsícem
In this project, the focus is on interfacing the SSD1306 OLED display with an STM32 microcontroller using the SPI communication protocol. Specifically, the project will cover initializing the SSD1306 OLED display, setting up the SPI interface on the STM32, and demonstrating basic display functions such as writing text and drawing shapes. For more details, visit: theembeddedthings.com/stmp32/int...
Mastering Power Monitoring: STM32 ADC & ACS712 Hall Effect-Based Current Sensor
zhlédnutí 1,4KPřed 10 měsíci
#stm32 #proteus #simulation #proteus8 #stm32cubeide #adc #uart #Current #sensor This project explores the precision power monitoring capabilities facilitated by the STM32 ADC in conjunction with the ACS712 Hall Effect-Based Current Sensor For more details visit : theembeddedthings.com/stmp32/stm32-adc-amp-acs712-hall-effect-based-current-sensor/
Advanced Analog-to-Digital Conversion Techniques : STM32 ADC Scan Mode
zhlédnutí 985Před 11 měsíci
This project delves into the STM32 ADC Scan Mode, a crucial tool for automating analog channel acquisition in embedded systems. For more details visit : theembeddedthings.com/stmp32/advanced-analog-to-digital-conversion-stm32-adc-scan-mode/
Advanced Analog-to-Digital Conversion Techniques : STM32 ADC Watchdog "Protecting Your Analog Input"
zhlédnutí 1,1KPřed 11 měsíci
This project focuses on exploring the STM32 ADCWatchdog, which operates akin to a vigilant window comparator integrated into the ADC operation. For more details visit : theembeddedthings.com/stmp32/advanced-analog-to-digital-conversion-stm32-adc-watchdog/
Advanced Analog-to-Digital Conversion Techniques : STM32 ADC TIMER Trigger
zhlédnutí 1,5KPřed 11 měsíci
This project focuses on exploring how to combine ADC and TIMER Trigger functionalities in STM32 microcontrollers, with a specific focus on Timer Trigger Out Events. For more details visit : theembeddedthings.com/stmp32/advanced-analog-to-digital-conversion-stm32-timer-trigger/
Advanced Analog-to-Digital Conversion Techniques : STM32 ADC External Trigger
zhlédnutí 923Před 11 měsíci
This project aims to investigate how external triggers enhance STM32 ADC functionality. By exploring how ADC conversions can be synchronized with external events, we seek to understand their impact on analog data acquisition. For more details visit : theembeddedthings.com/stmp32/advanced-analog-to-digital-conversion-stm32-external-trigger/
Advanced Motor Control with STM32: Timer, ADC, and USART Integration (L289n and L293D)
zhlédnutí 1,4KPřed rokem
This project focuses on the seamless integration of STM32 microcontrollers with DC motors, utilizing advanced techniques such as timers, PWM, ADC, and popular motor driver ICs including L289n and L293D For more details visit : theembeddedthings.com/stmp32/advanced-motor-control-with-stm32/
Building a Traffic Intersection Controller Using STM32
zhlédnutí 2,5KPřed rokem
In this project, we will explore how build a road intersection management system using STM32 microcontroller For more details visit theembeddedthings.com/stmp32/traffic-intersection-controller-using-stm32/
How to Use SPI Communication with STM32 and MCP3008 ADC
zhlédnutí 2,4KPřed rokem
How to Use SPI Communication with STM32 and MCP3008 ADC
How to Interface The ILI9341 TFT display with STM32 using SPI Communication
zhlédnutí 10KPřed rokem
How to Interface The ILI9341 TFT display with STM32 using SPI Communication
How to Interface an STM32 with an ST7735 Display using SPI Communication
zhlédnutí 4,7KPřed rokem
How to Interface an STM32 with an ST7735 Display using SPI Communication
How to interface MATRIX DISPLAY && 7 Segment Display with STM32 using SPI Proteus Simulation
zhlédnutí 1,4KPřed rokem
How to interface MATRIX DISPLAY && 7 Segment Display with STM32 using SPI Proteus Simulation
How to interface TC72 Temperature Sensor with STM32 using SPI Proteus Simulation
zhlédnutí 2,7KPřed rokem
How to interface TC72 Temperature Sensor with STM32 using SPI Proteus Simulation
SPI Transmit data in STM32 Polling || Interrupt || DMA MODE Proteus Simulation
zhlédnutí 3,3KPřed rokem
SPI Transmit data in STM32 Polling || Interrupt || DMA MODE Proteus Simulation
Interface LCD 16 01 | 16 02 | 16 04 | 20 02 | 32 02 | 40 04 with STM32 Proteus Simulation
zhlédnutí 822Před rokem
Interface LCD 16 01 | 16 02 | 16 04 | 20 02 | 32 02 | 40 04 with STM32 Proteus Simulation
Mastering STM32 ADC: Polling vs. Interrupt vs. DMA & PWM Timer Simulation in Proteus
zhlédnutí 1,4KPřed rokem
Mastering STM32 ADC: Polling vs. Interrupt vs. DMA & PWM Timer Simulation in Proteus
STM32 Timer Mastery: Unleash One-Pulse, PWM, and Input Capture Modes in Proteus
zhlédnutí 1,7KPřed rokem
STM32 Timer Mastery: Unleash One-Pulse, PWM, and Input Capture Modes in Proteus
Mastering STM32 Timer: Periodic Interrupts, Counters, and Output Compare Mode | Proteus Simulation
zhlédnutí 1KPřed rokem
Mastering STM32 Timer: Periodic Interrupts, Counters, and Output Compare Mode | Proteus Simulation
Unlocking UART Transmission in STM32: Polling, Interrupts, and DMA Mode | Proteus Simulation
zhlédnutí 1,8KPřed rokem
Unlocking UART Transmission in STM32: Polling, Interrupts, and DMA Mode | Proteus Simulation
came for the "Mastering K-Type Thermocouple Amplification with STM32 & AD8495".. stayed for the song
Thanks for watching! I'm glad you enjoyed the song as well as the technical content. Music and engineering can make a great combination! Stay tuned for more videos
Awesome. Can you do a video using I2C in interrupt or dma mode using mpu6050?
Thanks for the suggestion! I’m glad you enjoyed the video. I’ll definitely consider making a video on using I2C in interrupt or DMA mode with the MPU6050. Stay tuned!
I have try your code on proteus and cubemx and keil. but the screen can not be lighted up. can i have the complete project(include code and the proteus project)
Hello sir, urgent, I did until where you show you built after ticking the Hex option, but mine not working. In your console tab, it shows Finished building: stdout, list and hex. But mine only stdout came out
Could you please double-check to ensure you followed the exact steps shown at the 7:33 mark in the video? Here are a few things to verify: Project Configuration: Make sure all settings in your project configuration match those shown in the video. Ticking the Hex Option: Ensure that you have indeed ticked the option to generate the Hex file. This step is crucial for the build process to produce the necessary output files. Build Settings: Confirm that all build settings are correctly applied, as any deviation might cause the build process to behave differently. If you've followed these steps and it's still not working, try cleaning the project and rebuilding it from scratch. Sometimes, residual files can cause issues. Let me know how it goes, and feel free to provide more details or screenshots if the problem persists at this email theembeddedthings@gmail.com Good luck! "
@@theembeddedthings thanks, sent email
@@yonghee2629 your welcome
Need ur ontact
You can contact me via email at theembeddedthings@gmail.com . Looking forward to hearing from you!
ty
your welcome
Hi please can you send me source file
Hi you can find the source code in this link theembeddedthings.com/stmp32/interfacing-multiple-displays-through-max7219-using-stm32/
What is decompt() for, when we are setting and resetting different pins?
The Decompt() function is essential for managing the countdown display on a 7-segment display, showing the remaining time from 5 to 0 seconds for the current traffic light phase. While the main loop handles setting and resetting various pins to control the traffic lights (red, yellow, green), Decompt() provides a visual countdown, informing drivers of the time left before the lights change. This feature significantly enhances the system’s usability and effectiveness by offering a clear visual indicator. For more details, please refer to the article at this link: theembeddedthings.com/stmp32/traffic-intersection-controller-using-stm32/
Thanks
@@benson447 You're very welcome! 😊 If you have any more questions or need further clarification on anything, feel free to ask. Thanks for watching!
good project
Thank you
My code is exceeding flash memory, what could I be doing wrong? region `FLASH' overflowed by 11752 bytes
To optimize your source code, try commenting out some functions and then compile again to see if the byte overflow in the flash memory decreases. This can help you identify which parts of your code are consuming the most memory
@@theembeddedthings Thanks, I had to comment on testing
Happy to hear that your test worked! Another tip is to look for large data structures or variables that might be taking up a lot of space. Try to use smaller data types or reduce the size of arrays where possible. Additionally, you could optimize your algorithms to be more memory-efficient or use compiler optimization flags to reduce code size
I faced problem with the stm32f103 how can i change it with other version like stm32f4!
ould you please inform me exactly what problem you are facing with the STM32F1 Perhaps we can solve it directly.!! And if you need to change to the STM32F4, you can follow the steps outlined in the video, but simply choose the STM32F4 instead of the STM32F1. Feel free to reach out if you need further assistance!
@@theembeddedthings dear sir , thanks for answering me 🤍 Yes, I followed the steps with F4, but when loading the hex file into Proteus, the code doesn't work. The issue with F1 is in writing the step-by-step code; it tells me this version is old and needs to be updated. I don't have an account with them because I used my university account the first time.
Dear @@annasrrr7036 , Thanks for sharing your experience. It sounds like you might be running into compatibility issues with your version of Proteus. Have you tried using Proteus 8.15? That version seems to work seamlessly for many users. If you don't have access to it, just let me know in the comments below or shoot me an email, and I'll make a note of it. Hang in there! 💻🔧
Hi I am working on STM32 and AD7699 both are connected using SPI communication. I have to read the data from the channel 2 of AD7699 and process it. Can you help me with this?
Hey! While this video covers STM32 and MCP3008 ADC, your STM32 and AD7699 project sounds intriguing! It might be easier to discuss via email. Send your project file and what you need help with, I'll see what I can do!
@@theembeddedthings Hi I have sent a mail to you regarding this with the subject named AD7699 with raspberry pi and stm32 - Reg. Please check them. Thanks
Can you send me the source code and protus file?
Thanks for your interest! You can access the source code and Proteus files via the following link: drive.google.com/drive/folders/1tsCBjKcxZwdxCnezrxYeCnJoMrdzOwjY?usp=sharing
@@theembeddedthings thank you for sharing the source code file
@@Seklamin You're welcome! I'm glad you found it useful. If you have any questions or need further assistance, feel free to ask. Happy coding!
Sir make adc with print (like arduino)
Do you mean print function using (UART or USART) communication ?
@@theembeddedthings yes...course
Hi, I did everthing like you did and I also watched your tiktok video on this. I also checked the site however it just dosen't work and I'm pretty sure I did everthing exactly like you said. Why is it not working tho TT
@daniel.j279 Thanks for reaching out. Please make sure that you are using Proteus version 8.15. If you're still facing problems, please don't hesitate to contact me via email at theembeddedthings@gmail.com. We'll work together to resolve the issue.
Would really help if you fucking talked. This is pathetic and teaches you nothing.
Hey, if you dont mind, id have a question concerning this topic. Currently i am working on a project using stm32 and an ADS131 ADC (TexasInst). After developing and designing a pcb for this project i have to code the communication between ADC and MCU. I have basic C knowledge and very very basic (barely no xd) knowledge in programming MCUs. if you generate code from cubeMX, many files (main.c, stmxy.c, main.h, etc.) are created. It is pretty hard for me to see through this. I have some specific expectations for the communication (e.g. 10Hz, i want a timestamp (if possible?)). So, maybe you have any suggestions or help for me to get the software done.
Hey there! It's awesome to hear about your STM32 and ADS131 ADC project. Here's a simplified guide to help you out: Communication Method: Start with SPI between STM32 and ADC for simplicity and efficiency like it shows in this video: STM32 SPI Communication Tutorial czcams.com/video/w-k87HnH81g/video.htmlsi=LOULLYsO8_X3vG2J Timestamp: Use a timer interrupt to add a timestamp to your data packets. Set it to interrupt at 10Hz for your desired frequency. Resources: Look into similar tutorials on my channel "STM32 TIMER Periodic Interrupt" czcams.com/video/fJbJ-sqb0FU/video.htmlsi=zMlTp035chKNEdyf to understand initialization routines and interrupt handling. Help: If you get stuck, feel free to reach out to me via email at [ theembeddedthings@gmail.com] for assistance. Keep up the good work, and don't forget to enjoy the process of coding! Happy coding!
nice work
thanks
nice work keep up :D
thank you
I didnt worked the stm32 controller on proteus ? sir can you give the project file ?
Ensure you're using Proteus version 8.15 for compatibility. Follow the instructions for the code and circuit in this link below www.hackster.io/theembeddedthings/advanced-analog-to-digital-conversion-stm32-timer-trigger-30843b If you encounter issues, email me at theembeddedthings@gmail.com for assistance.
nice sharing.
Thank you :)
Bro i need your help , where can I contact you .
@bekakraahmedramzi6351 You can contact me via email at [ theembeddedthings@gmail.com ]. Feel free to reach out whenever you need assistance
pls share your source files nd simulations so that we can follow along
@terlumunjoseph6779 Thank you for your interest in my project! I haven't created a dedicated article for it yet, but I'd be happy to share the files with you. Please reach out to me via email at "theembeddedthings@gmail.com ", and I'll be sure to send them your way.
احسنت استاذ❤
شكراً
Huge thanks for this!! Helped me get the display running from my nucleo-f446re for a school project!
You're welcome! I'm thrilled to hear that the information was helpful for your school project. If you have any further questions or need additional assistance, feel free to reach out. Good luck with your project!
Nice work keep up
Thnx
hello sir, adc voltage is 3v3 but the output of ACS712 is 0-5V, is there a problem if we dont add the resistor??
In simulation tools like Proteus, the software often adjusts voltage ranges automatically, so you might not need extra components like resistors to handle the voltage difference between the 3.3V ADC and the 0-5V output of the ACS712. But in a physical circuit, when the sensor's output (0-5V) surpasses the ADC's input range (0-3.3V), employing a voltage divider with resistors becomes crucial. To scale down the 0-5V range to 0-3.3V. You can use two resistors in series -->R1: Connected between the sensor output and ground. R2: Connected between the sensor output and the ADC input. =>The formula to calculate the output voltage Vout = Vin *(R2/(R1+R2) )
which version of proteus that you are using ???
proteus 8.15
don't you face any problem with Proteus simulation, few months back I tried and found that most of things are not working. One of the few things which I remember is the UART was not working when I used PLL, and also UART DMA was not working, while on actual hardware everything works fine.
Proteus 8.15 UART communication work fine
Very Nice ❤
Thank you
Hello, what is the image converter program do you use to place images. I use ImageConvert 565 but it gives an error in the colors. If it is paid, tell me how much it costs and how to acquire it, thank you. your work very good.
did you find correct converter program? I have the same problem. thank you
@jmtransmissores9175 Sorry for the late response. Here is the correct link for the lcd converter: lcd-image-converter. If you have any more questions or need further assistance, feel free to ask
sourceforge.net/projects/lcd-image-converter/
@@theembeddedthings works perfectly thanks
I used lcd image converter but when i draw it on the display the colors are broken and not the same with the original image Any toturial with this software?
Nice video but not very comprehensive, could have programmed the ADC using a real IC chip.
you can find the explanation of the vidéo in the link below www.hackster.io/theembeddedthings/getting-started-with-mcp3008-adc-and-spi-on-stm32-cd4a00
can i add your github link in my video for same type of video
I will do it soon for now you can find the source code in the link below www.hackster.io/theembeddedthings/interfacing-stm32-with-st7735-display-using-spi-8f8e24
i want to read analog waveform of 1khz after 50us of rising edge on adc pin how to do? please tell
First you need to config timer "PWM OUTPUT MODE" generates and make sure to config the "prescaler and counter period" to get 1khz. Then you need to config "ADC TIMER Trigger" and make sure to config the timer to get 50us Finally, connect the ADC pin to the timer PWM pin
Hello sir, Not working with latest 8.13 proteus. No error in code but then also my program is not working
I suggest that you try the most recent version 8.15.
please updatae mored videos like this and thanks
a talk walk through would have made it even better
Thanks for your feedback! You're absolutely right. I understand how a talk walk-through could have added more value to the video To address this, I've actually prepared a detailed article explaining the entire creation process step by step. Feel free to check it out in the video's description
@@theembeddedthings that will be great..... this is my first video on learning embedded systems -STM32 and displays.. your videos are great
Good job ! Thanks to your tutorials I got my adc working properly
wlcm
HELLO SIR I WORK ON MY FINAL PROJECT i try to read the vaue of an ACS 712 sensor but the ADC did not work for me code on STM32 cube ide good please if can share with you and try to help me ?
Same problem with me . I want to uninstall cubeide and install old version but before then I want to generate code with cubemx and build project with atollic studio instead of cube cos no matter what I do ....adc for channels doesn't work
please email me. theembeddedthings@gmail.com
@@ndidikenneth5135 please email me theembeddedthings@gmail.com
@@theembeddedthings ok thanks sir
Pls sir for about 2days now I have been struggling to make adc work . I'm simulating with proteus I only get 2 extreme values 0 or 4095 if I put a 3.3v on the PAO pin . I don't know what am doing wrong it any voltage level between 0 and 3.3V adc will output 0v when I printf out
try another pin
@theembeddedthings thanks for the reply I will try another pin but now I've tried both the temperature channel and vref channel both are working as I get 27 and 1497 or so for the temperature n vref channels respectively. But still 0 at the channel 0 pin .Also my adcconvcpltcallback doesn't seem to be called in dma mode.
@@ndidikenneth5135 Could you share your project with me via email and I'll try to fix the problem thank you.
Your email is not listed in channel sir! I can't find it
@theembeddedthings this is a link to the my project and proteus file drive.google.com/file/d/1-4p24oqICQrRJskbIsFLHiVx5y0o8rll/view?usp=drivesdk
so great project i wonder if you can help me to do a simulation under Proteus of thermisatnce with STM32 and display the result on UART terminal ?
I'll work on the plan in the future. Keep an eye on updates.
excellent
thank you
Not working when i run the program in proteus. No errors in code. Why 🥺
If you encounter any errors during the simulation in Proteus, kindly share them with us or send an email. We will provide you with the necessary assistance and the Proteus lab file for your convenience. To ensure smooth operation, it is essential to have the latest version of Proteus installed. Please make sure to download and install either Proteus 8.13 or 8.15, the most recent versions available. For detailed instructions and guidance on completing this project, you can refer to the article provided. It contains comprehensive steps and explanations to help you successfully complete the project www.hackster.io/theembeddedthings/traffic-intersection-controller-using-stm32-0351f4
it didnt work :)
you must check the version of your proteus, it must be proteus 8.15
If you blink a diode, then the proteus does not need power for the STM32 at all. The firmware is without errors, but some terrible power problems. Even pure stm 32 crashes as soon as I load the firmware. First requires VDA, and then falls.
you need to configure the power rail www.tiktok.com/@embeddedthings/video/7225474475138026757?is_from_webapp=1&sender_device=pc&web_id=7187357097029043718
Can you share your project code and proteus file?
Hi, The source code will be available soon on GitHub for now you can send me an email and a I will send you the source code and proteus file theembeddedthings@gmail.com
no clear
I'm going to write an article about the project soon. Please follow to 'www.hackster.io/theembeddedthings' to stay updated. thank you :)
Good work bro Good luck 😊😊
thank you
good work bro, well presented and easy to follow.. thank you
thank you