# (Driver controller) to drive the 2 motor using XOD

**URL:** <https://forum.xod.io/t/driver-controller-to-drive-the-2-motor-using-xod/5364>\
**Category:** XOD Programming Questions\
**Created:** [August 3, 2021, 4:13pm UTC](https://forum.xod.io/t/driver-controller-to-drive-the-2-motor-using-xod/5364 "2021-08-03T16:13:12Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![fantasydoom](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/fantasydoom/32/3729_2.png) [@fantasydoom](https://forum.xod.io/u/fantasydoom)\
**Post date:** [August 9, 2021, 9:33am UTC](https://forum.xod.io/t/driver-controller-to-drive-the-2-motor-using-xod/5364/21 "2021-08-09T09:33:50Z")

</div>

> [@gweimer](#):
>
> measure the length of a single pulse

haw to measure the length of a single pulse?  
when I’m using (pules in nod ) Arduino booging down immediately please advice for another input nod

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [August 9, 2021, 8:51pm UTC](https://forum.xod.io/t/driver-controller-to-drive-the-2-motor-using-xod/5364/22 "2021-08-09T20:51:40Z")

</div>

How are you triggering pulse-in-UPD? If you set it to LOOP, it will check as often as possible. Since you are measuring very short pulses, that could mean a LOT of checks. If you are controlling an RC car, you probably don’t need to check that often. Connect a clock to pulse-in-UPD that only ticks once per second. If that improves response, you have found the problem. If response to changes in RC control is too slow, try having clock tick every half second.

---

<div class="post-metadata">

**Author:** ![fantasydoom](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/fantasydoom/32/3729_2.png) [@fantasydoom](https://forum.xod.io/u/fantasydoom)\
**Post date:** [August 13, 2021, 7:25pm UTC](https://forum.xod.io/t/driver-controller-to-drive-the-2-motor-using-xod/5364/23 "2021-08-13T19:25:45Z")

</div>

thanks a lot for your help

i I changed the pulse-in-UPD to 1& 0.5 and still booging down  
using arduino mega & wemos D1R2  
regards

---

<div class="post-metadata">

**Author:** ![xodballxod](https://avatars.discourse-cdn.com/v4/letter/x/f475e1/32.png) [@xodballxod](https://forum.xod.io/u/xodballxod)\
**Post date:** [August 13, 2021, 11:03pm UTC](https://forum.xod.io/t/driver-controller-to-drive-the-2-motor-using-xod/5364/24 "2021-08-13T23:03:15Z")

</div>

You’re welcome! I should have explained it a little better, or really should have just programmed it in, but you got it! Nice work!

---

<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:** [September 12, 2021, 11:03pm UTC](https://forum.xod.io/t/driver-controller-to-drive-the-2-motor-using-xod/5364/25 "2021-09-12T23:03:18Z")

</div>

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

[Previous page](https://forum.xod.io/t/driver-controller-to-drive-the-2-motor-using-xod/5364.md?page=1)
