Tag Archive: source code

**UPDATE: Lauszus has updated the library to work with the Panasonic and JVC Protocols. See the link to his version in the comments below. Big thanks to him for sharing 🙂

Here is the Arduino IR library with working Panasonic protocol support that people have been asking about. I have also included a very basic sketch that will send the “Power” code to turn the TV on/off. Please be VERY AWARE that this is the OLD Panasonic protocol that has been implemented. That’s the reason the video uses my crappy 20″ TV instead of my new bigscreen. I may decide to implement the new protocol one day, but I just have too much on the go right now to pull it off. Enjoy!

I’m just posting this since the post about my Arduino + MAX-7456 board still seems to be getting a fair bit of attention. I gathered up the code linked to in my original blog post and have uploaded a .zip with the library files as well as a test sketch that uses it. I haven’t taken a close look at this code in a long time, and I never did get around to fixing it like I wanted to. Since I’ve abandoned the Arduino in favor of the Rabbit for my access system solution it became apparent that this wasn’t something I was going to pursue anymore, but I figured I’d release what I did mash together for what it’s worth. It’s a pretty sloppy implementation as I just wanted to test proof-of-concept code to get it working quickly. It works by passing a massive array to a function (1 element for each character location available w/ the MAX-7456, don’t recall what that is right now). I had originally intended to modify the code so that it could work with the string library, keep track of it’s current position and allow a “MoveToLocation(int x)” type procedure to clean stuff up, so feel free to go ahead and do that and share it with everybody 😀

NOTE: Those of you interested in PAL: Go to my original blog post (link above) and look at the code linked. You will see a crapload of DEFINE blocks that are enclosed in comments. One set of comments contains a set of variables used for PAL, the other for NTSC. IIRC you can simply swap the values for PAL to replace the NTSC values in the library and it should work just fine. I think a few little things change, like # of chars that will fit on the screen, so you might have to play with that a bit, but it should be pretty straightforward.