Thanks Jorgen.
I'm glad it's now working for you.
You are not limited to 10 buttons, you can add another switch command macro for an additional 10 switches.
If you want to create a transmitter, I would not use AVR if I was you as PWM frequencies not using the component I created is way too coarse.
I might modify the NEC component to use the same code as High Res PWM as components can read fcdx files to retrieve the data from them.
I did that with High Res PWM to determine what the target device is.
One thing about your modified project, the RAW user macro you are not currently using has a 200 second delay within it.
I don't want that to catch you out.
Let me know if you can think of any useful additional functions for the NEC IR component.
NEC RX & TX Component
-
medelec35
- Valued Contributor
- Posts: 2391
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 759 times
- Been thanked: 825 times
-
jgu1
- Posts: 951
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 875 times
- Been thanked: 214 times
Re: NEC RX & TX Component
Okay, thanks Martin.
Yes, I was thinking about that and adding another Switch Command macro.
Regarding a transmitter, I’ll use the small one for now, but that’s a good tip.
About the RAW macro, it was there to read the commands from the other buttons. And yes, 200 seconds is a very long time!
There has been a little mistake — it was supposed to be milliseconds. I’ll remove it now when I expand the project.
I have 13 power sockets in my living room that I can control individually (also with a remote control). They have been working for many years, but lately there have been a few occasional failures. They are probably due for replacement, and when I replace them, I’m planning to use your NEC component in Flowcode.
Thanks again for your help, Martin!
Yes, I was thinking about that and adding another Switch Command macro.
Regarding a transmitter, I’ll use the small one for now, but that’s a good tip.
About the RAW macro, it was there to read the commands from the other buttons. And yes, 200 seconds is a very long time!
I have 13 power sockets in my living room that I can control individually (also with a remote control). They have been working for many years, but lately there have been a few occasional failures. They are probably due for replacement, and when I replace them, I’m planning to use your NEC component in Flowcode.
Thanks again for your help, Martin!