infrared

How to send complex infrared hex code in arduino

微笑、不失礼 提交于 2020-01-06 03:15:07
问题 I want to use arduino to control my air conditioner I follow this instruction: http://www.instructables.com/id/Arduino-Remote-Control-Less-10/?ALLSTEPS And i test with ON button of my MP3 remote, In step two, I have result: unsigned int raw1[68] = {9000,4350,600,500,600,500,600,500,650,450,650,500,600,500,600,500,600,500,600,1650,550,1650,550,1700,500,1700,500,1700,550,1650,550,1700,500,1700,550,1650,550,1650,550,600,500,600,550,550,500,600,550,1650,550,600,500,550,550,600,500,1700,550,1700

Discover multiple USB-IrDA devices, open and connect a socket for each

♀尐吖头ヾ 提交于 2020-01-04 02:32:07
问题 For any good sockets programmers out there: Is it possible to enumerate multiple active IrDA devices connected to the PC through USB ports using sockets? If so, how? This is really my main question. The remainder of the post rounds out the details and describes what I have tried. I am developing an application on Windows 7, using Microsoft SDK and an ANSI C compiler. The application design requires it to detect any IrDA devices in range, connect using sockets, and communicate to multiple

How to wake esp8266 from deep sleep without continuous resets

时光总嘲笑我的痴心妄想 提交于 2019-12-31 10:57:11
问题 I'm building an IR to wifi bridge using an esp8266. Basically I'm building an IR receiver connected to an esp8266 inside an IR remote control, to forward received IR Remote keypresses over wifi to a server. I'm using a Wemos D1 Mini. I already have the IR decoding and network forwarding part working, but it is always on, which uses a lot of battery, especially considering that 99% of the time no buttons are being pressed. I want it to go into deep sleep when a button hasn't been pressed for a

How to wake esp8266 from deep sleep without continuous resets

妖精的绣舞 提交于 2019-12-31 10:55:51
问题 I'm building an IR to wifi bridge using an esp8266. Basically I'm building an IR receiver connected to an esp8266 inside an IR remote control, to forward received IR Remote keypresses over wifi to a server. I'm using a Wemos D1 Mini. I already have the IR decoding and network forwarding part working, but it is always on, which uses a lot of battery, especially considering that 99% of the time no buttons are being pressed. I want it to go into deep sleep when a button hasn't been pressed for a

irsend is not giving errors, but does not send signal on Raspbian

只谈情不闲聊 提交于 2019-12-25 09:19:26
问题 I am trying to build the air conditioner control system, which will allow me to control the ac's using web app. So far I have done same thing with Arduino and it worked for this particular air conditioner. I could send and receive signal so I don't think there is any problems with hardware. So far irsend is not giving me any errors, but signal is not sent, although I tried some LED testing codes using python and it worked. Here is the /etc/modules: # /etc/modules: kernel modules to load at

Gathering protocol from remote control helicopter

杀马特。学长 韩版系。学妹 提交于 2019-12-25 01:55:36
问题 I have a (S107G) mini helicopter, and an Arduino. The possibilities sounded quite fun. So I set off to find the protocol for the transfer of data from controller to helicopter with IR. I used this code to try to figure out something of it. void setup() { Serial.begin(9600); pinMode(12, INPUT_PULLUP); // 12 is IR sensor } void loop() { Serial.print(digitalRead(12) ? LOW : HIGH); delay(1); } Obviously there a number of flaws with this. delay(1); is arbitrarily chosen, I have no way of knowing

Python Lirc blocks code even when blocking is off

两盒软妹~` 提交于 2019-12-24 02:31:56
问题 I'm trying to set up a scrolling weather feed using the OWN (Open Weather Network )on my Raspberry Pi B+ running the latest Rasbian Wheezy distro and I'm having trouble adding IR support using Python LIRC (Linux Infrared Remote Control) . What I'm trying to do: There are four weather variables: condition, temperature, humidity, and wind speed . They will appear on my 16x2 LCD screen, centered with their title on the top line and value on the second. They will stay on the screen for five

What specs do I need to know to develop bluetooth (AVRCP 1.4) iPhone app

戏子无情 提交于 2019-12-20 04:36:09
问题 I am new to iPhone dev't and I am going to work on a project where I have to develop a bluetooth enabled iPhone app to control a vehicle stereo, and DVD player. The vehicle has a physical remote control (IR) and the aim of this project is to replace the IR with a bluetooth enabled iPhone app to control the functions that the IR does. Play, stop, next,previous etc... The hardware can communicate with AVRCP 1.4 . I don't know every detail but that is what I know. What knowledge do I need to

What specs do I need to know to develop bluetooth (AVRCP 1.4) iPhone app

不打扰是莪最后的温柔 提交于 2019-12-20 04:36:07
问题 I am new to iPhone dev't and I am going to work on a project where I have to develop a bluetooth enabled iPhone app to control a vehicle stereo, and DVD player. The vehicle has a physical remote control (IR) and the aim of this project is to replace the IR with a bluetooth enabled iPhone app to control the functions that the IR does. Play, stop, next,previous etc... The hardware can communicate with AVRCP 1.4 . I don't know every detail but that is what I know. What knowledge do I need to

Is it possible to capture/receive IR signals in an Android application?

[亡魂溺海] 提交于 2019-12-18 12:18:52
问题 Is there any ways to receive IR signals in android? While searching, I found ways to transmit data from Android devices. Found this one very useful: https://github.com/rngtng/IrDude So, is it also possible to receive IR signals generated by other IR transmitting devices like Remotes? If yes, i want to print those signals (hex values) in my app UI. Can anybody give some light on the issue, please... :) I'm using Galaxy S4 for development. 回答1: Is there any ways to receive IR signals in android