- Видео 39
- Просмотров 37 476
Embedded Programmer
Добавлен 10 апр 2021
🏁 Welcome to Your Tech Channel ! 💯
🚩 This channel is about embedded systems, hardware design, and software programming tutorials.
🚩Don’t forget to subscribe and ring the bell :)
Topics are ⤵
✔ Electronics
✔ Embedded C Programming
✔ STM32
✔ Arduino
✔ Schematics
✔ Raspberry Pi Projects
✔ PCB
✔ Machine Learning
✔ Image Processing
✔ JavaScript
Social Media:
Website: embeddedprogrammer.com/
Instagram: embedded._.programmer
Telegram Channel: t.me/ep_projects
Telegram Group: t.me/joinchat/XQ06OhSFtFVhM2Y0
Github: github.com/embedded-programmer
GET IN TOUCH
Contact me at:
embedded.programmer.info@gmail.com
🚩 This channel is about embedded systems, hardware design, and software programming tutorials.
🚩Don’t forget to subscribe and ring the bell :)
Topics are ⤵
✔ Electronics
✔ Embedded C Programming
✔ STM32
✔ Arduino
✔ Schematics
✔ Raspberry Pi Projects
✔ PCB
✔ Machine Learning
✔ Image Processing
✔ JavaScript
Social Media:
Website: embeddedprogrammer.com/
Instagram: embedded._.programmer
Telegram Channel: t.me/ep_projects
Telegram Group: t.me/joinchat/XQ06OhSFtFVhM2Y0
Github: github.com/embedded-programmer
GET IN TOUCH
Contact me at:
embedded.programmer.info@gmail.com
DC Motor RPM Gauge in TouchGFX with STM32F746G
In this video, we are going to implement a DC motor RPM monitoring system using TouchGFX gauge and an RPM module with STM32F746G.
Hardware configuration has been done in CubeIDE .ioc file and as an input, EXternal Interrupt of the PG7 has been used for counting the pulse.
handleTickEvent() function is used for updating the RPM counter every second.
----------------------------------------------------------------------------------------------------------------
FREE QR CODE GENERATOR & POLYNOMIAL REGRESSION PLOTTER:
embeddedprogrammer.com/
----------------------------------------------------------------------------------------------------------------
FOLLOW US ON INSTAGRAM:
embedded....
Hardware configuration has been done in CubeIDE .ioc file and as an input, EXternal Interrupt of the PG7 has been used for counting the pulse.
handleTickEvent() function is used for updating the RPM counter every second.
----------------------------------------------------------------------------------------------------------------
FREE QR CODE GENERATOR & POLYNOMIAL REGRESSION PLOTTER:
embeddedprogrammer.com/
----------------------------------------------------------------------------------------------------------------
FOLLOW US ON INSTAGRAM:
embedded....
Просмотров: 199
Видео
Getting started with UART on STM32F103 | UART RX Interrupt STM32
Просмотров 57811 месяцев назад
In this tutorial, we are going to configure UART on STM32F103. Uart RX interrupt has been set in order to receive data in series continuously. A serial application also has been provided for data monitoring over COM port for receiving and sending data. DOWNLOAD THE SERIAL APPLICATION: github.com/embedded-programmer/UART_Serial_Communication FREE QR CODE GENERATOR & POLYNOMIAL REGRESSION PLOTTER...
How to Install ESP-IDF via VS Code | ESP32-C3 GPIO Config
Просмотров 83611 месяцев назад
In this tutorial, we are going to install ESP-IDF using VS code (Visual Studio Code). A basic RGB blink project is going to be implemented in the ESP-C3-12F development board. embeddedprogrammer.com/ embedded._.programmer github.com/embedded-programmer #espidf #esp32c3 #esp32c312f
Getting Started with TouchGFX over STM32F746 | Toggle Button with TouchGFX
Просмотров 82511 месяцев назад
In this tutorial, we are going to start our first project in TouchGFX over STM32F746 Discovery Board. At first, we are going to create a background to simulate, run & upload on board. Then we are going to set a transition between pages using the interaction section of TouchGFX and customize button visual properties. Then, we are going to connect an LED to the board by using the STM32F746 Schema...
How to Make a DIY Bluetooth Speaker with WIN-668
Просмотров 177Год назад
In this tutorial, we are going to make a DIY Bluetooth Speaker at home using a Bluetooth module (Win-668). Follow us on GitHub: github.com/embedded-programmer Follow us on Instagram: i embedded._.programmer Join our Telegram Channel: t.me/ep_projects #diybluetoothspeaker #bluetoothspeaker #bluetoothmodule
How to Make Graphical Digital Lock with Raspberry Pi & Python
Просмотров 195Год назад
In this tutorial, we are going to make a digital lock with a graphical user interface library in Python (Tkinter). Input data is 10-bit adc ( 0~1023) which comes from potentiometers and is transmitted to Raspberry Pi by Raspberry Pi Pico. Raspberry Pi 3 receives the data from UART, decodes them, and compares them with the password. If the given password matches, it turns on the relay. DOWNLOAD ...
How to solder SMD Components with Hot Plate
Просмотров 77Год назад
In this tutorial, I am going to solder SMD components to PCBs using solder paste and hot plate. #hotplatesoldering#solderinathome#solderpaste
How to Install OpenCV Python on Raspberry Pi | Video Streaming with OV5647 on OpenCV
Просмотров 1,3 тыс.Год назад
In this tutorial we are going to install OpenCV-Python on Raspberry Pi. After successful installation, a video streaming project is going to be implemented with OV5647 Camera module with RGB & Grayscale format. Commands for installing OpenCV-Python : STEP 1 : Check for Python 3 using terminal: python3 version STEP 2 : Enter the command below into terminal: sudo apt-get install build-essential c...
How to use TP4056 module to charge Li-Ion battery | TP4056 Analyzing
Просмотров 4,2 тыс.Год назад
In this tutorial, we are going to charge a 1500mah 18650-type Li-Ion battery using a TP4056 module. An experimental test has been taken and the results are shown in the chart at the end of the video. Follow us on: embedded._.programmer github.com/embedded-programmer #TP4056 #batterycharger #chargermodule
How to Measure Rpi Pico Temperature without External Sensor
Просмотров 81Год назад
How to Measure Rpi Pico Temperature without External Sensor
How to Interface Push Button to STM32F103
Просмотров 1,1 тыс.3 года назад
How to Interface Push Button to STM32F103
How to Monitor Temperature on Web with ESP8266 ( NodeMCU ) | IoT Projects
Просмотров 1,2 тыс.3 года назад
How to Monitor Temperature on Web with ESP8266 ( NodeMCU ) | IoT Projects
How to Build Fire Alarm Circuit using Photodiode | DIY Projects
Просмотров 3903 года назад
How to Build Fire Alarm Circuit using Photodiode | DIY Projects
How to Set Up Raspberry Pi OS & 7 Inch Touch Screen | Raspberry Pi Projects
Просмотров 1,3 тыс.3 года назад
How to Set Up Raspberry Pi OS & 7 Inch Touch Screen | Raspberry Pi Projects
How to Make DIY Variable Power Supply | DIY Projects
Просмотров 1393 года назад
How to Make DIY Variable Power Supply | DIY Projects
How to Use RGB LED Strip | Embedded Programmer
Просмотров 1123 года назад
How to Use RGB LED Strip | Embedded Programmer
How to Read Images and Replace Solid Colors with OpenCV | Embedded Programmer
Просмотров 2 тыс.3 года назад
How to Read Images and Replace Solid Colors with OpenCV | Embedded Programmer
How to Use TM1637 with STM32F103 | Embedded Programmer
Просмотров 3,1 тыс.3 года назад
How to Use TM1637 with STM32F103 | Embedded Programmer
Color Picker Application with RGB Hex Output | Embedded Programmer
Просмотров 5823 года назад
Color Picker Application with RGB Hex Output | Embedded Programmer
ADC Configuration in STM32F103 | Embedded Programmer
Просмотров 3,1 тыс.3 года назад
ADC Configuration in STM32F103 | Embedded Programmer
Polynomial Regression in MATLAB | Embedded Programmer
Просмотров 5183 года назад
Polynomial Regression in MATLAB | Embedded Programmer
Tiny Traffic Light in Arduino | Embedded Programmer
Просмотров 1443 года назад
Tiny Traffic Light in Arduino | Embedded Programmer
Full Adder in Verilog | Embedded Programmer
Просмотров 2123 года назад
Full Adder in Verilog | Embedded Programmer
7-Segment Display with STM32F103 | Embedded Programmer
Просмотров 2 тыс.3 года назад
7-Segment Display with STM32F103 | Embedded Programmer
Timer with Alarm in Python using Tkinter Library | Embedded Programmer
Просмотров 2143 года назад
Timer with Alarm in Python using Tkinter Library | Embedded Programmer
Stepper Motor Driving with STM32F103 | Embedded Programmer
Просмотров 4113 года назад
Stepper Motor Driving with STM32F103 | Embedded Programmer
PWM Configuration in STM32F103 to Control DC Motor | Embedded Programmer
Просмотров 8 тыс.3 года назад
PWM Configuration in STM32F103 to Control DC Motor | Embedded Programmer
How to use LM2596 Voltage Regulator Module | Embedded Programmer
Просмотров 2723 года назад
How to use LM2596 Voltage Regulator Module | Embedded Programmer
Can it use for 2.4v battery ?
Unfortunately, No.
@ ok, which module can be used for 2.4v battery
@@mohammadahmed2855 Please check BQ2000 & BQ2002
An awesome tutorial!!!
Nice!
If we dont know if we wil obtain 1.23 or 12. 3, how to establish dot (or ":") sign ?
You can check the tm1637DisplayDecimal() function, where displaySeparator mathches the counter (i). Change the variable (i) based on your desired dot position.
@@Embedded_Programmer It is not what Im asking. For example I proceed with calculation or I my sensor read the temperture, which could be 1.23 or 12.76. How your software knows when write 1.23 and when write 12.76. As you see dot is the two cases in different position. Software should analyse the two numbers to establish the dot position.
@@incxxxx There is no such analysis algorithm here. You would implement the related algorithms by yourself
@@Embedded_Programmer Why I dont see string text writer command, fx like that WriteText("ABCD") or so.
@@incxxxx You can add it by yourself, try: const char segmentMap[] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7d, 0x07, // 0-7 0x7f, 0x6f, // 8-9 0x77, 0x7c, 0x39, 0x5e, 0x79, 0x71, // A-F 0x6d, 0x76, 0x38, 0x37, 0x3e, 0x73, // G-K (examples) 0x38, 0x15, 0x54, 0x5c, 0x5b, 0x50, 0x78, 0x3e, // L-R (examples) 0x6d, 0x31, 0x6e, 0x74, 0x5c, 0x1c, 0x76, 0x6d, // S-Z (examples) 0x00 // Empty segment }; void tm1637DisplayString(const char *str) { unsigned char digitArr[4] = {0}; for (int i = 0; i < 4; ++i) { if (str[i] == '\0') break; // Stop if string ends if (str[i] >= '0' && str[i] <= '9') { digitArr[i] = segmentMap[str[i] - '0']; } else if (str[i] >= 'A' && str[i] <= 'Z') { digitArr[i] = segmentMap[str[i] - 'A' + 10]; // Map A-Z } else { digitArr[i] = 0x00; // Blank for unsupported chars } } _tm1637Start(); _tm1637WriteByte(0x40); // Write command _tm1637ReadResult(); _tm1637Stop(); _tm1637Start(); _tm1637WriteByte(0xc0); // Set starting address _tm1637ReadResult(); for (int i = 0; i < 4; ++i) { _tm1637WriteByte(digitArr[i]); _tm1637ReadResult(); } _tm1637Stop(); } and call the function tm1637DisplayString("ABCD");
Nice!
can this apply in every images
Yes, you can apply this to any image by replacing the pixels with solid colors of your choice.
I am planning to use stm32f103rbt6, can i use the same code and how should i vary the sampling rate since i want to control the sampling rate
Yes, just adjust it from the CubeIDE. For sampling rate, adjust the frequency of adc and use DMA for faster sampling rate.
So I order to change the charging amperage we need to change the resistor??
Yeah, exactly
1:48 the solder pads provided are for external led connection. I spoilt 4 boards thinking it is for voltage input. Please recheck.
B- and B+ are for battery input. OUT- and OUT+ are for load (Driving LED or any other load)
Is it possible to supply the input power using 2 wires instead of USB cable ? I tried connecting DC 5V power to the VCC and GND pins of the USB connector, but it spoilt the board.
Yes, you can. You should Apply VCC to IN+ and GND to IN-
hi my problem is : unable to locate repository libjasper-dev ! i try sudo add-apt-repository but say "command not found"
Try using the following commands: sudo add-apt-repository 'deb security.ubuntu.com/ubuntu xenial-security main' sudo apt update sudo apt install libjasper1 libjasper-dev
@@Embedded_Programmer thanks but can solve the problem only install opencv and this library works without other dependency!
I apply a Python code linked directly to the camera to process the images by converting them to Binary and then specifying the edges in the same way and clarifying them by adding open cv. The code is run, but no camera window appears for me to apply the code.
Which method did you use? cv2.imshow? did you use cv2.waitKey() at the end of your code?
Unable to locate package opencv-python?
Try sudo add-apt-repository python-opencv, then sudo apt-get update
Screen resolution is too high, unable to read
I will make the resolution better in my next videos. Thank you for your feedback.
Decimal Point is not shifting properly. Can you pls look into the issue ? if i want to display 1.234 it shows 12.34.
You need to modify the tm1637DisplayDecimal() function where displaySeparator mathches the counter (i). Change the i == 2 condition to i == 1.
I AM GETTING WEIRED CHARACTERS WITH PINS DEFINE FOR B12 AND A7. ANY IDEA WHAT COULD BE WRONG ?
Have you got the same problem with other pin definition ? (As the same pins (B.3 , B.4) in the video)
@@Embedded_Programmer will try now and update
@@Embedded_Programmer Same issue. what could be wrong ?
@@hacker6695 I put the whole project to my Telegram channel, You can download and test
@@Embedded_Programmer i am getting display perfectly working only after downloading 1st time. then when i recycle system its showing garbage values. is it related to timer ?
'Promo sm'
pin connection please.
Please check: ULN2003 8th Pin GND ULN2003 9th Pin VCC Motor Negative Pin ULN2003 16th Pin Motor Positive Pin VCC STM32F103 A8 (PWM) ULN2003 1st Pin
I am using infineon's xmc4500 mcu with DAVE IDE. I am able to rotate the motor clockwise and in an anticlockwise direction and control speed by adding delay in-between.I am trying to adjust the speed of the motor through PWM,How to proceed with it.@@Embedded_Programmer
I got the blue pill and tried the usb debugger , its not working only the red light is glowing, any suggestions what can be the issue
You can check my first video which is about getting started and includes debugger initialization
can you stop the music on the background , it would be better
Yeah, exactly. I stopped adding background music to my recent videos
Very good
TN or IPS?
it is TFT Type
is the STM32CubeIDE free?
It is free. For the latest status please check www.st.com/en/development-tools/stm32cubeide.html#st-get-software
Bro when generate code is given, In our system code is not generated
Try reinstalling CubeIDE and rebooting your computer
@@Embedded_Programmer 😭😭we tried everything and already we have completed the 4th sem(when I asked this) and now in my 5th sem exams
Did you set your prescaler for 64Mhz and then set the clock to 32Mhz?
No, the external crystal is 8 Mhz, I set PLL to x4, So the bus frequency would be 32 Mhz
hi, can you make a quick sketch of the connection between these components please? I could not see it clearly. Thank you so much!
Yeah sure please check: ULN2003 8th Pin GND ULN2003 9th Pin VCC Motor Negative Pin ULN2003 16th Pin Motor Positive Pin VCC STM32F103 A8 (PWM) ULN2003 1st Pin
Working on a colour swapping project this really helped me out Thanks
Could you make a video about setting the UART and I2C please
Yeah, Sure !
Thank you for your vids, man! They are really helpful and easy to catch
thank you, it really helps
Just a question, why do you use the pinout configuration to set your pins instead of setting bits in the peripheral registers. I know it’s slower but doesn’t it give you more control over your board?
Yeah, you are completely right. As I want to give a graphical view of the pinout functions to those who want to start the tutorials from the beginning, I'm using pinout configuration in my projects.
👌👌👌 Educational and interesting