Hellomy class has a project on making a Elegoo car to complete tasks & using things like 3-d printing,etc. My one problem is I have my Ir remote control car program that doesn't really work. After using the library , and even may other codes the best was the one from the website. All it allows me to do is to just move the left wheels, it does back,forward,etc all good, it's just that the right doesn't work AT ALL. I even tried seeing if it was the motor control (fine). And even did an auto go in which all the wheels worked. I have no idea and tried for hours to figure it out. I'll leave the code below, and ask that you might help me in what i'm doing wrong.
#include
I can confirm that it was not motor control (the part connected to the arduino uno) because when I did an auto go (a program that I plugged in to the elegoo car) all 4 wheels were turning and doing the execution. However, when I plugged in the Inferred Remote Control code (pasted above) the best when testing it (running off battery power) was 2 wheels being able to move forwards,backwards,left,right,and stop, while the right one sat there with no movements, so it must be the programming. however, while working on and even changing diffrent inputs like High/Low in some video's, it didn't work that is why i'm wondering if it's something to do with in input plugs. I read a post about how the input 12 plug is an interrupter to the code running, but i'm not sure.
Title basically surmises the question, but just to clarify. What language or languages are used for programming remotes for multimedia setups like home theater systems? Is it a scripting language? Are there SDKs?
Here's an example I'm pondering. Someone wants a high end theater installed. They get A/V consultants to come in and have the remote do something special, like dim the lights, turn the TV on in 5 minutes and switch inputs. All of this seems custom to the client. Does the A/V consultant go back to the shop, tell his requirements to the programmer and the programmer rights some assembly to make it happen?
The language is most likely Assembly (maybe C if your lucky). Don't expect to see a remote that uses a scripting language. Scripting Languages are great for writing everyday programs but when it comes to writing software to interface to hardware you run into a wall. Scripting Languages try to protect you from low-level stuff (like pointers). When writing software for a remote you need low-level stuff.
A remote is almost certainly perceived of as a device, not a programming platform. This means that the programming will be done in a way that is cheapest to fit into the device, since the cost of getting the programming done is much less than the cost of giving every device additional computational power. The remote is almost certainly not capable of being reprogrammed in any other way than swapping out a chip or larger component.
There are software development kits for programming chips used as microcontrollers, although they're not likely to have special features for remotes and the like. They're likely to come from the chip vendor, although I've seen third-party kits for sale. They may not be cheap: when you're going to ship a half-million units you're probably doing everything you can to get production costs down and not caring as much about the fixed costs.
The 4 "Streaming Player" codes that can be entered for the ROKU per the Monster 8-Device universal remote are 1966, 1992, 7009, and 7003. Starting to believe there is a printing error and the codes are for ROKU TV. FYI, the two codes 7009 & 7003 are also listed for "Video-Accessory".
Although 2 of the 4 codes will work for the ROKU, then the TV does not work so the code for the Samsung TV has to be re-entered to return to the TV. Then, when returning to the ROKU, the code for the Express has to be re-entered to navigate the ROKU. Just becomes a viscous circle. Therefore, unless a solution is found, I am back to using two remote controls; one for the TV and one for the Roku.
Thanks to Tivoburkee stating "The Express or any stand alone Roku would not respond to the Roku tv IR code, they are completely different.", I decided to attempt a different approach other than manually entering the 48 possible combinations from the 4 ROKU codes that each worked when manually entered separately, and the 12 different Samsung TV codes that each worked when manually entered separately.
When manually entering the code first for the Samsung TV, followed by manually entering the code for the ROKU, the code for the ROKU would prevent the remote from performing functions for the TV. When the Samsung code was re-entered for the TV, the remote was prevented from performing functions for the ROKU. Therefore, a compatibility issue appears to exist between my Samsung TV and ROKU Express when manually entering the codes.
Since two of the four ROKU codes under 'STREAMING PLAYER' were also listed under 'VIDEO-ACCESSORY in the reference sheet, I decided not to try those two codes which reduced the total number of possible code combinations to 24. However, I did not want to spend the time trying each of the 24 possible combinations. Therefore, decided to try a hybrid approach.
The approach I tried was to first perform an automatic brand search for the TV by pressing the 'TV' button on the remote, and while depressed, pressing the '4' button which correlates to Samsung TVs from a table provided in the instructions for the remote. When the light flashed once, I continued to press the two buttons. After a couple seconds, the buttons started to flash which indicated a code was being accessed. I continued to press the buttons until the TV turned off which indicated a code had been found and stored. The remote was then used to turn on the TV and EVERY button performed its function.
The next step was to manually enter the 4-digit code for the ROKU. So I pressed the 'AUX1' button and after it flashed, released it. Then pressed and held the 'SET' button until its light illuminated and was steady. Finished this step by entering the 1st of the two 4-digit ROKU codes (1966) into the remote. When the light went out, the code was saved. I then entered the 2nd ROKU code (1992) for the 'AUX2' button. The remote now appears to work for the TV or when switched to the ROKU.
The only function that does not work on the Monster remote is the "GUIDE" button when in the TV mode. Since the 'GUIDE' button works when using the original Samsung remote, it appears an incompatibility issue exists with the ROKU code that prevents the 'GUIDE' button from performing its function when in the TV mode. Similar to the volume issue that use to exist with remote controls many years ago after entering a VCR code for many different brands of TVs.
Other than the function for the 'GUIDE' button being disabled after the code for the ROKU is entered, and having to place a strip of scotch tape along the side of the battery compartment lid, the Monster remote is not a bad inexpensive alternative solution for replacing two remote controls. Works well.
I don't know thing about this remote only seeing it from the pictures, there are two device keys at the top TV & Cab, and six more at the bottom. So are simply programming the tv device with tv code and then reprogramming for the roku? There must be instructions on how to program one of the other device keys with working roku code? You're the only one who can answer this.
Does not matter which universal remote is used. An old GE, Gemini or Samsung remote can navigate the ROKU using one of the codes which remain the same. However, it then prevents the TV from responding. Then the code for the TV has to be re-entered which halts the ROKU. Why I believe the codes are for the ROKU TV.
The Express or any stand alone Roku would not respond to the Roku tv IR code, they are completely different. You want universal, go with One-For-All urc-7880 or the Inteset 422-3 universal remotes made by UEI.
3a8082e126