ЧП Ворон. Электронные компоненты и радиомонтажное оборудование. Микросхемы, транзисторы, реле, резисторы, конденсаторы, паяльное оборудование, припой.
Корзина пуста!
ВХОД ДЛЯ КЛИЕНТОВ

Забыли пароль?
Зарегистрироваться
Поиск:

Enter a search string or click on the microphone icon and begin speaking.

×
История запросов
ваша история поиска пуста
Whole catalog Development toolsModulesRemote control modules
Код товара:
022127

IR remote Power ON, OFF - 2 buttons

IR remote control
Two buttons.
IR remote  Power ON, OFF - 2 buttons
NOT available.
Expected price: 72,76 UAH
from 1 pc : 72,76 UAH
from 10 pcs : 65,39 UAH ( -10,1%)
Prices are indicated at the time of product availability and may change upon receipt

Current balances:

NOT available

Изображение товара

Product description format_size zoom_out zoom_in

IR LED remote control. Has 2 buttons ON and OFF. Power supply - CR2025 battery. Battery included. Size 85x40x5 mm.
Designed to create your own devices with remote control. Transmission frequency 36 kHz, as a receiver you can use IR receiver TSOP4836 .

Usage example

Arduino connection diagram:


Code for reading from remote control:

To process the data transmitted by the remote control, we use the IRremote library. It can be found on the Internet or in the Arduino IDE Sketch-Connect a Library-Manage Libraries .. in the Library Manager in the search bar, type "IRremote" without quotes and install the library.
Next, paste in the code:



Having opened the serial port and clicking on the buttons, we will see the following:


We get three codes in hexadecimal format: FF02FD and FF9867, as well as FFFFFFFF. Your codes may differ from these. It all depends on the remote control. The first two values ​​are the codes of our buttons, the third is the repetition code. If you hold down the button for a long time, the repetition code will be sent over and over again.
We use the received data, for example, to turn on/off the LED built into the Arduino. Our code will look like this:



Now, by pressing alternately the ON and OFF buttons on the remote control, we will turn on/off the LED.
Thus, you can use various remotes, for example this one: remote control 3 buttons . Also, this code can be easily changed to control another external device, by reassigning the Arduino pin with the LED to another pin.

Предлагаемые замены

Leave your feedback or ask a question

Only this product is discussed here. Off topic comments will be deleted! Please follow the Commenting Rules.

The data presented in the product description are for reference only and may differ from those indicated by the manufacturer.
To carry out technical calculations and obtain the exact parameters of the goods, use the datasheets from the manufacturer's website.

If you need additional information, or you found an error in the description, or have other questions about this product, then our manager will help you: Денис - Днепр unknown