Hi All, The rc switch example works on my remote controlled gate lock for receiving and then sending the codes from arduino.
However no luck with the Arlec remote controlled power outlet. Probably the wrong chip. This problem has probably been solved by using an Arlec library in arduino. Also with this you also need an 'arduino.h' library. I think I saw the coding on 'Github'.
Therefore I need these 2 libraries. These files must finish with 'zip' to be able to load them into the library. Thought I had the Arlec but it didn't finish with 'zip' so wasn't accepted by the library. If you look in the library you will see all the zip files together with other files I have no idea of what they are.
e.g. there is a file called IRLib2 in the library for infrared decoding.
So can anyone tell me where I can get the downloads for the above 2 libraries? thanks.
petercl14:
Also with this you also need an 'arduino.h' library.
Please provide a detailed explanation of why you think that. If you're getting any warning or error messages, then post the full and exact text of the messages here.
I don't know anything about this "arduino.h", but the Arduino core library's primary header file is named "Arduino.h" (note that file names can be case sensitive in some circumstances). If you're using the Arduino development software (Arduino IDE, Arduino Web Editor, Arduino CLI, Arduino Pro IDE) then there is no need to do anything to get the Arduino core library because it's pre-installed with each boards support package.
petercl14:
Thought I had the Arlec but it didn't finish with 'zip' so wasn't accepted by the library.
Please post a link to where you got it from.
Look, you'll have a lot more chance of getting effective help here if you'll stop being so vague.
the link for the arduino programming is github. the arlec example there has headings of arlec and arduino.h.
downloading the arlec reference from that source I got the error message 'not a valid library'. by viewing all the successful downloads in the library they all finished with 'zip'. the downloaded file did not finish with 'zip'.
The arduino examples do not have a reference to arduino.h. Then it may not be necessary to put this in every time if it is a core thing?
Talking about vague. I am not the only culprit here. From different sources in Arduino the 'rcswitch' example gives for 433mhz remote control switch both a pwm protocol and binary code protocol. I have tried binary and this does not work for the Arlec. I then tried pwm using the 'pulsein' function. this showed no pattern in pulse lengths.
This is the reason I am trying to use the Arlec special programming for their remote control switch.
The link is 'Arlec rc210 switch on the github website. This coding appears to be a send message to the Arlec remote controlled switch. You need different coding to read the data sent by the remote and then duplicate it.
petercl14:
the link for the arduino programming is github.
There are millions of pieces of software on GitHub. If you want help, you need to make the effort to provide us with the information we need to help you.
petercl14:
The arduino examples do not have a reference to arduino.h. Then it may not be necessary to put this in every time if it is a core thing?
If you're talking about Arduino.h, then that's correct. In order to make things easier for beginners, the Arduino development software automatically adds an #include directive for Arduino.h to the .ino file of a sketch if it doesn't already contain one. So some people add it to make their sketch correct C++, but it's not required.
petercl14:
From different sources in Arduino the 'rcswitch' example gives for 433mhz remote control switch both a pwm protocol and binary code protocol. I have tried binary and this does not work for the Arlec. I then tried pwm using the 'pulsein' function. this showed no pattern in pulse lengths.
Unfortunately, I'm not familiar with that subject, but someone else here on the forum might be able to comment.
But I am very much familiar with the subject of installing libraries, so if you'll provide me with that link I'll be able to help you right away.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.