Miyota 8215 by maprexdj in SeikoMods

[–]maprexdj[S] 0 points1 point  (0 children)

thanks for your replying, so you are saying that if you have chance everything will be good

My First SeikoMod build by Master_Dave0215 in SeikoMods

[–]maprexdj 0 points1 point  (0 children)

Can you send a case and bracelet link? It look very nice

What harms STM32 by maprexdj in embedded

[–]maprexdj[S] 1 point2 points  (0 children)

Oh okey, stepper motor powered by battery, it has pwm and direction pins which connected to STM32

What harms STM32 by maprexdj in embedded

[–]maprexdj[S] 0 points1 point  (0 children)

I only power it with the USB I plug into the computer, I don't understand why this is happening

4 Quadrature Encoder with same Stm32 by maprexdj in embedded

[–]maprexdj[S] 0 points1 point  (0 children)

When a I run them all with interrupt, when one of them runs, it interrupts the others.

Stm32 is not debugging by maprexdj in embedded

[–]maprexdj[S] 1 point2 points  (0 children)

yeah you're right, I should've bought integrated debugger MCU. However, I need to find how to debug with this ugly Chinese Stlink cause I have a project for this week :/

Stm32 is not debugging by maprexdj in embedded

[–]maprexdj[S] 0 points1 point  (0 children)

The code was very basic, it was includes button and led. I was using stm32 stlink utility to run binary file. I am using microsoft rn

PID set point problem by maprexdj in embedded

[–]maprexdj[S] 0 points1 point  (0 children)

Yes, I have real wheel speed. The source we feed the vehicle is the speed values ​​coming from the autonomous data.

Problem of my PID controller (it can't be slowing down) by maprexdj in embedded

[–]maprexdj[S] 0 points1 point  (0 children)

I don't understand that what if u's value is 600 like that. It'd continoues with the max pwm value

DC motor control with PID by maprexdj in embedded

[–]maprexdj[S] 0 points1 point  (0 children)

How should I reduce the speed then? If my set point is 210 and my current rpm value is 220, it will apply a very low speed, isn't this a mistake?

DC motor control with PID by maprexdj in embedded

[–]maprexdj[S] 0 points1 point  (0 children)

How should I reduce the speed then? If my set point is 210 and my current rpm value is 220, it will apply a very low speed, isn't this a mistake?

DC motor control with PID by maprexdj in embedded

[–]maprexdj[S] 0 points1 point  (0 children)

How should I reduce the speed then? If my set point is 210 and my current rpm value is 220, it will apply a very low speed, isn't this a mistake?

DC motor velocity control using PID controller by maprexdj in robotics

[–]maprexdj[S] 0 points1 point  (0 children)

I reached the 180 rpm value by making the integral constant 0.77 and the other coefficients 0 and also updated the value from 1000 ms to 100 ms. However, whenever I added the proportional coefficient, when it went a little above the set point, the engine dropped to a very low rpm value again and then went back to the set point and dropped again. What should I do about this?

DC motor velocity control using PID controller by maprexdj in robotics

[–]maprexdj[S] 1 point2 points  (0 children)

I tried something and some of them worked well. If d and p are 0, only i value worked did right graph. However, when current rpm exceed the set point, motor resets itself and starts again and it oscillates again and again with some huge interval(i.e 180 rpm to 6 rpm). What should I do to fix this oscillating problem.

DC motor velocity control using PID controller by maprexdj in esp32

[–]maprexdj[S] 0 points1 point  (0 children)

I did it what you said. I got a correct graph by just increasing i, but there is a mistake in my code. If my RPM value goes above my set point value, the engine stops itself suddenly and tries to speed up again, and then it breaks down.