Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pinguino 4550 - IR Remote Control Decoding
04-06-2017, 02:47 AM,
#10
RE: Pinguino 4550 - IR Remote Control Decoding
(03-06-2017, 01:01 PM)Aldeen19 Wrote:
(03-06-2017, 12:16 AM)derf158 Wrote:
(02-06-2017, 08:20 PM)Aldeen19 Wrote: [quote pid='12598' dateline='1496425705']
Aldeen,
 I will try this on V11 i am using V12 i use the hex value on thing to note in irremote.c a value needs to be changed see  the code i changed 50 to 26

Code:
// nb cycles for 50us
   _tmr_reload_val = ( System_getPeripheralFrequency() / 1000 / 1000 ); // 1us = 12 cycles @ 48MHz
   _tmr_reload_val *= 26; // 50us = 50 * 12 cy @ 48MHz
  // _tmr_reload_val *= 50; // 50us = 50 * 12 cy @ 48MHz
   _tmr_reload_val = 0xFFFF - _tmr_reload_val;

Fred, thank you for your prompt reply.
I tried changing 50 to 26 which is included in the file IRremote.c - located in the path : C:\Pinguino\v11\p8\include\pinguino\libraries but no change!  I feel sad.

Aldeen,
 i just tried the irremote in V11 with the change from 50 to 26 it works. did you decode the ir remote you have?

Fred,
With 26 uSec setting, now decoding has stopped although the USER led flashes with incoming signals. 
I tried even with a different remote unit it still the same, no decoding .. what does that suppose to mean?
[/quote]
Aldeen,
 if you change the 26usec back to 50usec can you see it on your hyper terminal? Do you have an Arduino board to try your IR receiver and  remote?
Reply


Messages In This Thread
RE: Pinguino 4550 - IR Remote Control Decoding - by derf158 - 04-06-2017, 02:47 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)