Proteus design of arduino pro mini with servo motor

.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 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
A picture for part 2 , proteus schemtic is attached.

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.


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 ?

What he said. (Robin2)

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".

If you use the Servo library, you can use any pin you like to control a servo. If you use the PWM generated by analogWrite to drive a servo, stop now, and use the Servo library.

no-one else has any clue as to what on earth you mean by "Proteus".

Isn't Proteus the name of the robot in the movie "Demon Seed"?

In addition, the schematic you showed, again in no way explaining what "Proteus" might be about, is badly garbled, in particular in regard to the crystal connections and capacitor values.

sorry it just print screen got you can see the clear picture

If there is some part(s) of the advice already given in this Thread that you don't understand then please tell us and we will be happy to explain.

As far as I can tell all the advice you need has now been provided.

You still haven't explained what Proteus is!


proteus is just software for simulation of a circuit