tag:blogger.com,1999:blog-4474580574529252327.post3669048744711092300..comments2024-01-31T08:49:41.013+01:00Comments on Embedded Engineering : NEC Protocol IR (Infrared) Remote Control With a MicrocontrollerGaurav Singhhttp://www.blogger.com/profile/17880871396648321687noreply@blogger.comBlogger67125tag:blogger.com,1999:blog-4474580574529252327.post-13425639632691680502020-05-28T17:35:25.332+02:002020-05-28T17:35:25.332+02:00YOU GOT LSB FIRST MSB LAST , THATS WHY YOUR LSB BE...YOU GOT LSB FIRST MSB LAST , THATS WHY YOUR LSB BECAME MSBAnonymoushttps://www.blogger.com/profile/05338600461540524348noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-43216500399612874232019-10-21T19:29:44.606+02:002019-10-21T19:29:44.606+02:00Sir,
I make both are remote and receiver.I check a...Sir,<br />I make both are remote and receiver.I check all connection properly, all are correct but the circuit is not working.I use the micro controller PIC12f615 for remote and PIC12f675 for receiver.I have a doubt in this micro controller,This micro controller with programmed or without program.Please clarify this problem.Anonymoushttps://www.blogger.com/profile/12957649503134055247noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-16664089071344598302019-08-07T21:26:37.088+02:002019-08-07T21:26:37.088+02:00I use MPLAB IDE V8.92 and HI-TECH V9.8 and V9.83 ,...I use MPLAB IDE V8.92 and HI-TECH V9.8 and V9.83 ,but errors are yetyraeisihttps://www.blogger.com/profile/05178524038673019731noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-54991930054997389482019-08-07T19:52:47.813+02:002019-08-07T19:52:47.813+02:00hi dear
i compile this project but these error sho...hi dear<br />i compile this project but these error show:<br />please hlpe<br />Executing: "C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\bin\picc.exe" --pass1 "C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c" -q --chip=12F615 -P --runtime=default --opt=default -D__DEBUG=1 -g --asmlist "--errformat=Error [%n] %f; %l.%c %s" "--msgformat=Advisory[%n] %s" "--warnformat=Warning [%n] %f; %l.%c %s" <br />Error [192] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 44.5 undefined identifier "INTCONbits"<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 44.20 struct/union required<br />Error [192] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 48.5 undefined identifier "GPIObits"<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 48.19 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 51.22 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 55.25 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 58.22 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 62.25 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 65.22 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 69.25 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 72.22 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 76.25 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 79.22 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 84.15 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 85.17 struct/union required<br />Error [192] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 92.1 undefined identifier "CMCON0bits"<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 92.17 struct/union required<br />Error [192] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 95.1 undefined identifier "OPTION_REG"<br />Error [192] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 109.1 undefined identifier "INTCONbits"<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 109.17 struct/union required<br />Error [196] C:\Program Files (x86)\HI-TECH Software\PICC\9.80a\samples\NEC IR Remote_2\NEC IR Remote\main.c; 110.17 struct/union required<br />Advisory[1] too many errors (21)<br /><br />********** Build failed! **********<br /><br />yraeisihttps://www.blogger.com/profile/05178524038673019731noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-32190707227760172342019-04-06T09:56:41.534+02:002019-04-06T09:56:41.534+02:00Dear Sir
I found the project very interesting, it...Dear Sir <br />I found the project very interesting, it is working very well but can we make it faster (the turn off time) at the "momentary on" mode?<br />Thanks in advanceKostashttps://www.blogger.com/profile/15181732583447819044noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-81043805257691578652019-01-09T12:13:42.614+01:002019-01-09T12:13:42.614+01:00Can I use TSOP28238 instead of TSOP1738. What chan...Can I use TSOP28238 instead of TSOP1738. What changes I have to do in software if I want to use TSOP28238 IR remotesagarhttps://www.blogger.com/profile/02332505818086677731noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-33735839549873636822017-07-18T01:52:42.800+02:002017-07-18T01:52:42.800+02:00thanks bro good job thanks bro good job Anonymoushttps://www.blogger.com/profile/14529749626647524903noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-13630764290600693542016-11-15T17:29:15.837+01:002016-11-15T17:29:15.837+01:00Sir if i want to connect a relay to GPIO 5 and to...Sir if i want to connect a relay to GPIO 5 and toggle it , kindly let know how to modify the receiver code.<br />i tried removing the lines LED =1 and LED =0 and also instead of LED = GPIO5 i made RELAY5 =GPIO5, but not working. please guideAnonymoushttps://www.blogger.com/profile/06400138876105435722noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-23208898457646919972016-11-07T13:34:53.579+01:002016-11-07T13:34:53.579+01:00you need to install hi-tech c compiler.you need to install hi-tech c compiler.Gaurav Singhhttps://www.blogger.com/profile/17880871396648321687noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-90763141605778925252016-11-06T05:33:33.623+01:002016-11-06T05:33:33.623+01:00Hello sir pls
any one can give me header file of ...Hello sir pls <br />any one can give me header file of pic remote control<br />E mail-- Harjeet.bhati66@ gmail.com<br />Anonymoushttps://www.blogger.com/profile/12393144676422005409noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-43438633302326076222016-10-06T22:13:27.512+02:002016-10-06T22:13:27.512+02:00Thanks a lot!
Can you tell the applications of thi...Thanks a lot!<br />Can you tell the applications of this project? Where can i use this detection of NEC protocol bits concept in any major project?<br />I need some ideas for college major project.Can you pls suggest some new and innovative idea for final year project?<br />Kindly help me out!<br />thanks in advance!<br />(stream-electronics) Anonymoushttps://www.blogger.com/profile/04858446613405061418noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-12305352043066913702016-10-06T13:53:28.901+02:002016-10-06T13:53:28.901+02:00Thanks a lot!!!! =)
Can you tell me some major app...Thanks a lot!!!! =)<br />Can you tell me some major applications of this project? Like after decoding of this nec protocol where can i use this further?<br />Also do you have any new ideas of projects based on FPGA which are not yet implemented anywhere.I need unique ideas for my college major project.Kindly help me out.<br />Thanks in Advance!!!Anonymoushttps://www.blogger.com/profile/04858446613405061418noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-58680999308518699862016-10-06T07:50:13.161+02:002016-10-06T07:50:13.161+02:00Type of detector you need to use depends on your t...Type of detector you need to use depends on your transmitter modulation frequency, I use TSOP1738 because my transmitter modulate at 38kHz, you can use any one you like, but modulation frequency will change<br /><br />I habe already implemented NEC decoder on xilinx fpga using verlilog find more details in this link <br />http://www.circuitvalley.com/2015/10/xilinx-FPGA-board-NEC-IR-receiver-decoder-VerilogHDL-VHDL-wireframe-spartan.html?m=1Gaurav Singhhttps://www.blogger.com/profile/17880871396648321687noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-71468174993794355032016-10-06T07:20:38.060+02:002016-10-06T07:20:38.060+02:00For nec protocol detection which ir receiver i sho...For nec protocol detection which ir receiver i should use? TSOP1738 will do? I am implementing similar proejct using FPGA? Also can you please tell me the algorithm of the program?How did you detect each bit and after detecting how you proceded further for detecting command bits? <br />Pls rply ASAP!!<br />Thanks in advance!Anonymoushttps://www.blogger.com/profile/04858446613405061418noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-15185440799125996652016-06-22T14:15:48.648+02:002016-06-22T14:15:48.648+02:00hi sir can not compile for....12f629 or 12f675hi sir can not compile for....12f629 or 12f675makhttps://www.blogger.com/profile/15438997245964676779noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-2252863926947149052016-05-10T18:23:11.601+02:002016-05-10T18:23:11.601+02:00Sir how to extend 4 channel into 8 channel can u p...Sir how to extend 4 channel into 8 channel can u please help me Mr.gauravAnonymoushttps://www.blogger.com/profile/00461740933087939970noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-23777426628803749852016-04-11T07:49:36.560+02:002016-04-11T07:49:36.560+02:00Good work by Gaurav Chaudhary...Good work by Gaurav Chaudhary...Anonymoushttps://www.blogger.com/profile/13506220629819207253noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-2055170761395451032016-04-07T14:40:39.079+02:002016-04-07T14:40:39.079+02:00I loaded same code and SEND sendFrame(0x80, 0x3B)...I loaded same code and SEND sendFrame(0x80, 0x3B)(10000000 00111010) and ON Receiver side i got 01DC (00000001 11011100)<br />why this was Happend?? Please suggest MeAnonymoushttps://www.blogger.com/profile/07414428448816892753noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-19098824069992039962016-01-30T07:15:09.005+01:002016-01-30T07:15:09.005+01:00please look at the post blow for PIC16F877A receiv...please look at the post blow for PIC16F877A receiver, it has IR ,many relay output and some other functionality , if you want you can remove those functions in code ,if not then just use only one output you want and ignore reset of them, <br /><br />http://www.circuitvalley.com/2015/01/remote-ac-fan-dimmer-microcontroller-relay-control.htmlGaurav Singhhttps://www.blogger.com/profile/17880871396648321687noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-48462678893506861832016-01-29T18:55:40.225+01:002016-01-29T18:55:40.225+01:00can you please give me the program to dump on pic1...can you please give me the program to dump on pic16f877a for controlling single led using ir remote using nec protocolNehahttps://www.blogger.com/profile/06249423245341428165noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-85046365961427512232016-01-01T14:08:31.697+01:002016-01-01T14:08:31.697+01:00Hello Sir, First of all i would like to say thanks...Hello Sir, First of all i would like to say thanks to you for sharing such a great work with us, your all post are amazing, i hope in future we expect some more interesting project here, i have tried many of your project they work fine but facing some issue with remote projects like "NEC Protocol IR (Infrared) Remote Control With a Microcontroller" & 12 Channel Relay + 2 Channel Dimmer control" i think there is some issue with ir signal because "12 Channel Relay + 2 Channel Dimmer" work fine with key kindly suggest me how can i change remote codes in project to make it work with remote, i am using cheap nec remote(well Known carMP 3), please guide me, ThanksAnonymoushttps://www.blogger.com/profile/07312678383541878479noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-90754409184302123442015-12-16T11:26:07.375+01:002015-12-16T11:26:07.375+01:00it is not possible to connect TSOP1738 directly to...it is not possible to connect TSOP1738 directly to UART with NEC protocol, either you transmit in UART format or receive over NEC and retransmit over UART . Gaurav Singhhttps://www.blogger.com/profile/17880871396648321687noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-49026019823544271172015-12-15T12:53:02.761+01:002015-12-15T12:53:02.761+01:00congrats for ur amazing project.sir, i m working o...congrats for ur amazing project.sir, i m working on remote control based project by using nec protocol(vire remote)...i want to decode data from tsop 1738 which is send by the remote..for decoding purpose can i do serial communication between Real term software(pc software for serial communication)and tsop1738.i have set so many different baud rate (like 2400,1200,900,9600,384008N1)but i couldn't able to receive desire output....shall i use the microcontroller for decoding purpose...plz guide me sir..i will be greatful for ur kind supportAnonymoushttps://www.blogger.com/profile/02181281109149272849noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-2322280171620772222015-08-20T11:39:48.264+02:002015-08-20T11:39:48.264+02:00Dear Mr. Gaurav,
Thanks for this nice project and ...Dear Mr. Gaurav,<br />Thanks for this nice project and it is absolutely working fine.<br />Instead of IR modulation I like to send these NEC codes through RF.<br />For this, I understand that plain HEX code,w/o modulation, is required to come out of the<br />Tx PIC 12F615 and so, no IR modulation frequency, 38KHz generation is required.<br />I do not know whether it is possible that by disabling some instructions in your program, generation of 38KHz will be stopped & plain Hex codes as per the switch, comes out of Tx PIC.<br />If possible kindly show me, if not I like to have your advice.<br />Kindly note that I am totally new to programs & want to transmit NEC protocol only as I have learn it from your write-up.<br />Regrds,<br /><br />D. GhoshD. Ghoshhttps://www.blogger.com/profile/08701079399707161811noreply@blogger.comtag:blogger.com,1999:blog-4474580574529252327.post-35575876991890935632015-01-27T23:25:16.184+01:002015-01-27T23:25:16.184+01:00with pickit2 .
with pickit2 .<br />Anonymoushttps://www.blogger.com/profile/01243903802664092345noreply@blogger.com