Another weekend with little time to work on the project.
During the week I'd written an analyser which took previously captured codes and worked out the commonalities. With what I learned from this, I wrote some test code to see if the real capture process worked the way I thought it did and, broadly, it does.
It's ended up being rather more involved than I wanted but I think I have a clear view of what needs to happen. Due to the inaccuracies that creep in with timing and ambient conditions the results from the IR receiver are not always identical. This means that some degree of fuzzy logic needs to exist in the learning process and fuzziness is something that's difficult for computers to do.
I managed to get as far as working out the best frequency fit for each remote control and selecting candidate signals that looked basically compatible. The next challenge is to work out when a signal is a slightly different version of one I've already received and when it's a different signal altogether. Some remotes alternate signals and so this has to be taken into account as well. This basically looks as though it should work, but some tweaking of the parameters will probably be required in order to obtain the most reliable results.
Next weekend is Easter, so I doubt much will get done, but I'm trying to make at least a little progress each week to keep the momentum going.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment