# Zero cross detection

**URL:** <https://forum.xod.io/t/zero-cross-detection/4184>\
**Category:** Hardware Interfacing Questions\
**Created:** [July 1, 2020, 6:32pm UTC](https://forum.xod.io/t/zero-cross-detection/4184 "2020-07-01T18:32:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pan](https://avatars.discourse-cdn.com/v4/letter/p/b5e925/32.png) [@pan](https://forum.xod.io/u/pan)\
**Post date:** [July 1, 2020, 6:32pm UTC](https://forum.xod.io/t/zero-cross-detection/4184/1 "2020-07-01T18:32:17Z")

</div>

Hi to everyone  
it is possible XOD helps to handle-find the zero-cross detection?  
how can i drive a Triac without burning a 220v ac fan?

thank by advance

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [July 2, 2020, 5:23am UTC](https://forum.xod.io/t/zero-cross-detection/4184/2 "2020-07-02T05:23:06Z")

</div>

Hello, with this library you can control a dimmer module. Lib `cesars/dimmer` (rbd-dimm = obsolete)

> [@Library Dimmer PSM for Modulo RobotDyn (Arduino & ESP8266)](https://forum.xod.io/t/library-dimmer-psm-for-modulo-robotdyn-arduino-esp8266/1763):
>
> For whoever is useful, here are two library dimmer PSM One for Arduino UNO MEG Leonardo and one for ESP8266 Library DIMMER PSM - Arduino \>\>\> [cesars/rbd-dimm](https://xod.io/libs/cesars/rbd-dimm/) Library DIMMER PSM - ESP8266 \>\>\> [cesars/rbd-dimm-esp8266](https://xod.io/libs/cesars/rbd-dimm-esp8266)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [August 1, 2020, 5:23am UTC](https://forum.xod.io/t/zero-cross-detection/4184/3 "2020-08-01T05:23:13Z")

</div>

Closed on August 1, 2020, 5:23am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
