STM32: Analog Watchdog
16:22
5 ай бұрын
STM32 Intro Course announcement
1:58
C programming: double pointers
5:16
2 жыл бұрын
Пікірлер
@sinamathew
@sinamathew 8 күн бұрын
How do i get one of this
@ShanmugasundaramM-z7h
@ShanmugasundaramM-z7h 20 күн бұрын
can I get full code. and please make a video for USB_ Microphone
@feramez
@feramez 23 күн бұрын
Hi is there a way you can help me with the same project but in keil uvision?
@steppeschool3629
@steppeschool3629 23 күн бұрын
if it does take much time, you can ask your question here
@ZiclopDevices
@ZiclopDevices 24 күн бұрын
Good job! Is the source code avalaible at github, or only for Patreon members?
@steppeschool3629
@steppeschool3629 23 күн бұрын
Thanks! Unfortunately, the source code is available only for Patreon members
@Deborah_innovates
@Deborah_innovates 27 күн бұрын
Are you running the filter on the mcu?
@steppeschool3629
@steppeschool3629 24 күн бұрын
Yep, You can check: www.steppeschool.com/courses/stm32-hal-orientation-estimation
@dasunisaparamadu2876
@dasunisaparamadu2876 29 күн бұрын
I'm using Cube IDE version 1.15.0. The microcontroller version I'm using is STM32 NUCLEO L073RZ DSP library is not listed under software component class. Which version are you using?
@henryhetz8212
@henryhetz8212 Ай бұрын
ICM-20948 status is NRND... Wtf
@steppeschool3629
@steppeschool3629 Ай бұрын
Seems like this IMU sensor will be also obsolete at some point. Hope they will release a new 9-axis IMU
@henryhetz8212
@henryhetz8212 8 күн бұрын
@@steppeschool3629 Hope too!
@CLGilbert
@CLGilbert Ай бұрын
Is it OK to cast a *uint_16 to a *uint_32 and pass it to Start_DMA? Does the function understand that the buffer is really only 4 bytes and not 8 bytes?
@steppeschool3629
@steppeschool3629 Ай бұрын
in that case, I guess you need to specify the memory width to 4 bytes, not 2 bytes.
@CLGilbert
@CLGilbert Ай бұрын
​@@steppeschool3629yes. I noticed now you set the DMA length to half word.
@mrshelpy1
@mrshelpy1 Ай бұрын
Keep up 👏
@steppeschool3629
@steppeschool3629 Ай бұрын
Thanks!
@dymastro788
@dymastro788 Ай бұрын
Great channel, subscribed. Great to see the overlap between Embedded and Dynamic and Control. Keep it up!
@steppeschool3629
@steppeschool3629 Ай бұрын
Awesome, thank you!
@gcenter1552
@gcenter1552 Ай бұрын
does it work on stm32f103x ?
@steppeschool3629
@steppeschool3629 Ай бұрын
I do not think it will work.
@obedbabington3903
@obedbabington3903 Ай бұрын
Note: Serial Wire Viewer (SWV) is a data trace feature found on many ARM Cortex-M3, M4, M7, M23, and M33 processors. Cortex-M0 and Cortex-M0+ do not have SWV.
@steppeschool3629
@steppeschool3629 Ай бұрын
Noted
@iota_i_1
@iota_i_1 Ай бұрын
Could please teack more about kalman filter also please please please
@steppeschool3629
@steppeschool3629 Ай бұрын
I have a playlist about the Kalman Filter: kzbin.info/aero/PLmXXQ1iFwiyJxArw8tz_mnZfrVQ2B_FuH
@iota_i_1
@iota_i_1 Ай бұрын
Sir i want to learn
@steppeschool3629
@steppeschool3629 Ай бұрын
Hi! I have a course about designing a self-balancing robot from scratch: www.steppeschool.com/courses/robotics-course-balancing-robot
@farahkhan1482
@farahkhan1482 Ай бұрын
Nice. Waiting for part 2
@steppeschool3629
@steppeschool3629 Ай бұрын
Just released the rest of the parts
@venkygoud7421
@venkygoud7421 Ай бұрын
Thank you,Very informative video. Waiting for part 2
@steppeschool3629
@steppeschool3629 Ай бұрын
Just released the rest of the parts
@sizuziledlamini1852
@sizuziledlamini1852 Ай бұрын
Does the stm32f103c8 "Blue pill" support the arm_math library?
@steppeschool3629
@steppeschool3629 Ай бұрын
I am afraid it does not support
@kamarmeredow7644
@kamarmeredow7644 Ай бұрын
Thank you for the video. I tried to use this dsp lib with my stm32f103c8t6 cortex m3 with clock speed 64mhz. But i could not install it because bluepill has only 20kb. I wrote recursive fft code myself. but it took almost 70ms to finish and i lost some values from adc. sampling rate was 8khz. and window size is 128 or even with 64 it was still slow. i think arm dsp uses some kind of hardware accelerated things to make the calculations much faster for example in 1-2ms. But i could not use it as bluepill has only 64kb of flash. What can you suggest? Appreciate that thanks.
@steppeschool3629
@steppeschool3629 Ай бұрын
The easiest solution would be to upgrade your microcontroller. Try more powerful microcontrollers, such as STM32F4, STM32L4, etc. They are not expensive and you can easily implement FFT.
@kamarmeredow7644
@kamarmeredow7644 Ай бұрын
@@steppeschool3629 Hi. Thank you for the answer. Yes i had also F407 with 512kb of flash. But i wanted to try it with 64kb. Because i saw someone got fft working even with atmel processor with good performance. In the end i wrote my fft function with float type which took 70ms to calculate which is very slow. There is no fpu in bluepill. And after working 2 days i rewrote my functions in fixed point numbers and got it working. Fft took 3-4 ms for calculation, flash usage is 34kb with whole code.
@steppeschool3629
@steppeschool3629 Ай бұрын
What you did is quite impressive
@SurvivalSquirrel
@SurvivalSquirrel Ай бұрын
_write is never called. And i cant figure out, where _write would be called from.
@cemdogan6657
@cemdogan6657 Ай бұрын
Hi mate, really appreciate for your valuable content. It is really helpful to understand the concept and the flow is just superb! One thing to add, in the line: velocity = linspace(0.0,0.1,num_samples); if you would inverse(transpose) that definition the plot at the end would be more sensible which has actual and encoder plots. Prediction step looks incorrect because you create the velocity_encoder matrix as 300x300 instead of 300x1. Thanks again for this valuable post!
@steppeschool3629
@steppeschool3629 Ай бұрын
Great to hear!
@LaboussoleNano
@LaboussoleNano Ай бұрын
Thanks for the vide how to save data acquire in a csv file in the computer?
@steppeschool3629
@steppeschool3629 Ай бұрын
You can send data to a computer through UART. From the computer side, you can write a simple PYTHON script to record data and store it within a file
@Марш-ц6ф
@Марш-ц6ф 2 ай бұрын
Friend, thanks for the video. Can you send or take a video, which contacts did you connect the microphones and SD card reader to?
@pyrhockz
@pyrhockz 2 ай бұрын
Great stuff thank you.
@kalex7370
@kalex7370 2 ай бұрын
what to do if I get no message in console?
@TheOldmankk
@TheOldmankk 2 ай бұрын
Why their balancing bot is tremoring with phobia? LOL
@SaumikKhan
@SaumikKhan 2 ай бұрын
Great way of teaching. Carry on brother.
@hz.turqay426
@hz.turqay426 2 ай бұрын
awesome
@bobby9568
@bobby9568 2 ай бұрын
Very cool! Looking forward to seeing P2!
@jugnu361
@jugnu361 2 ай бұрын
no HAL Please
@myetis1990
@myetis1990 3 ай бұрын
is it the best sensor for drones?
@steppeschool3629
@steppeschool3629 3 ай бұрын
I do not think so, there should be other IMU sensors with better characteristics
@raffazaver
@raffazaver 3 ай бұрын
Kudos to you, didn't know i could do that
@fernandolebrato8464
@fernandolebrato8464 3 ай бұрын
Gracias por tu tutorial, aclaro la habilitación de la consola ITM. en Core/Src/syscalls.c añadir en línea 33 #define DEMCR *((volatile uint32_t*) 0xE000EDFCU) #define ITM_STIMULUS_PORT0 *((volatile uint32_t*) 0xE0000000) #define ITM_TRACE_EN *((volatile uint32_t*) 0xE0000E00) void ITM_SendChar(uint8_t ch) { DEMCR |=(1<<24); ITM_TRACE_EN |=(1<<0); while(!(ITM_STIMULUS_PORT0 & 1)); ITM_STIMULUS_PORT0 =ch; } en linea 100 ITM_SendChar(*ptr++) ;
@machmanish1
@machmanish1 3 ай бұрын
Guys, avoid this person. He is showing different code that then what is actually written. With 2 hours of work i was able to make it working.
@lehuubaothuan8559
@lehuubaothuan8559 3 ай бұрын
Hello, Have you tutorial of RTOS? Thanks
@toorikul
@toorikul 3 ай бұрын
great video sir
@Sx107music
@Sx107music 4 ай бұрын
Did you encounter issues when in some USB ports you get flooded with isoOutIncomplete and glitches since a packet is received not each SOF?
@lohikarhu734
@lohikarhu734 4 ай бұрын
Nice one... useful function, simple presentation. Thx!
@Barentts2
@Barentts2 4 ай бұрын
🫡❤️
@douglasrom40
@douglasrom40 4 ай бұрын
Congrats!!! Smooth explanation.
@sumedhburbure4173
@sumedhburbure4173 4 ай бұрын
wonderful demonstration of the PID controller!
@kishankumarhazari3692
@kishankumarhazari3692 4 ай бұрын
Good work bro 👍👍
@buuvo4711
@buuvo4711 4 ай бұрын
You only plot the Spectrum of a signal. Can you have a video to guide and filter the signal?
@buuvo4711
@buuvo4711 4 ай бұрын
Sorry ! You only record in a half of data_i2S buffer with statement :HAL_I2S_Receive_DMA(&hi2s2, (uint16_t *)data_i2s, sizeof(data_i2s)/2 but you write data in full data_i2S buffer in SD card with statement write2wave_file(((uint8_t*)data_i2s), WAV_WRITE_SAMPLE_COUNT); Can you explain to me?. Thank you very much!.
@jf4-d5m
@jf4-d5m 4 ай бұрын
Thank you! The concepts are explained neatly, and the video is one of the best-structured ones I have watched on Kalman Filters!
@faezefaraz
@faezefaraz 4 ай бұрын
Why does it show zero speed in all cases when I run this code?
@jakvirtua5631
@jakvirtua5631 4 ай бұрын
Thanks for sharing. These simple examples explain the concepts crystal clear... concise and substantial.
@Radplus
@Radplus 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?
@Flawake
@Flawake 3 ай бұрын
Can't say without code. But you should take a look into little endian and big endian
@Radplus
@Radplus 3 ай бұрын
@@Flawake thanks👍
@AbbasHashemi-pe2st
@AbbasHashemi-pe2st 4 ай бұрын
was very useful, thanks! Are you Afghan brother?
@padakathu2882
@padakathu2882 4 ай бұрын
thank you, excellent, very clear explanations
@electronic-ebox6403
@electronic-ebox6403 5 ай бұрын
IS IT POSSIBLE TO IMPLEMENT THIS ON MULIPLE ADC CHANNELS? I AM USING FOR SING CHANNED BUT FAIL TO IMPLEMENT ON MULTIPLE ADC CHANNEL..
@steppeschool3629
@steppeschool3629 5 ай бұрын
of course you can. Just create multiple instances
@electronic-ebox6403
@electronic-ebox6403 5 ай бұрын
@@steppeschool3629 okay. you mean fir_instance[12], fir_in_arm[12] and fir_out_arm[12] is only modification in program for 12 ADCs? or something more nedded? am I correct?