infrared

ConsumerIrManage.hasIrEmitter() always returns false (API 19)

泄露秘密 提交于 2019-12-17 22:33:08
问题 I call ConsumerIrManager.hasIrEmitter() on my LG G2, but it always returns false . According to the documentation on Infrared transmitters: When running on a device that includes an infrared (IR) transmitter, you can now transmit IR signals using the ConsumerIrManager APIs. To get an instance of ConsumerIrManager , call getSystemService() with CONSUMER_IR_SERVICE as the argument. You can then query the device's supported IR frequencies with getCarrierFrequencies() and transmit signals by

Sending IR signal from Arduino to F&D speakers

梦想与她 提交于 2019-12-13 07:16:27
问题 I am using below code to send an IR signal to my speaker but they don't respond. #include <IRremote.h> IRsend irsend; const int buttonPin = 8; // the number of the pushbutton pin //const int ledPin = 3; int buttonState = 0; // variable for reading the pushbutton status void setup() { // pinMode(ledPin, OUTPUT); // initialize the pushbutton pin as an input: pinMode(buttonPin, INPUT); Serial.begin(9600); } void loop() { buttonState = digitalRead(buttonPin); // check if the pushbutton is pressed

Kinect Infrared Camera Not working

北城余情 提交于 2019-12-11 13:43:47
问题 I am using the Kinect 2 with the newest available SDK version 2.0. Everything works except IR, tested it with both SDK infrared demo example and Kinect Studio, both result in a black screen. I also looked at the code and capturing Kinect IR frames does not result in any errors, it just consists of all minimum values. This is quite weird, as I thought IR was used to calculate depth and I can successfully read depth information. Also, I checked (with my cellphone camera) that the IR emitter is

How to determine checksum from decoded IR remotes

十年热恋 提交于 2019-12-11 06:32:40
问题 I have a small 3.5ch USeries helicopter controlled by an IR remote control, using an Arduino I have decoded its 32 bit protocol. Except for last 3 bits which appear to be some form of checksum. As I have successfully decoding the channels from the remote, in that they track their corresponding controls, I can see that slight changes in the controls yield specific changes in the 3 bits, that are very reproducible and deterministic. Whereas I have not yet found a common theme or formal to

iOS and Infrared

久未见 提交于 2019-12-10 18:29:58
问题 Is it possible to communicate with an Infrared device (USB Infrared, TV, Mobile Phone, etc) using iOS (iPhone or iPad)? Well, i know it's possible, since there are many remote/universal remote applications in the AppStore. I basically want to know how? What are the limitations and requirements? What kind of additional hardware is required? If it's available in the market? Which protocols should i know about? Which iOS libraries can help me in the process. Can anyone point me in the right

Thermal imaging palette

爷,独闯天下 提交于 2019-12-10 02:56:14
问题 Since the early days of thermal imaging, infrared cameras often use a distinctive palette that runs from black through blue, magenta, orange, yellow to bright white. This palette is often called Iron , or Ironbow . Here is a typical false color visualization of an image taken with a forward looking infrared camera (source: Wikipedia). "Termografia kot" by Lcamtuf - a typical false color infrared On a specialized infrared imagery forum I've found a post from 2005 with a discrete palette that

Can iPhone camera see infrared light?

偶尔善良 提交于 2019-12-07 16:36:16
问题 I know it exists for some Android devices, but can also an iPhone (4, 4S, 5, 6...) "see" and display infrared light that is captured by its camera? 回答1: So apparently only the front camera (the one facing you) allows it. (The back one filters infrared). Point a tv remote control to the front lens with Camera app on and you'll see the little precious beam. Found it here: http://www.instructables.com/id/See-Infrared-LED-Light-with-an-iPhone-4/ 来源: https://stackoverflow.com/questions/28011609

IR Remote control app

泄露秘密 提交于 2019-12-07 15:57:19
问题 I'm making a remote control app with 6 buttons which works with samsung tv's. For kitkat I used the new api ConsumerIRmanager but I want the app to work with jellybean also so the app works great for kitkat version but it won't start on jellybean here is the code: public class MainActivity extends Activity { Object irdaService; Method irWrite; SparseArray<String> irData; TextView mFreqsText; ConsumerIrManager mCIR; ImageButton power; SeekBar sBar; @Override protected void onCreate(Bundle

ConsumerIrManager not working on HTC m8 lollipop

怎甘沉沦 提交于 2019-12-07 08:00:20
问题 before the official lollipop update ConsumerIrManager was working fine with the HTC m8 (And so did the official HTC IR samples from htcdev) - After update it doesnt work anymore ConsumerIrManager gives Error-16 any idea what HTC may have changed? 回答1: I recently had the same issue on the HTC One M7 once updated to Lollipop. I pulled some JARs and APKs from the phone and decompiled them to found that they are not using the ConsumerIrManager like every device is doing since Android 4.4. Worst,

How to programmatically use the mobile phone's IrDA to remote control a media player?

。_饼干妹妹 提交于 2019-12-06 11:40:12
问题 which API or library on which mobile OS is to be used when one needs to write a code to use the phone's IrDA to create the necessary impulses to remote control consumer electronics e.g. a HDD media player? Is maybe a certain mobile OS better suited for that kind of application than others? 回答1: First you need to know that IrDA is not the best choice for remote control. It can be done, but IrDA is by design high speed/low range, you can emulate low speeds but ranges (IMO) are far from