# Sample program motion controller for BL5S220 SBC

**URL:** <https://forums.digi.com/t/sample-program-motion-controller-for-bl5s220-sbc/12718>\
**Category:** Rabbit Software\
**Tags:** pwm, control, pid, rabbit, 4000\
**Created:** [March 24, 2014, 10:39am UTC](https://forums.digi.com/t/sample-program-motion-controller-for-bl5s220-sbc/12718 "2014-03-24T10:39:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BasRottier123](https://avatars.discourse-cdn.com/v4/letter/b/34f0e0/32.png) [@BasRottier123](https://forums.digi.com/u/BasRottier123)\
**Post date:** [March 24, 2014, 10:39am UTC](https://forums.digi.com/t/sample-program-motion-controller-for-bl5s220-sbc/12718/1 "2014-03-24T10:39:45Z")

</div>

Hello,

I’m looking for samples for motion controller on BL5S220. Either with PWM + encoder feedback or analogue out + encoder feedback.  
Thanks in advance,  
Bas

---

<div class="post-metadata">

**Author:** ![MargaretK](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@MargaretK](https://forums.digi.com/u/MargaretK)\
**Post date:** [March 25, 2014, 1:25pm UTC](https://forums.digi.com/t/sample-program-motion-controller-for-bl5s220-sbc/12718/2 "2014-03-25T13:25:54Z")

</div>

We can send you AN410 “Using stepper Motors for Motion Control” and the sample included with this.

[tech.support@digi.com](mailto:tech.support@digi.com)

---

<div class="post-metadata">

**Author:** ![BasRottier123](https://avatars.discourse-cdn.com/v4/letter/b/34f0e0/32.png) [@BasRottier123](https://forums.digi.com/u/BasRottier123)\
**Post date:** [March 25, 2014, 3:22pm UTC](https://forums.digi.com/t/sample-program-motion-controller-for-bl5s220-sbc/12718/3 "2014-03-25T15:22:33Z")

</div>

Hi Margaret.  
Thanks for your reply. I’m rather looking for DC motor control using the H-Bridge +encoder feedback. Would you have some sample code about this?
