Tag: NEC protocol

2 articles found.

IR / UV LED Library for Proteus: Infrared Remote and UV LEDs

IR / UV LED Library for Proteus: a 940 nm IR LED and a 395 nm UV LED driven by an Arduino UNO V4.0

Hello friends, I hope you all are doing great. Today, I am going to share the new IR / UV LED Library for Proteus. Not every LED is meant to be seen. An infrared LED sends light just beyond red, invisible to us but perfect for remote controls, obstacle sensors and night cameras. An ultraviolet LED sends light just beyond violet, used to cure glue, check banknotes and make things glow in the dark. Both are ordinary 5 mm LEDs to wire up, and both behave a little differently from the coloured ones. Our library has a 940 nm infrared LED and a 395 nm ultraviolet LED, both on our true-scale 5 mm dome. The IR LED is the clever one: since its light is invisible, its pop-up shows it to the eye and to a phone camera, side by side, and it reads the remote-control codes it sends: the 38 kHz carrier, the marks and spaces, and the full NEC frame, address and command, checked. The UV LED glows violet, with ultraviolet's own cautions on its Check page. The demo turns an Arduino into a small IR remote with a UV lamp beside it. NOTICE: Our team has put a lot of effort into these small parts: the bodies, the animation and the pop-ups are all our own design, and you get them free. Your feedback is the fuel that keeps us going, so please tell us what you think in the comments below or in the IR / UV LED board of our forum. And if our free libraries help you, you can buy us a coffee. So, let's get started with the IR / UV LED Library for Proteus: An LED's colour is set by its semiconductor: the ...

IR Receiver + Remote Library for Proteus V1.0: VS1838B NEC Remote

IR Receiver and Remote Library for Proteus V1.0: the VS1838B receiver and the 21-key NEC remote

Hello friends, I hope you all are doing great. Today, I am going to share the new IR Receiver + Remote Library for Proteus V1.0. The small black VS1838B infrared receiver and the slim 21-key remote that comes with it are in almost every Arduino starter kit, and they are the quickest way to control a project from across the room: a TV-style remote, a receiver with three pins, and the IRremote library. In a simulation they are hard to try - the remote sends 38 kHz light, and Proteus has no light. Behind the parts sits our own model. You click the keys of the remote on the schematic while the simulation runs, the remote builds the real NEC frame - a 9 ms leader, the address, the command and their inverses, bit by bit - and the receiver's OUT pin goes LOW and HIGH exactly as a real VS1838B does, so the unmodified IRremote library on the Arduino decodes it. Hold a key and it sends repeat codes every 108 ms; move the remote away or off the axis and frames start to break; switch on NOISE and a lamp floods the receiver. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window that draws the last frame burst by burst. The demo runs on our Arduino UNO V4.0. NOTICE: an IR remote is easy to fake: a part that hands the key you click straight to the sketch. We wanted more. Our remote sends the real NEC timing on the receiver's OUT pin - so the IRremote library decodes it as it would on a real board, a sketch that reads the wrong pin or the wrong code ...