Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

PROTON IDE For PIC16F877A with PROTEUS

Status
Not open for further replies.

youcef2010

Member level 1
Joined
Oct 28, 2011
Messages
32
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,296
Location
Tunisia
Activity points
1,519
Dear All,
Anyone famous with PROTON IDE ?? Please I need to generate PWM for sinewave H-Bridge inverter.
Many Thanks in advance
 

HICH

Newbie level 3
Joined
Mar 24, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,293
dear youcef2010 ,
NOW, I work on the same subject and I met the same problem, if you have solved the problem, please do you can give me the code in c that you used in your project?
 

youcef2010

Member level 1
Joined
Oct 28, 2011
Messages
32
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,296
Location
Tunisia
Activity points
1,519
Hi youcef2010,
have you started tinkering on your code? Which uC are you going to use?

@HICH: Proton is BASIC not C.
Hi Dear,
Actualy, I am using PIC16F877A, The code is as follow:

Device=16F877A
XTAL = 20
TRISB = %00000000
TRISC = %00000000
CCP1_PIN=PORTC.1
HPWM 1,127,8000
While 1=1
PORTB.3=0
DelayMS 1
PORTB.1=1
DelayMS 9
PORTB.1=0
DelayMS 1
PORTB.3=1
DelayMS 9
Wend

This code generates two square waves (50Hz with 1ms deadtime) and one PWM, then the PWM is multiplied by the two squares to generate the 4 signals of the four MOSFETs of the inverter.
 

HICH

Newbie level 3
Joined
Mar 24, 2012
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,293
HI ZASto ,
Thanks for the information , but i'm coding(in c) with µc so that's why i thought it's in c,
do you have some code in c that solve the problem?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top