PIC16F84A Infrared project

Discussion in 'Embedded Systems and Microcontrollers' started by simoncwk, Jun 4, 2008.

  1. simoncwk

    Thread Starter New Member

    May 20, 2008
    9
    0
    The project is to design and develop an infrared remote control function code reader which has the ability to read any remote control function code from any remote controller into the PIC internal EEPROM and display back on 7-segments LED or LCD display using PIC16F84A MCU only.

    1. Press the Erase button to clear all the EEPROM and display an indication of "ready to read".
    2. Point your TV or DVD remote control device to the IR receiver module and press any button. The display should be indicate "read completion"
    3. Press the Read button to start retrieve the IR code from the EEPROM memory and display at least a 2 digits hex code.
    4. Press RESET button to reset the infrared code reader for Reading from the beginning again of perform Erase operation again.

    Anyone know how to start this project at the first using assembly language?
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Much more important to get the external hardware together and figure out how to use it. That will include interfacing it to the PIC.
     
  3. simoncwk

    Thread Starter New Member

    May 20, 2008
    9
    0
    Meaning?
    I need to build a hardware for this project
     
  4. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    At the least you need an IR receiver and I/F to read the codes into the PIC. Then you also need the I/F to drive the display. Both will entail writing drivers to handle the two devices.
     
  5. simoncwk

    Thread Starter New Member

    May 20, 2008
    9
    0
    Anyone has the asm code for this project?
     
  6. atferrari

    AAC Fanatic!

    Jan 6, 2004
    2,648
    762
    Hola Simon,

    Try here: http://www.winpicprog.co.uk/

    The tutorials are a valuable help and one of them could be certainly good for you.

    Buena suerte.
     
  7. simoncwk

    Thread Starter New Member

    May 20, 2008
    9
    0
    Thanks for intro to me the website, but i using P16F84A, the code for this MCU is different.
     
  8. simoncwk

    Thread Starter New Member

    May 20, 2008
    9
    0
    Anyone know how to display a word in P16F84A? What kind of code need to include?
     
  9. atferrari

    AAC Fanatic!

    Jan 6, 2004
    2,648
    762
    Read the introduction somewhere. The difference between both PICs is minimal and EASY to overcome.

    Nigel has been insisting to use the 16F628 as an update of the 16F84A.

    Take some time and you will see how simple it is.
     
  10. yong

    Member

    Feb 23, 2008
    27
    0
    Hi, I am also working on a similiar project.

    Here are some links which maybe helpful

    http://www.tauntek.com/irmimic-learning-ir-remote-control-transmitter.htm
     
  11. Chupo_cro

    Member

    Nov 9, 2008
    15
    0
    Unfortunately there isn't much to learn without the source code, hex or at least block diagram/flow chart :-(

    Did you make any progress? I'm trying to develop something similar too. Still figuring out the best approach to sample the waveform.
     
    Last edited: Nov 9, 2008
  12. Chupo_cro

    Member

    Nov 9, 2008
    15
    0
    These tutorials're OK but far from the project that OP'd like to do. It's much easier to work with the IR when you know the transmiter's model/protocol. What we'd like to make is to capture (sample) the IR data regardless of it's bitrate/format. That's much more complex task. Next, we have to be able to compare the new data with the captured ones stored in EEPROM (in learning mode).
     
  13. avinash_g

    New Member

    Nov 4, 2008
    7
    0
  14. Chupo_cro

    Member

    Nov 9, 2008
    15
    0
Loading...