# Dexi Ir recover to flash LED

**URL:** <https://forum.theavr.org/t/dexi-ir-recover-to-flash-led/981>\
**Category:** AVR Drone Software\
**Created:** [October 29, 2024, 10:17am UTC](https://forum.theavr.org/t/dexi-ir-recover-to-flash-led/981 "2024-10-29T10:17:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![CJ\_bruce](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@CJ\_bruce](https://forum.theavr.org/u/CJ_bruce)\
**Post date:** [October 29, 2024, 10:17am UTC](https://forum.theavr.org/t/dexi-ir-recover-to-flash-led/981/1 "2024-10-29T10:17:05Z")

</div>

Hello

We have coded the ir receiver to know when it is a damage site. We have tried to figure out how to get the data from the IR receiver to flash the LED 3 times.

Thank you

---

<div class="post-metadata">

**Author:** ![droneblocks](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.theavr.org/droneblocks/32/159_2.png) [@droneblocks](https://forum.theavr.org/u/droneblocks)\
**Post date:** [October 29, 2024, 7:51pm UTC](https://forum.theavr.org/t/dexi-ir-recover-to-flash-led/981/2 "2024-10-29T19:51:55Z")

</div>

Have you been through this course?

> **[DEXI - Sensor Wiring and Programming with ROS2 and Node-RED](https://learn.droneblocks.io/p/dexi-sensor-wiring-and-programming)**
>
> In this course we'll learn how to use GPIO with Pi CM4 on DEXI. We'll demonstrate with a couple of different sensors. Node-RED, etc etc

---

<div class="post-metadata">

**Author:** ![CJ\_bruce](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@CJ\_bruce](https://forum.theavr.org/u/CJ_bruce)\
**Post date:** [October 29, 2024, 9:56pm UTC](https://forum.theavr.org/t/dexi-ir-recover-to-flash-led/981/3 "2024-10-29T21:56:39Z")

</div>

Yes we have completed all the wiring and coding and the April tag reader. Now we are trying to get the LEDs to flash when the ir sensor reads an ir signal

---

<div class="post-metadata">

**Author:** ![CJ\_bruce](https://avatars.discourse-cdn.com/v4/letter/c/8edcca/32.png) [@CJ\_bruce](https://forum.theavr.org/u/CJ_bruce)\
**Post date:** [November 3, 2024, 4:23pm UTC](https://forum.theavr.org/t/dexi-ir-recover-to-flash-led/981/4 "2024-11-03T16:23:49Z")

</div>

Does anyone have any ideas on what nodes i should use to make the led turn off and flash when the ir receiver receives the ir beam?

Thank You

---

<div class="post-metadata">

**Author:** ![droneblocks](https://yyz1.discourse-cdn.com/flex007/user_avatar/forum.theavr.org/droneblocks/32/159_2.png) [@droneblocks](https://forum.theavr.org/u/droneblocks)\
**Post date:** [November 4, 2024, 11:28pm UTC](https://forum.theavr.org/t/dexi-ir-recover-to-flash-led/981/5 "2024-11-04T23:28:24Z")

</div>

We’ve seen quite a few questions about this so I wanted to put together this tutorial. I hope it helps:

[![](https://canada1.discourse-cdn.com/flex007/uploads/avr/original/1X/bcf32e410460568a7132a103ca2847c3fac2dbc5.jpeg "DEXI Node-RED Programming for Infrared Break Beam and April Tag Detection") ](https://www.youtube.com/watch?v=nW30N_Q520c)
