Here's some code that demonstrates how to receive codes from a handheld remote control unit. I've used both a Sony TV remote which I got for $2.00 from All Electronics, and also a universal remote set to Sony TV mode. The program gets both the device number and the key number, and also translates the key number to English. The received results are displayed on an LCD.
What device are you using as your IR input? Connection and pull ups?
May I use the code in the new help file as an example of SELECT CASE?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2014-02-14
Yes, feel free to use this any way you want. Attached is the schematic with the connection details. I got the IR receiver for fifty cents several years ago from All Electronics.
Hello Thomas Henry!
This is a super project. How long are creating a program code?
Why did you choose sony remote control?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2014-02-28
Hi Janis,
It didn't take very long to whip up the code at all. That's how easy Great Cow Basic is to use. I don't think it took more than hour or two to get it working.
The only reason I picked the Sony controller was because I found it surplus for $2.00 from All Electronics! I feel certain you could modify the coding to work with most any controller.
Thanks for your comments,
Thomas Henry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you!
I would like to create a program code for any IR remote. Read any IR remote control code and saved in EEPROM, then the pre-programmed with the remote control keys could change the value of the necessary bits.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
Here's some code that demonstrates how to receive codes from a handheld remote control unit. I've used both a Sony TV remote which I got for $2.00 from All Electronics, and also a universal remote set to Sony TV mode. The program gets both the device number and the key number, and also translates the key number to English. The received results are displayed on an LCD.
Thomas Henry
Very nice.
What device are you using as your IR input? Connection and pull ups?
May I use the code in the new help file as an example of SELECT CASE?
Yes, feel free to use this any way you want. Attached is the schematic with the connection details. I got the IR receiver for fifty cents several years ago from All Electronics.
Hello Thomas Henry!
This is a super project. How long are creating a program code?
Why did you choose sony remote control?
Hello Thomas Henry!
This is a super project. How long are creating a program code?
Why did you choose sony remote control?
Hi Janis,
It didn't take very long to whip up the code at all. That's how easy Great Cow Basic is to use. I don't think it took more than hour or two to get it working.
The only reason I picked the Sony controller was because I found it surplus for $2.00 from All Electronics! I feel certain you could modify the coding to work with most any controller.
Thanks for your comments,
Thomas Henry
This code is now included in the new Feb 2014 Help File.
:-)
See https://sourceforge.net/p/gcbasic/discussion/579125/thread/d659c6fc/
New help files I can not open content! Content index on left is visible, but when you open it, help description is not visible!
You need to move the file to a Windows trusted location or change the security of the file to be a trusted file.
Select the downloaded file, select Properties/General Tab/Select Unblock.
Last edit: Anobium 2014-03-04
Thank you!
I would like to create a program code for any IR remote. Read any IR remote control code and saved in EEPROM, then the pre-programmed with the remote control keys could change the value of the necessary bits.
Get busy!! This is a great idea.