PuckJS Infrared - Does the case get in the way? #3351
Replies: 9 comments
-
|
Posted at 2018-05-31 by @gfwilliams The case does cover the Infrared, but it doesn't stop it completely - it just diffuses it. You'll need to be within 0.5m of the device you want to control, but then it's wireless - so usually it's not too difficult to put it within range. You can take the case off (or cut a hole) to increase range, but then the Infrared is very directional so you'll need to have the flat face of the Puck facing the device you want to control, which can be more difficult, |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2018-06-01 by lukewis Great description! Thanks Gordon! |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-04-28 by user106712 Hi @gfwilliams, I am looking for the spec for the IR transmitter on the PuckJS. I have been able to use your demo code to transmit and receive IR signals using a pair of PuckJS and 940nm transmitter and https://www.vishay.com/docs/82491/tsop382.pdf receiver using the following code to test: Line 2 works as advertised. When I use line 1 only, I cannot get any reading. I doubt the onboard transmitter is busted so it could be an incompatibility issue somewhere else? |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-04-28 by @gfwilliams The IR LED on Puck.js v1 is http://www.kingbrightusa.com/images/catalog/SPEC/APT1608F3C.pdf - but on the v2 we're moving to 2x no-brand IR LEDs. That is surprising about the lack of output though - what firmware version are you using? Older firmwares didn't push the IR transmitter as hard as they could so that may cause issues. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-04-28 by user106712 Thanks - I am using v2.05 firmware (Sep 2019 vintage PuckJS). The onboard IR LED transmits in the ~940nm (same as mine) so it's odd that the same receiver does not see it. I have now inverted the roles of the two PuckJS. Again the same phenomenon (second Puck sees the IR signal from my own LED but not Puck's). It is unlikely that the transmitter on both Pucks are faulty. But I don't have anything else to test them with. Any idea? |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-04-28 by @gfwilliams Please can you try I did update the 2v05 firmware to handle Puck.js v2 and it's possible I broke something unintentionally? |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-04-29 by user106712 Your first line (D25,D26) produces result but not (D26,D26)! I guess I will use D25,26 for transmission. A query: not sure why the first value is consistently missing (i.e. 9.0). Am I in fact transmitting the inverse pattern or am I just not understanding the IR protocol? (The definition file was captured (transmitted from a physical remote) using the same Receiver code, i.e. (from you!) |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-04-30 by @gfwilliams Sorry - that was a typo - I actually meant I'm pretty sure that'll invert the signal and give you the 1st argument back. Sorry about this - looks like I did mess up the IR transmission for Puck.js v1 on 2v05. I'll get a fix in for it now. |
Beta Was this translation helpful? Give feedback.
-
|
Posted at 2020-04-30 by @gfwilliams Ok, if you install a 'cutting edge' firmware build, this should now be fixed :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-05-31 by lukewis
Hello, I'm interested in the infrared capabilities of puckJS. I noticed that the board includes an infrared LED, but I can't tell from the pictures if the case covers up this LED? Does the case need to be off in order to use infrared?
Beta Was this translation helpful? Give feedback.
All reactions