MicroPeta by Nizar Mohideen
MicroPeta by Nizar Mohideen
  • Видео 130
  • Просмотров 1 012 364
130. Send data from PC to STM32 via USB CDC with STM32 F103C8T6
Blink LED via USB Port without UART or USB to TTL
Send data from STM32 to PC via USB video is ruclips.net/video/iYvUzxABmTk/видео.html
Code and diagram are at www.micropeta.com/video130
Просмотров: 232

Видео

129. Install STM32 DFU Bootloader. Program STM32F103C8 via USB Port
Просмотров 78319 часов назад
Can program from CubeIDE using CubeProgrammer also Arduino IDE No more ST-Link or UART USB to TTL Can use USB CDC for serial monitor Device Firmware Update (DFU) * Need ST-Link or USB to TTL only one time for bootloader installation If it dows not upload, use 2k resistor between pin PA12 and 3.3V Install CubeProgrammer video ruclips.net/video/YocudAJBH-g/видео.html Bootloader bin file github.co...
128. STM32CubeIDE Multiple 74HC595 8-Bit Shift Registers with STM32 F103C8T6
Просмотров 364День назад
Get up to 32 GPO Output pins from only 3 GPIO pins Video about only one 74HC595 is here ruclips.net/video/B6clX53NbsE/видео.html Code and Instructions are at www.micropeta.com/video128
127. STM32CubeIDE Seven segment display via 74HC595 8-Bit Shift Registers with STM32 F103C8T6
Просмотров 29214 дней назад
Video about getting additional output pins using any three pins is here ruclips.net/video/B6clX53NbsE/видео.html Code and Instructions are at www.micropeta.com/video127
126. STM32CubeIDE 74HC595 8-Bit Shift Registers with STM32 F103C8T6
Просмотров 48014 дней назад
Get additional output pins using any three pins Code and Instructions are at www.micropeta.com/video126
125. STM32CubeIDE LCD 1602 I2C Display with STM32F030F4P6
Просмотров 369Месяц назад
Library without DWT using timer micro second delay Code and diagram are at www.micropeta.com/video125
124. STM32CubeIDE ADS1115 ADC with STM32 F103C8T6
Просмотров 997Месяц назад
Get precise voltage from 4 Channel 16-Bit ADC Code and Instructions are at www.micropeta.com/video124
123. STM32CubeIDE DAC with Nucleo STM32 F446RE
Просмотров 510Месяц назад
Generate 1 Volt, 2V and 3V DC. Also generate Sawtooth, triangle and sine waves Code and diagram are at www.micropeta.com/video123
122. STM32CubeIDE NEO-6M GPS with STM32F103C8T6
Просмотров 474Месяц назад
Validate, parse and get google coordinates Code and Instructions are at www.micropeta.com/video122
121. NEO-6M GPS and LoRa live location map
Просмотров 234Месяц назад
Track items without microcontrollers or mobile networks RF setting video ruclips.net/video/6vIYaawRQ2g/видео.html U-CENTER 2 installation video ruclips.net/video/lWRDBrNiM7k/видео.html
120. NEO-6M GPS live location map with U-CENTER 2
Просмотров 214Месяц назад
U-CENTER has live map with speed, time, google coordinates and much more software link www.u-blox.com/en/product/u-center
119. STM32CubeIDE Camera. OV7670 with STM32F407VET6
Просмотров 759Месяц назад
Capture and playback to TFT display using STM32 Library github.com/iwatake2222/DigitalCamera_STM32 Code and Instructions are at www.micropeta.com/video119
118. STM32CubeIDE I2S. INMP441 with STM32 F446RE Nucleo
Просмотров 760Месяц назад
Record sound from microphone and playback to speaker using STM32 Details of MAX98357A is here ruclips.net/video/kMVNKttrlmg/видео.html Code and diagram are at www.micropeta.com/video118
117. STM32CubeIDE I2S. MAX98357A with STM32 F446RE Nucleo
Просмотров 1,1 тыс.2 месяца назад
Play sound from memory to speaker using STM32 Code and diagram are at www.micropeta.com/video117
116. STM32CubeIDE L298N Motor. PWM with STM32 F446RE Nucleo
Просмотров 7362 месяца назад
Code and diagram are at www.micropeta.com/video116 L298N Datasheet www.st.com/resource/en/datasheet/l298.pdf STM32F446RE Datasheet www.st.com/resource/en/datasheet/stm32f446re.pdf
115. STM32CubeIDE MCP2551 CAN BUS with STM32 F103C8T6
Просмотров 2,8 тыс.2 месяца назад
115. STM32CubeIDE MCP2551 CAN BUS with STM32 F103C8T6
114. STM32CubeIDE TCS34725 RGB Color Sensor with STM32 F103C8T6
Просмотров 7292 месяца назад
114. STM32CubeIDE TCS34725 RGB Color Sensor with STM32 F103C8T6
113. STM32CubeIDE PCA9685 PWM Servo Driver with STM32 F103C8T6
Просмотров 9962 месяца назад
113. STM32CubeIDE PCA9685 PWM Servo Driver with STM32 F103C8T6
112. STM32CubeIDE Multiple Servo Motors. PWM with STM32 F103C8T6
Просмотров 9713 месяца назад
112. STM32CubeIDE Multiple Servo Motors. PWM with STM32 F103C8T6
111. PCF8574 I/O Expander with STM32 F103C8T6 STM32CubeIDE
Просмотров 5683 месяца назад
111. PCF8574 I/O Expander with STM32 F103C8T6 STM32CubeIDE
110. TCA9548A I2C Multiplexer with STM32 F103C8T6 STM32CubeIDE
Просмотров 7033 месяца назад
110. TCA9548A I2C Multiplexer with STM32 F103C8T6 STM32CubeIDE
109. Ethernet W5500 web server with STM32 F103C8T6 STM32CubeIDE
Просмотров 2,4 тыс.3 месяца назад
109. Ethernet W5500 web server with STM32 F103C8T6 STM32CubeIDE
108. STM32CubeIDE HX711 with a Four Wire Load Cell and STM32 F103C8T6
Просмотров 1,9 тыс.3 месяца назад
108. STM32CubeIDE HX711 with a Four Wire Load Cell and STM32 F103C8T6
107. STM32CubeIDE L298N & NEMA 17 Stepper Motor with STM32F103C8T6
Просмотров 7303 месяца назад
107. STM32CubeIDE L298N & NEMA 17 Stepper Motor with STM32F103C8T6
106. STM32CubeIDE ESP 01 Module to Thingspeak with STM32F103C8T6
Просмотров 8893 месяца назад
106. STM32CubeIDE ESP 01 Module to Thingspeak with STM32F103C8T6
105. STM32CubeIDE ESP 01 Module with STM32F103C8T6
Просмотров 1,4 тыс.3 месяца назад
105. STM32CubeIDE ESP 01 Module with STM32F103C8T6
104. ESP-01 Install firmware - Factory Reset - Bootloader Repair
Просмотров 9753 месяца назад
104. ESP-01 Install firmware - Factory Reset - Bootloader Repair
103. STM32CubeIDE I2C Scanner for STM32
Просмотров 8843 месяца назад
103. STM32CubeIDE I2C Scanner for STM32
102. STM32CubeIDE Servo Motor. PWM with STM32F446RE Nucleo
Просмотров 2,5 тыс.4 месяца назад
102. STM32CubeIDE Servo Motor. PWM with STM32F446RE Nucleo
101. Install keil uvision 5 with CubeMX and blink STM32 LED
Просмотров 1,1 тыс.4 месяца назад
101. Install keil uvision 5 with CubeMX and blink STM32 LED

Комментарии

  • @anmolgupta2603
    @anmolgupta2603 День назад

    sir i didn't get the value ! where the function HAL_GPIO_EXTI_Callback calls ?

    • @NizarMohideen
      @NizarMohideen День назад

      HAL_GPIO_EXTI_Callback does not calls any function. Whenever pin PB11 goes from high to low, the function HAL_GPIO_EXTI_Callback is executed

  • @ahmedrefaie8671
    @ahmedrefaie8671 День назад

    Is it possible to make a video explaining the temperature sensor? PT100

  • @ahmedrefaie8671
    @ahmedrefaie8671 3 дня назад

    ❤ excellent ❤

  • @soranfatah1033
    @soranfatah1033 3 дня назад

    Very good

  • @ltlt6117
    @ltlt6117 4 дня назад

    Hi Why uart sends data reversed For example If I want to send 1139(ascii) = 0473(hex) When uart sends data i have 7304(hex) in my computer How I can prevent this?

    • @NizarMohideen
      @NizarMohideen 4 дня назад

      uart sends one byte a time. that means 8 bits if you want different size data to send break them into 8 bit pieces and reconstruct at the receiver end for example if you want to sent 16 bit number to send as you have shown, you can follow as shown below uint16_t toWrite; uint8_t Broken1; uint8_t Broken2; Broken1 = toWrite & 0xff; Broken2 = toWrite >> 8; uint16_t Reconstructed; Reconstructed = ((uint16_t)Broken2 << 8) | Broken1;

    • @ltlt6117
      @ltlt6117 4 дня назад

      @@NizarMohideen very useful thanks👍👍

  • @axramar1992
    @axramar1992 4 дня назад

    Thanks for the tutorials sir 🎉very useful.

  • @rickyaryadi8422
    @rickyaryadi8422 5 дней назад

    why i cant get date? thanks Sir

    • @NizarMohideen
      @NizarMohideen 5 дней назад

      You can set sate. You can get date RTC_DateTypeDef gDate; HAL_RTC_GetDate(&hrtc, &gDate, RTC_FORMAT_BIN);

    • @rickyaryadi8422
      @rickyaryadi8422 2 дня назад

      @@NizarMohideen when I set the date it works, and when it starts without setup, why can't it? the result is day 0, month 1, date 1, year 0

    • @rickyaryadi8422
      @rickyaryadi8422 2 дня назад

      @@NizarMohideen it keeps only time not date, can you help me? thanks

    • @NizarMohideen
      @NizarMohideen 2 дня назад

      Do the similar things to date initialization as you done for the time code from second and subsequent uploads That is to comment out the date code except for the first upload

  • @chinnavasanth1738
    @chinnavasanth1738 5 дней назад

    w5500 used to FOTA update is possible or not ??

  • @052rafihanifl3
    @052rafihanifl3 5 дней назад

    Hello, how much maximum the sensor can read the distance?

    • @NizarMohideen
      @NizarMohideen 5 дней назад

      400 cm as in www.sparkfun.com/products/15569

  • @user-rs9yz4he2f
    @user-rs9yz4he2f 5 дней назад

    Can you make a video how to control three leds? Thank you sir

  • @KZ-DE
    @KZ-DE 7 дней назад

    thanks sir

  • @Anandkumar-jh1pg
    @Anandkumar-jh1pg 7 дней назад

    I am using stm32f103c6t6. When i connect it to pc it is showing usb device not recognised. Can you make a video to fix this issue

    • @NizarMohideen
      @NizarMohideen 7 дней назад

      I am sorry to say that this bootloader did not work with stm32f103c6 I have tested with many stm32f103c8 and all worked including clone chips I believe the souce code can be modified and complied to work with stm32f103c6 If I have time to modify it or if I find another bootloader for stm32f103c6, I will let you know Thanks

  • @Anandkumar-jh1pg
    @Anandkumar-jh1pg 7 дней назад

    Without downloading bootloader , When i connect usb cable pc is showing that usb is not recognised

    • @NizarMohideen
      @NizarMohideen 7 дней назад

      usb will not be recognised until bootloader download. Even after bootloader download, usb will not be recognised. You need to press the reset button in the stm32f103c8 bluepill, then usb will be available

  • @user-rs9yz4he2f
    @user-rs9yz4he2f 7 дней назад

    Sir do you have some e-mail i need your help. Thank you very much

  • @ahmedrefaie8671
    @ahmedrefaie8671 8 дней назад

    ❤❤❤❤❤❤❤❤

  • @NizarMohideen
    @NizarMohideen 8 дней назад

    STM32CubeProgrammer install and code upload video video ruclips.net/video/YocudAJBH-g/видео.html

  • @soranfatah1033
    @soranfatah1033 8 дней назад

    Congregation ..we need that🎉

  • @adityasuri999
    @adityasuri999 8 дней назад

    Love your series sir Please make a series on stm8 microcontrollers

  • @zynbkhosh2794
    @zynbkhosh2794 9 дней назад

    That was great, thanks a lot !✨

  • @yismanyhdezmorera4040
    @yismanyhdezmorera4040 9 дней назад

    ya estoy viejo para aprender pero en ocasiones por necesida necesito hacer cosas que no existen en mi pais o son muy cara y como siempre he sido fan a la electrinica, al diseño y mas. te doy gracias por cualquier aporte que hagas a la comunidad. saludos.

  • @soranfatah1033
    @soranfatah1033 10 дней назад

    🎉🎉🎉

  • @quyetthangvu6015
    @quyetthangvu6015 10 дней назад

    Hello you! Can you make a video about modbus rs485 ?

  • @duckdoan7977
    @duckdoan7977 11 дней назад

    Sir can we use the hex file from STM32CubeIDE to load it to the MCU via st2 linker with ST LINK V2 UTILITY software. No need to use STMCubeProgrammer. thank you

    • @NizarMohideen
      @NizarMohideen 11 дней назад

      Yes. You can. But ST-LINK utility - OLD Version STM32CubeProgrammer - NEW Version

    • @NizarMohideen
      @NizarMohideen 11 дней назад

      You can upload the code straight from CubeIDE to STM32 without using ST-LINK utility or STMCubeProgrammer

    • @duckdoan7977
      @duckdoan7977 11 дней назад

      @@NizarMohideen appreciate you sir

  • @bthrgmmng
    @bthrgmmng 12 дней назад

    Work on STM32F103C6 ??? Please answer

    • @NizarMohideen
      @NizarMohideen 12 дней назад

      Yes. It will work with the same CubeIDE setup and codes. You can use stm32f103c6 for both modules Or you can use stm32f103c6 for one module and stm32f103c8 for other module

  • @ShubhamDubukwad-f4u
    @ShubhamDubukwad-f4u 14 дней назад

    i am trying to implement this using static ip adress method please can you help??????

  • @punithm8285
    @punithm8285 14 дней назад

    how to contol this motor using joystic or bluetooth or anthing else please let me know

    • @NizarMohideen
      @NizarMohideen 13 дней назад

      Joystick only ruclips.net/video/NEUtfDNfIKk/видео.html Potentiometer only ruclips.net/video/Lot5CjxMmsk/видео.html Joystick with motor ruclips.net/video/0rbKmkNEdAU/видео.html

  • @danielalejandroruizdiaz6839
    @danielalejandroruizdiaz6839 14 дней назад

    Amazing. Could you show us how to use a WWVB Atomic Clock Receiver Module?

  • @Anandkumar-jh1pg
    @Anandkumar-jh1pg 15 дней назад

    Thank you for this video. Can you create video for downloading the code using bootloader (i mean using USB cable)

    • @NizarMohideen
      @NizarMohideen 10 дней назад

      Good News ... My next video will be about downloading the code using DFU bootloader (via USB cable only)

    • @NizarMohideen
      @NizarMohideen 8 дней назад

      Done. Video link ruclips.net/video/ReSaV4y2XSA/видео.html

  • @ahmedrefaie8671
    @ahmedrefaie8671 15 дней назад

    ❤This is amazing . I learned a lot from you. Please make two or three pieces 74ch595❤

    • @NizarMohideen
      @NizarMohideen 10 дней назад

      Multiple 74HC595 Shift Registers with STM32 done Link --> ruclips.net/video/XLJzC3ukmAs/видео.html

    • @ahmedrefaie8671
      @ahmedrefaie8671 10 дней назад

      Thank you sir. Is it possible to make it with 3- 7 segmant

    • @NizarMohideen
      @NizarMohideen 10 дней назад

      Of course, it is possible. It is also very simple. Just replace the 7-segment in the place of led and switch on and off the pattern. Because it is simple, I don’t want to repeat the video recordings, besides I don’t have three displays with me. Thanks

    • @ahmedrefaie8671
      @ahmedrefaie8671 10 дней назад

      thank you sir.

  • @KaiMusic00
    @KaiMusic00 15 дней назад

    Hi there I am using sensor as an input which will turn on the buzzer, and also using EXTERNAL interupt Buthon the to turn off the buzzer and turn on the LED but the code is not working. It is like when I siply power it only do one tast only butten not buzzer and also sensor stop working need help with example

  • @soranfatah1033
    @soranfatah1033 15 дней назад

    I suggest make project for TM6932 16 digit driver...this driver is very useful for any LED driver ...thanks

  • @soranfatah1033
    @soranfatah1033 15 дней назад

    Really well done..

  • @profisender1
    @profisender1 16 дней назад

    Good job, thank you.

  • @soranfatah1033
    @soranfatah1033 17 дней назад

    Excellent 🎉

  • @punithm8285
    @punithm8285 17 дней назад

    please make video using the stm32l475vgt6 board for motor driver

    • @NizarMohideen
      @NizarMohideen 17 дней назад

      I do not have stm32l475vgt6 with me But I have done this motor and l298n with stm32f446re and stm32f103c8 the link is ruclips.net/video/0rbKmkNEdAU/видео.html you can compare both and you may be able to do the same with any stm32 by yourself

  • @mz9zn
    @mz9zn 17 дней назад

    Works very bad and unstable. Sometimes it's ok, sometimes the LED returns to the previous state after button release.

    • @NizarMohideen
      @NizarMohideen 17 дней назад

      I have used 10 milli seconds to ignore debounce interrupts If the push button is not smooth, you may need to increase the time if (GPIO_Pin == GPIO_PIN_1 && (currentMillis - previousMillis > 10)) ^^^

    • @mz9zn
      @mz9zn 17 дней назад

      @@NizarMohideen I've already tried to set 50ms, but it doesn't help. Also, it's not a button problem. The same button works flawlessly with 50ms debouncing delay in my PIC code. But I'm new to STM32 and can't make it work yet.

    • @NizarMohideen
      @NizarMohideen 17 дней назад

      I will search for better way of doing with interrupt service routine. If anything better, I will let you know. In the mean time, you can also search for isr documents in the net. Thanks

  • @axramar1992
    @axramar1992 18 дней назад

    Very useful 🎉

  • @Oleg-fp9hn
    @Oleg-fp9hn 18 дней назад

    Hello! Answer please. Can we change timer settings during programm is running? i am considering Car engine manegment system, rotating trigger wheel on crankshaft makes interrupt every 6 degrees. we need to ignite sparks when trigger wheel interrupts + some amount of time. this amount of time alway differ and depends on a lot of parametrs.

    • @NizarMohideen
      @NizarMohideen 18 дней назад

      Yes. You can HAL_TIM_Base_Stop_IT(&htim2); // During prorram running change the values inside MX_TIM2_Init() MX_TIM2_Init(); HAL_TIM_Base_Start_IT(&htim2);

    • @Oleg-fp9hn
      @Oleg-fp9hn 18 дней назад

      @@NizarMohideen thank you, awesome. i will try it.

  • @mahdilor548
    @mahdilor548 19 дней назад

    Were good 👍

  • @_MohdSaifDaffaWNst
    @_MohdSaifDaffaWNst 20 дней назад

    thanks for your tutorial nizar, btw, could you make the tutorial of rotary encoder with obstacle sensor module using STM32F103C8T6?

  • @user-rs9yz4he2f
    @user-rs9yz4he2f 22 дня назад

    If i open another TIM channel how to have another value rx_data to control second led ? HAL_UART_Receive_IT(&huart1,&rx_data,1);

  • @farukkaymak1253
    @farukkaymak1253 22 дня назад

    sir are there any way to debug clone f103 over cube mx

    • @NizarMohideen
      @NizarMohideen 22 дня назад

      OpenOCD used to work but it does not work any more. I have not found anything else so far

  • @sabbrush6001
    @sabbrush6001 22 дня назад

    htim4.Init.Prescaler = 72-1; htim4.Init.CounterMode = TIM_COUNTERMODE_UP; htim4.Init.Period = (72000000 / (72 * pwm_frequency)) - 1; sConfigOC.OCMode = TIM_OCMODE_PWM1; sConfigOC.Pulse =(htim4.Init.Period*0.1); sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH; sConfigOC.OCFastMode = TIM_OCFAST_DISABLE; i used pwm channel 1 for step signal. i did like this and worked quite well. But when i looked at the internet i couldn't found like my solituon. i wonder mine is wrong or something?

    • @NizarMohideen
      @NizarMohideen 22 дня назад

      The timer used in this example is for micro-second delay. As long as you get 1us, it should be ok

  • @hamzahvahed9320
    @hamzahvahed9320 23 дня назад

    Can we implement this using nb-iot communication?

  • @furkanunal6338
    @furkanunal6338 23 дня назад

    Hello, in which part of the code do we make the parameter settings of Lora?

    • @NizarMohideen
      @NizarMohideen 23 дня назад

      the parameter settings of Lora is not in this video. I have a separate video for settings ruclips.net/video/6vIYaawRQ2g/видео.html

    • @furkanunal6338
      @furkanunal6338 23 дня назад

      @@NizarMohideen Thanks for your answer. I can adjust the parameter settings of the lora with the RF Settings application, but I do not know how to use these parameter settings when writing code. "#include <SoftwareSerial.h> SoftwareSerial FixSerial(3, 4); #define M0 7 #define M1 6 void setup() { Serial.begin(115200); pinMode(M0, OUTPUT); pinMode(M1, OUTPUT); digitalWrite(M0, LOW); digitalWrite(M1, LOW); FixSerial.begin(9600); } void loop() { FixSerial.write((byte)0x00); //Receiver Address HIGH FixSerial.write(3); //Receiver Address LOW FixSerial.write(18); //Receiver Channel =0x17=23 (410M+23=433 MHz) intSend(12345); // We will send this number -> delay(1000); } void intSend(int number) { FixSerial.write(highByte (number)); FixSerial.write(lowByte (number)); }" I used parameter settings like this with Arduino, but I have no idea how to do it with CubeIDE. Can you help me with this?

    • @NizarMohideen
      @NizarMohideen 23 дня назад

      It is possible. But I have not done it with stm32. Thanks

  • @SiggyPony
    @SiggyPony 24 дня назад

    Many thanks for these videos. Just setting up my workstation to work with some old boards I have again. And have a bunch more coming in the post. Excited to get back into this

  • @SiggyPony
    @SiggyPony 26 дней назад

    Thankyou this is an extremely helpful video :)

  • @user-rs9yz4he2f
    @user-rs9yz4he2f 27 дней назад

    Hello i added photo resistor and 220 omh resistor like in your schematic,but when i use debug mode and add readValue to watch it says 15833 ushort and dont change on light passing by why ?

    • @user-rs9yz4he2f
      @user-rs9yz4he2f 27 дней назад

      ADC Prescaler is set to /6 and 12 to ADC 1,2

    • @NizarMohideen
      @NizarMohideen 27 дней назад

      I have noted that it does not update for some stm32 chips. If so, you can try stopping and restating adc for each readings as shown below HAL_ADC_Start(&hadc1); HAL_ADC_PollForConversion(&hadc1,1000); readValue = HAL_ADC_GetValue(&hadc1); HAL_ADC_Stop(&hadc1); Thanks

    • @user-rs9yz4he2f
      @user-rs9yz4he2f 25 дней назад

      @@NizarMohideen Still not working here is my code privnote.com/nfYJT7Rj#Bfh1nZfTf

    • @NizarMohideen
      @NizarMohideen 25 дней назад

      I have seen your code. It has DHT11, light sensor and UART Interrupt input. It would be easier for you to test light sensor only and make sure it gets the ADC values. Make it simple and remove everything except light sensor then combine with other elements. Good luck

  • @madayaswanth1205
    @madayaswanth1205 27 дней назад

    how to calibrate,any video link

    • @NizarMohideen
      @NizarMohideen 27 дней назад

      I have calibrated only zero ampere point. We have to calibrated at several points until rated 30 ampere We need variable load to produce variable high currents. Even 20A/ 5V produce 100W and the load I had can not handle the heat for few seconds. So for many beginner students don’t have the facility to calibrate at home If they wanted so precise measurements then they should contact current calibrating people. Thanks

  • @mahdilor548
    @mahdilor548 28 дней назад

    Thank you for posting this tutorial so helpful