This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sending pwm signals using RF

hi all..
i am using a philips p89v51rd2bn uc.i want to control a servo motor using an rf link.the pwm signal is being generated using a 555 timer and the uc at the transmitter end measures the pulse width using the pca module.now i want to send this measured pulse width to anoder uc at the recieveing end to control the servo.the pulse measured is in 16 bits and the servo control is only of 8 bits in pca module...i confused wether this will work at all...if yes..plzz gimme some suggestions...

  • the pwm signal is being generated using a 555 timer and the uc at the transmitter end measures the pulse width using the pca module
    That sounds totally backwards to me.
    why do you not use the PCA to generate the PWM it is IDEALLY suited for such.

    Erik

  • ERIK
    hi...i want to give the input from a pot to the microcontroller...now interfacing an ADC dosnt always work with the uc..hence i am generatin a pwm signal using 555 by varying the pot..then measuring the pulse width..and sending the measured pulse width using the rf link...at the reciever end the uc will do exactly opposite and generate the pwm signal..

  • I recommend that you solve your problem with the ADC instead of having to add extra hardware.

  • now interfacing an ADC dosnt always work with the uc..
    so, you are doing the old "I can't get this (common thing, done many times by others) to work, instead of making it work I will do something else" that way you will never, never, never, never, learn anything.

    Erik

  • Erik

    thanzz mann for ur help...i did go with the adc and it is working well..took me few hrs b4 i cud get the values on the comp..but worth the ***...dude...ur comments have the punch...thanzz again..

  • Erik..

    so u r one of those "i hate it wen u use chat lingo"...well call me lazy or watever...but it saves me lots of pains which i utilise to make the electronics work...thanks again dude..

  • No, if you really check, it saves you almost no time at all when you write the text. Think about the _total_ time you have spent with this problem. Just focusing on the minutes you have spent writing posts on this forum is irrelevant. Especially since you spent too little time on figuring out how to describe your problem.

    In the end, it does cost you a lot, since a number of people will just ignore your posts.

    It's just as efficient as ignoring to tie the shoes in the morning. A couple of seconds faster out the door, but the scratches after you step on a shoelace can hurt a lot...

  • Erik

    it seems to me that u have spent a lot of time analysing my language problem...well...yeahh..guess u r right..i dunt want ppl ignoring my post...will work on this problem right away...by the way..can you help me with the values to be put in the ccaph register to get 2ms and 1ms pulse??...i am using mode..fosc/4 on 12 mhz..which comes to around 330ns..i just need teh calculations...

  • YOU save, say, 10 seconds writing gibberish, then, say, 100 people spend 25 seconds each trying to decipher it. fair???

    there is no way in hades I will take the time to help you for free if you will not take the time to write understandable lenguage.

    As a compromise, send me your, billing informtion and I will, when paid hourly, gladly spend the time to decipher your gibberish.

    Erik

  • "As a compromise, send me your, billing informtion and I will, when paid hourly, gladly spend the time to decipher your gibberish."

    Yes, it is good, to see correct, punctuation in posts, with commas, in the right places, because it always, makes, the text, easier, to read.

    ;)

  • ...if you will not take the time to write understandable lenguage.

    Please think carefully about what you have just written, then consider how your posts might appear to others.

    As a compromise, send me your, billing informtion and I will, when paid hourly, gladly spend the time to decipher your gibberish.

    Dispensing gibberish remains free, though?

  • Erik

    Dude..its more like I save 10 seconds writing gibberish...and only YOU spend 25 seconds trying to figure it out...u(you) make me feel like i write complicated algos(oops...algorithms...sorry) like John Nash and leave them for you to decode...well..i wud have paid you if tat was the case...neways dude...i can still pay you to shut up..because everytime you write these kind of posts in a thread...then 100 people waste 10secs each when they come across your countless useless posts...and eventually they just skip your post when they read your name...you might wanna work on that...and hey, I hope my language was right in this post...

    Thank you
    yours truly(haha)
    cooded

  • maybe the forum guys should add a new button for people labelled "DISS ERIK".

    maybe it should be big, so people can see it and hit it quick. maybe it should ne very big.

    i think it would be used a lot.

  • Dude..its more like I save 10 seconds writing gibberish...and only YOU spend 25 seconds trying to figure it out...u(you) make me feel like i write complicated algos(oops...algorithms...sorry) like John Nash and leave them for you to decode...well..i wud have paid you if tat was the case...neways dude...i can still pay you to shut up..because everytime you write these kind of posts in a thread...then 100 people waste 10secs each when they come across your countless useless posts...and eventually they just skip your post when they read your name...you might wanna work on that...
    and hey, I hope my language was right in this post...