Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

Triangular wave generator with PIC16F877A

Status
Not open for further replies.

jean12

Advanced Member level 2
Joined
Aug 27, 2013
Messages
529
Helped
5
Reputation
12
Reaction score
6
Trophy points
18
Activity points
5,497
Hello,I am trying to generate a traingular wave with PIC16F877A and output this and be variable in duty cycle,can you please help me with that?

I want to set a number of digits in EEPROM and be accessed and output be sent to the port C where the potentiometer can be used for varying the duty cycle of this signal.

Not only the potentiometer,but also an encoder can be used for that purpose.!!

Thank you to all of you!!
 

As you said,you can use the digits in EEPROM(Or use a for loop) to be sent to port C,where you can attach a digital to analog converter.That,or you can use the inbuilt digital to analog converter within the microcontroller and generate the analog output(If the said analog output pin is multi purpose,you will have demultiplex the output accordingly.)The potentiometer should work fine.
 

Hello,could you help me with coding?I know how to do so with OP-amp but I don`t want to use op amps.!!

Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top