Jack Claudiu
Newbie level 2
Hy to all, i have installed Proteus Isis and Mikro C pro
And i want to draw a scheme of a Microcontroller PIC which has serial port and PWM hardare and to satisfy the needs:
1) The circuit to be powered from 220V AC without transformer
2) To generate a pwm signal (Set in PWM hardware mode)
3)When we introduce a number in the serial port ( from 0 to 9) to set the PWM at a proportional value between the introduced number and the maximum value which the microcontroler accepts it
4) After setting the PWM value, to display on it`s serial port the value setted.
THe microcontroler runs conected to a crystal of 20Mhz ( if it hasn`t internal oscilator)
The serial port which is using is the hardware one and it`s baudrate must be 11520 (8N1)
Please Help me with some advices.
i`m stuck at point 3)
Thanx
And i want to draw a scheme of a Microcontroller PIC which has serial port and PWM hardare and to satisfy the needs:
1) The circuit to be powered from 220V AC without transformer
2) To generate a pwm signal (Set in PWM hardware mode)
3)When we introduce a number in the serial port ( from 0 to 9) to set the PWM at a proportional value between the introduced number and the maximum value which the microcontroler accepts it
4) After setting the PWM value, to display on it`s serial port the value setted.
THe microcontroler runs conected to a crystal of 20Mhz ( if it hasn`t internal oscilator)
The serial port which is using is the hardware one and it`s baudrate must be 11520 (8N1)
Please Help me with some advices.
i`m stuck at point 3)
Thanx
Last edited: