PWM capture in 4 channel using P89V51RD2

Discussion in 'Programmer's Corner' started by santhumvjain, Apr 22, 2011.

  1. santhumvjain

    Thread Starter New Member

    Apr 22, 2011
    Hello All,

    Hope everyone is busy building cool robots ..... I am trying to connect a Futaba R2004GF radio receiver to my p89v51rd2 and to read the 4-channels, and looking for some help regarding this topic. Trying to use PWM Capture method(PCA modules) to read the pulse width of R/C channels. The codes provided include PWM functionality but I have not seen any code for PWM Capture to measure incoming pulse widths(on time) continousley. The idea is to use interrupts to do the work in background and not to burden the control code.

    Can any one who has successfully connected a R/C receiver to P89V51RD2 help by sharing some code?

    Any help would be appreciated.