Thank you ericgibbs.hi Laodam.
I have one of these keypad remote control units, ref video and a couple of TSOP1838's.
So if you have a Sketch, we can compare results with TSOP's
E
Updated:
Fully tested with a TSOP1838, Arduino UNO and a number of Remote Controls, OK.
Thank you ericgibbs.hi L.
Do you have the receiver Sketch working with any remote sender.?
E
void loop() {
if (digitalRead(button) == HIGH) {
// Results for the first loop to: Protocol=NEC Address=0x102 Command=0x34 Raw-Data=0xCB340102 (32 bits)
uint16_t sAddress = 0x0102;
uint8_t sCommand = 0x34;
uint8_t sRepeats = 1;
IrSender.sendNEC(sAddress, sCommand, sRepeats);
///// IrSender.sendSony(0x0, 0); ///// WAS: irsend.sendSony(0x0, 0);
delay(2000);
}
}
void loop() {
if (digitalRead(button) == HIGH) {
// Results for the first loop to: Protocol=NEC Address=0x102 Command=0x34 Raw-Data=0xCB340102 (32 bits)
uint16_t sAddress = 0x0102;
uint8_t sCommand = 0x34;
uint8_t sRepeats = 1;
IrSender.sendNEC(sAddress, sCommand, sRepeats);
///// IrSender.sendSony(0x0, 0); ///// WAS: irsend.sendSony(0x0, 0);
delay(2000);
sAddress = 0x80;
sCommand = 0x45;
sRepeats = 1;
IrSender.sendNEC(sAddress, sCommand, sRepeats);
delay(1000);
}
}
Thank you ericgibbs.hi L,
Do you have model numbers our type for the IR emitters you have tried, as you may know they have different beam width for some models?
You can use small low cost lenses that will pass IR that will focus the IR beam.
https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=8606
E
https://www.photonicsonline.com/doc/870nm-narrow-angle-emitters-0001
https://www.google.com/search?sxsrf=AOaemvLxSBRKCS4CnPIHsF8gjWAIG6JHfw:1643312764505&source=univ&tbm=isch&q=UV+LED+emitters+narrow+angle&client=firefox-b-d&fir=FjZSVNP2XfjLbM%2CT6Q06RAoVhM8dM%2C_%3BjnhOc805yfDFwM%2CobFz1PTFjZiqOM%2C_%3BvZHHo_7w5s9jDM%2CY8lXblj06zaGZM%2C_%3BbxHrGJ9oVB5OfM%2CawhoYhyc_5ThYM%2C_%3BIS85qEoSnCvPvM%2CSXjyTpvjmI25WM%2C_%3BL5jlReL-wgbrJM%2CbD6I-xQNWz6q9M%2C_%3BB1na_Pc-seOaeM%2CC8X5RRifQ0WoWM%2C_%3Bv5kD3yICmi0FaM%2CRElluA1XwrTvEM%2C_%3BjrmOtJqdDPiXaM%2CMTigCx7gWNHWAM%2C_%3Bh0UuO8DcP2lXyM%2CTc6WXu1hcDtHyM%2C_&usg=AI4_-kS9GVb-WqUz5IXbcbEk7qj_IJXN_w&sa=X&ved=2ahUKEwjM3NSM2dL1AhXIN8AKHdJIBrgQjJkEegQIMRAC&biw=1447&bih=885&dpr=1
Thank you ericgibbs.Hi Adam,
With IR LED's having a Vfwd of about 1.2V you can have two in series from 3v, doubling the IR light output.
Many home TV remotes have two emitters.
E
https://www.digikey.co.uk/catalog/en/partgroup/3mm-infrared-led-emitters/11333
Thank you k1ng 1337.Are you aware of the beam angle of an LED? As you can from the first diagram of a particular LED that there is a reduction in intensity directly in front of the LED which may seem counterintuitive. The second diagram has a "narrow beam angle".
Thank you ericgibbs.hi Adam,
IR LED as sender and IR photoresistor as receiver, seems can only receive an analog signal?
Yes I would expect that when using a simple IR receiver.
2. used IR LED or module as sender and IR module like TSOP1838 as receiver can decode and receive different code, right?
Yes, you can use that sketch I posted to see the codes on the IDE serial monitor.
my test shown this type can transmission upto 5meters. But seems can't get reading varies with distance
I would say 5mtrs is a good range, what part of the reading varies with distance.?
E
Yes,Hi Adam,
Could you post a short specification of the project so that I understand what you are trying to achieve.?
E
I don't understand your question from the syntax you are using. I recommend you take more time to write out your thoughts as this will help people help you!Thank you k1ng 1337.
Actually what I expected is a emitter area of a sector of 0-180 degree like your first picture all. seems can only get it by mount many LEDs fan-shaped?
thanks.I don't understand your question from the syntax you are using. I recommend you take more time to write out your thoughts as this will help people help you!
by Duane Benson
by Jake Hertz
by Aaron Carman
by Duane Benson