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.

ADC and PWM problem - help needed

Status
Not open for further replies.

jason1987

Member level 4
Joined
Jun 22, 2009
Messages
69
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
japan
Activity points
1,745
pwm using adc

hello everyone.. i need help for ADC and PWM.. right now i have done everyting.. but how to write a code to when ADC reading the value and PWM change.. i have done ADC and PWM but how we control the voltage?
 

reading pwm with adc

Why do you keep starting new threads on the same subject. Why not just continue your original posts?
 

read pwm adc reading

because no people replying mi.// sad
 

Re: ADC n PWM

i wan to do but i dunno hw to do den hw am i going to do.. u noob isit.. now i have done how to do some of the ting alreadi.. but how to control the led using a button?
 

Re: ADC n PWM

jason1987 said:
hello everyone.. i need help for ADC and PWM.. right now i have done everyting.. but how to write a code to when ADC reading the value and PWM change.. i have done ADC and PWM but how we control the voltage?
You have done every thing.
You have done ADC and PWM.
No need to worry, sit aside or just write down the code if you need. May be you would like to test and try the same.
 

ADC n PWM

jason1987 Just give it a little thought, it all depends on what language your writing it in, If your using the 10bit A/D then you need to scale it down unless your using 10bit PWM, Read the the votlage coming in then just make the A/D raw value into the PWM variable, Do do it by a push button the read button then just increse the PWM value

Or why not post your code and say this is what I have done but it does not quite work then may be someone will be willing to help,
 

    jason1987

    Points: 2
    Helpful Answer Positive Rating
Re: ADC n PWM

erm my code actually very simple.. i have done most of the ting...mine ADC is 8 bit.. now i am doing another button to dim the LED... another led i program as brightess as in percent go up cannot go down
 

ADC n PWM

@wizpic,
you are a nice person and I think your recommendation is just right, unfortunately way over Jason's head ;-)
The "give it a little thought" part seems to be missing completely in his posts.
Bob
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top