You can do without it, but then you will get "metavalue" warnings in simulation, unless you specify a default value, but then you may get "default values not supported" on some architectures, like Lattice. But in my opinion, there is no reason to omit the reset value because the flip-flops already have a reset input, and if you don't use it, it's essentially wasted.
Thank you so much. Your tutorial was great. Is there a way to find out which PWM pulse frequency/min pulse width/max pulse width is needed? I don't find anything on the datasheets.
I did find it in a datasheet for the SG90 servo. If you can't find it for your servo, you can experiment to see which values will move the motion to the extremes. The values I used are listed in the blog post: vhdlwhiz.com/rc-servo-controller-using-pwm/
hello sir, i'm using FPGA to control 6 servos. But i don't know how to control it. If i put direct to FPGA, it's not engouh current. I use servo HS422. Can you tell me how to control them. thank you
You have to use some kind of driver circuit because the FPGA pin has too low voltage and current to drive anything more than a tiny LED. As I wrote in the attached blog post, I'm using a breadboardable level shifter. You can buy them for a dollar on eBay or AliExpress. Just search for "Arduino level shifter".
Great video. Thank you for sharing your knowledge
Hi Jonas. What is the little board that interfaces the iCEstick? Is it an array of voltage regulators, or a driver? Thanks!
See Jonas' answer further below - I think it's an Arduino level shifter.
Is the reset if-statement needed at 9:48 ?
You can do without it, but then you will get "metavalue" warnings in simulation, unless you specify a default value, but then you may get "default values not supported" on some architectures, like Lattice. But in my opinion, there is no reason to omit the reset value because the flip-flops already have a reset input, and if you don't use it, it's essentially wasted.
ı could not understan why did you multiply with 10^6 inside the function
Thank you so much. Your tutorial was great. Is there a way to find out which PWM pulse frequency/min pulse width/max pulse width is needed? I don't find anything on the datasheets.
I did find it in a datasheet for the SG90 servo. If you can't find it for your servo, you can experiment to see which values will move the motion to the extremes. The values I used are listed in the blog post: vhdlwhiz.com/rc-servo-controller-using-pwm/
hello sir, i'm using FPGA to control 6 servos. But i don't know how to control it. If i put direct to FPGA, it's not engouh current. I use servo HS422. Can you tell me how to control them. thank you
You have to use some kind of driver circuit because the FPGA pin has too low voltage and current to drive anything more than a tiny LED. As I wrote in the attached blog post, I'm using a breadboardable level shifter. You can buy them for a dollar on eBay or AliExpress. Just search for "Arduino level shifter".
Very informative