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.
if you want to connect the 9th device, you have to make lot of modification to the code.
in PORT C only 8 Pins are available.
you have to modify the Tx ASM code also.
its simple to use serial interfce (USART). it need only two pins.
if you don't know ablout the interfaces like serial, SPI or I2C. connect any IO port of the two ICS and transfer data as your using it for a switch or LED.
which c compiler you are using.
there is no remedy for interferences.
Normal IR remotes will work + or - 30 degree angle only. if its a small area, refleted ir rays from walls also trigger an interference.
Use Photodiodes. every LDRs you buy will vary in charateristics eventhough its from the same shop and batch.
so its very difficult for you to make a judgement based on LDR value.
mount the five photodiodes in a half round manner. use ADC to covert the analog output of Photodiodes to digital...
I can't say your code supports any remote code decoding by just looking the Hex file.
your second thred Making IR Receiver using PIC16F84, ability to control 4 Different relays https://www.edaboard.com/threads/193286/#post810854 will surely work and decode RC5.
use any 90 channel remote.
Re: Making Infra Red Receiver using PIC, HAVE THE CODE JUST LITTLE MODIFICATION NEEDE
Your program works in toggle mode.
if you really don't want to use 8 relays. the best way is to connect only 4 relays to the circuit, leave other connections open.
similary connect only 4 switches in the Tx...
just mount a magnet on the table
refer these links, you will get an idea.
Hall effect sensor - Wikipedia, the free encyclopedia
**broken link removed**
use memory address 0x2100
#rom 0x2100={0,0,0} // eeprom memory address for dumping data in to EEprom memory.
use write_eeprom and read_eeprom functions.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.