vlad97
Newbie level 1
Hi there!
I'm working on a home-made project with a servomotor using Basys 3 . I need to control my servomotor in that way that it can rotate 90° back and forth several times.
My servomotor is a SG90 9g Micro Servo and I'm tryng to write a code in VHDL to control it. The problem is that i don't know how to make the division for the 2 timers so that the servomotor can rotate 90° .
I can hear the servo, but he can't rotate 90° ..
I'm not using the Module Pmod Con 3 because in my country i can't buy such a module . I am using a breathboard, and the 3 wires from the Servo are connected to a Pmod Connector on basys 3, using the breathboard so : Pin 6 for VCC, Pin 5 for GND, Pin 1(PWM) for JA1 .
Regards,
Vlad
I'm working on a home-made project with a servomotor using Basys 3 . I need to control my servomotor in that way that it can rotate 90° back and forth several times.
My servomotor is a SG90 9g Micro Servo and I'm tryng to write a code in VHDL to control it. The problem is that i don't know how to make the division for the 2 timers so that the servomotor can rotate 90° .
I can hear the servo, but he can't rotate 90° ..
I'm not using the Module Pmod Con 3 because in my country i can't buy such a module . I am using a breathboard, and the 3 wires from the Servo are connected to a Pmod Connector on basys 3, using the breathboard so : Pin 6 for VCC, Pin 5 for GND, Pin 1(PWM) for JA1 .
Regards,
Vlad