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.

[Moved] PIC ADC to time delay

Status
Not open for further replies.

thiru1879

Newbie level 6
Newbie level 6
Joined
Feb 5, 2010
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
India
Visit site
Activity points
1,377
hi, kindly tell me how to load this ADC 10bit value into TIMER0 module, I want to read ADC & to make corresponding time delay using timer0 module.
 

Hi,

You do not say what your time delay range is, nano seconds , seconds, hours, days ?

If you understand how Timer0 works you will see how taking a 10bit adc result and trying to get it to directly affect Timer0 is difficult to say the least.

Much easier if you set Timer0 to your smallest time period then use that as the Timebase to a program delay loop counting down on the ADC result.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top