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.

10 hz wave with microcontroller

Status
Not open for further replies.
Obviously, yes! But can be square wave, triangular wave, sine wave, arbitrary....
 

With all types of uC's you can generate waveforms.

For a square wave form you need only to adjust timers to produce 0.05 sec delay (one for High part of wave and the second for low part).

For triangular form you can use increment instructions.

Finally for Sine wave you can use look up tables.

Regards
 

jit_singh_tara said:
can we generate a 10 hz wave using pic microcontroller , if yes then how?!


For a square wave:


while(1)
{

RB0=1;
delay_ms(50);
RB0=0;
delay_ms(50);

}
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top