.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 Small Bio
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 Small Bio
I can't make sense of your problem.[quote=Josephine post_id=190 time=1488360135 user_id=81].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[/quote]
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:
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 ?[quote=Junaid_Shahid post_id=191 time=1488360298 user_id=48]I can't make sense of your problem.[quote=Josephine post_id=190 time=1488360135 user_id=81].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[/quote]
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:
[url=http://www.theengineeringprojects.com/2015/12/arduino-pro-mini-library-proteus.html]ARDUINO PRO MINI LIBRARY FOR PROTEUS[/url] [/quote]
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.[quote=Josephine post_id=192 time=1488360334 user_id=81]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 ?[quote=Junaid_Shahid post_id=191 time=1488360298 user_id=48]I can't make sense of your problem.[quote=Josephine post_id=190 time=1488360135 user_id=81].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[/quote]
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:
[url=http://www.theengineeringprojects.com/2015/12/arduino-pro-mini-library-proteus.html]ARDUINO PRO MINI LIBRARY FOR PROTEUS[/url] [/quote] [/quote]
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".
