CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

60hz sine wave - Help me please

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
enfotec



Joined: 03 Oct 2020
Posts: 4

View user's profile Send private message

60hz sine wave - Help me please
PostPosted: Sat Oct 03, 2020 7:55 am     Reply with quote

Well friends,

Here I am to try to learn a little, and to make it happen.
I hope I can count on the help of everyone who like me one day.
they also needed help ....... well, come on!
The assignment is as follows:

CREATE A CODE FOR THE ABOVE PIC.
TO MAKE IT PRODUCE IN YOUR OUTPUT(S) TWO SIGNALS SPWM.

What else are these signs going to do?

THESE TWO SPWM SIGNS WILL BE CONNECTED TO HIGH POWER MOSFET'S GATES.

SO THAT THESE IN turn, THERE IS A SWEET SILICON IRON TRANSFORMER 10 + 10 INPUT, BY 127VAC OUTPUT

MAKING THIS TRANSFORMER DELIVER ALTERNATE 127VAC VOLTAGE OUTPUT ....... WITH FREQUENCY OF 60HZ.

For that to happen, I need to create this code, so that everything works
the way I hope, AND IT IS JUST JUST THAT I COME TO ASK FRIENDS
FOR HELP ......... OF COURSE! OF FRIENDS WHO KNOW HOW TO
PROGRAM THIS ON A PIC16F877A OBVIOUSLY.

I ask for your kindness, the charity of your help, because I want to learn
the program but it takes time.

S if any of the friends already have this code ready, for me to provide I
would be very grateful.

HOWEVER, IT'S OF COURSE THAT SOMEONE HAS HERE TO WISH TO HELP
ME CREATE IT.

THANK YOU ALSO ...... BECAUSE MY PURPOSE IS LEARNING TO
PROGRAM FOR PIC MICROCONTROLLERS.

BEFORE CREATING IT, BUT IF SOMEONE ALREADY HAS THE CODE
READY.......

Anyway, I appreciate all the help that appears in this TOPIC .... from the heart

I short !
I want someone to write this code for me.
NOTE: the PIC I intend to use in practice and also in the SIS simulations
is the PIC16F628A ....
I will use this PIC, because here in Brazil it is cheap and easy to find.

HELP ME PLEASE ?
Ttelmah



Joined: 11 Mar 2010
Posts: 19506

View user's profile Send private message

PostPosted: Sat Oct 03, 2020 8:10 am     Reply with quote

The PIC16F628, is _not_ suitable for what you describe, since it only has one
PWM channel. You need to be selecting a PIC with two PWM channels,
and preferably a 'power PWM', since this will then support the anti-phase
signals needed for this.
The first place to go and look, is the MicroChip application notes. There
have been several on using the PWM to 'synthesise' a low frequency
sinusoid like this.
This youtube posting is also about this:
<https://www.youtube.com/watch?v=lL39vzxn3bA>

This is an English forum, and you will get much more from it if you stick
to posting in English. Get a friend to translate for you or use Google
translate.
enfotec



Joined: 03 Oct 2020
Posts: 4

View user's profile Send private message

PostPosted: Sat Oct 03, 2020 9:04 am     Reply with quote

Ttelmah wrote:
The PIC16F628, is _not_ suitable for what you describe, since it only has one
PWM channel. You need to be selecting a PIC with two PWM channels,
and preferably a 'power PWM', since this will then support the anti-phase
signals needed for this.
The first place to go and look, is the MicroChip application notes. There
have been several on using the PWM to 'synthesise' a low frequency
sinusoid like this.
This youtube posting is also about this:
<https://www.youtube.com/watch?v=lL39vzxn3bA>

This is an English forum, and you will get much more from it if you stick
to posting in English. Get a friend to translate for you or use Google
translate.


Which pic is most demanded in this case for pwm channels ?
Would you know how to inform me?

Tell me a PIC that would solve my problem.
That i will download the datasheet of the same and analyze it.
That really is really required because it is there.
What is the relevant information for the creation
of the code, i think ...... Agree with me?

If yes, please refer me a PIC that would resolve
my problem, and if possible the code to solve it.
The question of spwm signals, also please.
Regular Guy



Joined: 04 Jun 2017
Posts: 110

View user's profile Send private message

PostPosted: Sat Oct 03, 2020 10:15 am     Reply with quote

Amigo

PIC 16F628 tiengo uno PWM

necessita mas PWM's

Compre mejor 18 pin PIC

Possible PIC 16F818?

Buenos Dias Amigo

Tiengo amigo con englise?

Scribe preguntos aqui in englis.

Es mejor.

+++++++++++++++++++++
Forum moderator has translated his posts above.

-Forum Moderator
+++++++++++++++++++++
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group