Proteus design of arduino pro mini with servo motor

You can post your problem related to Proteus Projects here. We will try our best to help you out.
Post Reply
Josephine
Posts:10
Joined:Sat Feb 25, 2017 8:24 am
Proteus design of arduino pro mini with servo motor

Post by Josephine » Wed Mar 01, 2017 9:22 am

.the PWM signal from the pro mini IC ATMEGA-328 has to send to servo motor through serial communication.Ihvae two questions .
1)how PWM signal value is 0-255 ?if it is that,that data transmitted is 8-bit so it makes 256 combinations.it is alright.i agree!! but why when we connect the serial port we have to use only 1 pin of IC to transmit PWM signal to the servo ? is that 1 pin of the IC transmits 8 bit data??

2)how should i connect the servo motor to the IC.which pin should be connected so that serial PWM signal goes ..i mean which pin of IC has to be connected to which serial port pin for PWM transmission and why .

3)any good programming book link for coding pro mini in keil or matlab

Junaid_Shahid
Posts:110
Joined:Tue Feb 14, 2017 9:00 am

Re: Proteus design of arduino pro mini with servo motor

Post by Junaid_Shahid » Wed Mar 01, 2017 9:24 am

Josephine wrote:
Wed Mar 01, 2017 9:22 am
.the PWM signal from the pro mini IC ATMEGA-328 has to send to servo motor through serial communication.Ihvae two questions .
1)how PWM signal value is 0-255 ?if it is that,that data transmitted is 8-bit so it makes 256 combinations.it is alright.i agree!! but why when we connect the serial port we have to use only 1 pin of IC to transmit PWM signal to the servo ? is that 1 pin of the IC transmits 8 bit data??

2)how should i connect the servo motor to the IC.which pin should be connected so that serial PWM signal goes ..i mean which pin of IC has to be connected to which serial port pin for PWM transmission and why .

3)any good programming book link for coding pro mini in keil or matlab
I can't make sense of your problem.

Why is this? "the PWM signal from the pro mini IC ATMEGA-328 has to send to servo motor through serial communication."

Are you using the word "servo" to refer to the things that are used to control flying model aircraft?

If so they only need a single signal connection from the Arduino (plus a ground connection) and you use the Servo library to control it. The signal for controlling these servos is not really the same as the PWM signal that is used (for example) to control the speed of dc motors.

There is a servo sweep example in the Arduino IDE.
Anyways Please read:
ARDUINO PRO MINI LIBRARY FOR PROTEUS

Josephine
Posts:10
Joined:Sat Feb 25, 2017 8:24 am

Re: Proteus design of arduino pro mini with servo motor

Post by Josephine » Wed Mar 01, 2017 9:25 am

Junaid_Shahid wrote:
Wed Mar 01, 2017 9:24 am
Josephine wrote:
Wed Mar 01, 2017 9:22 am
.the PWM signal from the pro mini IC ATMEGA-328 has to send to servo motor through serial communication.Ihvae two questions .
1)how PWM signal value is 0-255 ?if it is that,that data transmitted is 8-bit so it makes 256 combinations.it is alright.i agree!! but why when we connect the serial port we have to use only 1 pin of IC to transmit PWM signal to the servo ? is that 1 pin of the IC transmits 8 bit data??

2)how should i connect the servo motor to the IC.which pin should be connected so that serial PWM signal goes ..i mean which pin of IC has to be connected to which serial port pin for PWM transmission and why .

3)any good programming book link for coding pro mini in keil or matlab
I can't make sense of your problem.

Why is this? "the PWM signal from the pro mini IC ATMEGA-328 has to send to servo motor through serial communication."

Are you using the word "servo" to refer to the things that are used to control flying model aircraft?

If so they only need a single signal connection from the Arduino (plus a ground connection) and you use the Servo library to control it. The signal for controlling these servos is not really the same as the PWM signal that is used (for example) to control the speed of dc motors.

There is a servo sweep example in the Arduino IDE.
Anyways Please read:
ARDUINO PRO MINI LIBRARY FOR PROTEUS
i want to control the servo motor through the pro mini.obviously in proteus design i would make the IC atmega 328 that will send the PWM signals to control the motor.i am confused that there are 5,6,9,10,11 pins of the IC that can generate PWM signals.but which one should be used to send and how it will be send ?

Junaid_Shahid
Posts:110
Joined:Tue Feb 14, 2017 9:00 am

Re: Proteus design of arduino pro mini with servo motor

Post by Junaid_Shahid » Wed Mar 01, 2017 9:25 am

Josephine wrote:
Wed Mar 01, 2017 9:25 am
Junaid_Shahid wrote:
Wed Mar 01, 2017 9:24 am
Josephine wrote:
Wed Mar 01, 2017 9:22 am
.the PWM signal from the pro mini IC ATMEGA-328 has to send to servo motor through serial communication.Ihvae two questions .
1)how PWM signal value is 0-255 ?if it is that,that data transmitted is 8-bit so it makes 256 combinations.it is alright.i agree!! but why when we connect the serial port we have to use only 1 pin of IC to transmit PWM signal to the servo ? is that 1 pin of the IC transmits 8 bit data??

2)how should i connect the servo motor to the IC.which pin should be connected so that serial PWM signal goes ..i mean which pin of IC has to be connected to which serial port pin for PWM transmission and why .

3)any good programming book link for coding pro mini in keil or matlab
I can't make sense of your problem.

Why is this? "the PWM signal from the pro mini IC ATMEGA-328 has to send to servo motor through serial communication."

Are you using the word "servo" to refer to the things that are used to control flying model aircraft?

If so they only need a single signal connection from the Arduino (plus a ground connection) and you use the Servo library to control it. The signal for controlling these servos is not really the same as the PWM signal that is used (for example) to control the speed of dc motors.

There is a servo sweep example in the Arduino IDE.
Anyways Please read:
ARDUINO PRO MINI LIBRARY FOR PROTEUS
i want to control the servo motor through the pro mini.obviously in proteus design i would make the IC atmega 328 that will send the PWM signals to control the motor.i am confused that there are 5,6,9,10,11 pins of the IC that can generate PWM signals.but which one should be used to send and how it will be send ?
Servo control signal is a form of Pulse Width Modulation, but not the sort (as best I know) that the PWM timers on the Arduino generate. It therefore does not matter which output pin you use because you need to generate the pulses - continuously, in software - with the "Servo" library code (or your own code to do the same) and in doing so, you specify which output to use.

It does not help that though you have some idea in mind, no-one else has any clue as to what on earth you mean by "Proteus".

Post Reply