Now it's clear to me that infrared differs from others lights only in the wavelenght.
Is there any sensor that can read 38kHz of green light wavelenght?
An infrared LED will emit light with a specific wavelenght but the frequency is not necessarily related to the wavelenght.
If the wavelenght is 1 meter, the frequency cannot be calculated just from the frequency. We would need to know the period of that wavelenght to get the frequency.
A wavelength of 1 meter can have different frequencies depending on the period of each wavelenght, right? Am I so wrong?
I have here in my arduino kit an infrared sensor and it reports HIGH only when infrared light is emited with frequency of 38kHz.
if infrared LED already emmits 38kHz (as you say)
If you were right, turning on the infrared led would be enough to activate the infrared sensor
Grumpy maybe I am so wrong... but I am getting really upset. Look: if infrared LED already emmits 38kHz (as you say) would do I have to send 26 period wavelenghts manually? Look, in my code I send 13 microsecnnds of high and 13 microseconds of LOW in order to my infrared sensor (and my TV infrared sensor) reads it. If you were right, turning on the infrared led would be enough to activate the infrared sensor BUT NOT. I need to turn on/off my infrared light precisely at every 26 microseconds in order to my infrared sensor reports it. What is wrong?I understand what you said that the speed of the wave should be the same, I never thought that way. If speed is the same so wavelenght is indeed related to the frequency directly. But please read the above paragraph and tell me what is wrong.