# Zumo Robot with FRDM-KL25Z Board

**URL:** https://forum.pololu.com/t/zumo-robot-with-frdm-kl25z-board/5640
**Category:** Robots
**Created:** [March 10, 2013, 7:54am UTC](https://forum.pololu.com/t/zumo-robot-with-frdm-kl25z-board/5640 "2013-03-10T07:54:12Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Erich](https://forum.pololu.com/user_avatar/forum.pololu.com/erich/32/584_2.png) [@Erich](https://forum.pololu.com/u/Erich)
#### Post date: [March 10, 2013, 7:54am UTC](https://forum.pololu.com/t/zumo-robot-with-frdm-kl25z-board/5640/1 "2013-03-10T07:54:12Z")

</div>

Greetings,  
The default processor board for the ‘Zumo Robot Kit for Arduino’ ([https://www.pololu.com/catalog/product/2505](https://www.pololu.com/catalog/product/2505)) is of course the original Arduino board.  
Because I wanted to use an ARM Cortex-M0+ for my project, I combined the Zumo Shield with the Freescale FRDM-KL25Z board:  
 ![](https://forum.pololu.com/uploads/default/original/2X/b/b2894d31e6e7ad042d456f310554fd7f31a55873.png)

I have published two articles about it so far:

- [The Freedom Zumo Robot | MCU on Eclipse](http://mcuoneclipse.com/2013/01/31/the-freedom-zumo-robot/)
- [Zumo Line Following with FRDM-KL25Z | MCU on Eclipse](http://mcuoneclipse.com/2013/02/08/zumo-line-following-with-frdm-kl25z/)

Right now it is capable to perform Line Following, and extensions are in the work.

The project and source code is availale on GitHub:

[https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/FRDM-KL25Z/Freedom\_Zumo](https://github.com/ErichStyger/mcuoneclipse/tree/master/Examples/FRDM-KL25Z/Freedom_Zumo)

Happy Zumoing 😃

- Erich

PS: The main challenge was to adopt the hardware to work nicely with the 3.3V logic levels of the FRDM-KL25Z board.  
It would be great if Pololu could consider to add a feature to support 3.3V on the Zumo Reflectance Array ([pololu.com/catalog/product/961](https://www.pololu.com/catalog/product/961))?

---

<div class="post-metadata">

### Author: ![Derrill](https://forum.pololu.com/user_avatar/forum.pololu.com/derrill/32/555_2.png) [@Derrill](https://forum.pololu.com/u/Derrill)
#### Post date: [March 12, 2013, 1:19am UTC](https://forum.pololu.com/t/zumo-robot-with-frdm-kl25z-board/5640/2 "2013-03-12T01:19:30Z")

</div>

Hi.

Very cool! Thanks for sharing your work.

By the way, the Zumo Reflectance Array should have worked without any modifications. Could you please tell me what made you believe a change was necessary and what changes you made?

-Derrill

---

<div class="post-metadata">

### Author: ![ryantm](https://forum.pololu.com/user_avatar/forum.pololu.com/ryantm/32/8302_2.png) [@ryantm](https://forum.pololu.com/u/ryantm)
#### Post date: [March 15, 2013, 11:07pm UTC](https://forum.pololu.com/t/zumo-robot-with-frdm-kl25z-board/5640/3 "2013-03-15T23:07:15Z")

</div>

Hello.

We added your project to the Pololu [Community Projects](https://www.pololu.com/resources/communityprojects) page. Thanks for sharing!

- Ryan

---

<div class="post-metadata">

### Author: ![Erich](https://forum.pololu.com/user_avatar/forum.pololu.com/erich/32/584_2.png) [@Erich](https://forum.pololu.com/u/Erich)
#### Post date: [March 21, 2013, 9:06am UTC](https://forum.pololu.com/t/zumo-robot-with-frdm-kl25z-board/5640/4 "2013-03-21T09:06:29Z")

</div>

Hi Derril,  
The changes are described in [mcuoneclipse.com/2013/02/08/zumo … rdm-kl25z/](http://mcuoneclipse.com/2013/02/08/zumo-line-following-with-frdm-kl25z/)  
There is one thing which is related to the FRDM-KL25Z board: it does not generate the needed 5V for the shield from the battery voltage, so I had to add a voltage converter to the shield.  
The other thing is that D4 on the reflectance array is connected to the NMI (Non Maskable Interrupt) line of the FRDM board: while it is possible to disable NMI in the startup code of the Cortex-M0+, because there is no pull-up on the sensor line, it could cause a NMI on the processor. So I re-routed that pin as supported by the reflectance sensor array.  
The two above things are related to the FRDM board, and not a problem of the Zumo shield. But would be great if for example there would be traces on the board to make the add-on of the voltage generator easier.

The other thing is that the FRDM-KL25Z board has 3.3V voltage levels. The sensor array has 5V, and while some input pins are 5V tolearant, and to make the sensor response faster. Here again it would be great if 3.3V operation would be possible on the reflectance array (similar what is possible with the normal 8-sensor array you have in your shop which I use for other projects).

Many thanks to the Pololu team, and keep the excellent work going!  
Erich

---

<div class="post-metadata">

### Author: ![Erich](https://forum.pololu.com/user_avatar/forum.pololu.com/erich/32/584_2.png) [@Erich](https://forum.pololu.com/u/Erich)
#### Post date: [March 21, 2013, 9:13am UTC](https://forum.pololu.com/t/zumo-robot-with-frdm-kl25z-board/5640/5 "2013-03-21T09:13:26Z")

</div>

The Zumo robot has been extended to perform maze solving:  
 ![](https://forum.pololu.com/uploads/default/original/2X/0/055cb831994b0a208407da9f17f10b1f23e13244.png)

Details and link to the sources are availbe here:  
[mcuoneclipse.com/2013/03/20/free … -the-maze/](http://mcuoneclipse.com/2013/03/20/freedom-robot-solves-the-maze/)

Happy Mazing 🙂

---

<div class="post-metadata">

### Author: ![Derrill](https://forum.pololu.com/user_avatar/forum.pololu.com/derrill/32/555_2.png) [@Derrill](https://forum.pololu.com/u/Derrill)
#### Post date: [March 21, 2013, 8:35pm UTC](https://forum.pololu.com/t/zumo-robot-with-frdm-kl25z-board/5640/6 "2013-03-21T20:35:58Z")

</div>

Hi, Erich,

Thank you for sharing the maze solver, that looks really cool!

As I mentioned before, the reflectance sensor should work fine at 3.3V; there is nothing 5V-specific about it. This is unlike our QTR Sensors, where the LEDs are intended to be powered off of 5V. You should not have to modify the Zumo Reflectance Array; what makes you believe that you needed to modify it, and what modifications did you make?

-Derrill

---

<div class="post-metadata">

### Author: ![Erich](https://forum.pololu.com/user_avatar/forum.pololu.com/erich/32/584_2.png) [@Erich](https://forum.pololu.com/u/Erich)
#### Post date: [March 30, 2013, 2:52pm UTC](https://forum.pololu.com/t/zumo-robot-with-frdm-kl25z-board/5640/7 "2013-03-30T14:52:53Z")

</div>

Hi Derrill,  
the concern is about the 5V supply on the capacitor side for the output signal. This means that there can be a 5V signal to a microcontroller only having a 3.3V input level. With not having 5V tolerant input pins, that’s an issue. So I need a 0V to 3.3V ouput signal.  
I hope this clarifies the need for a 3.3V modification.

So instead supplying 5V to the sensor array, I have cut that 5V supply pin to the sensor array, and wired it to get 3.3V.  
 ![](https://forum.pololu.com/uploads/default/original/2X/f/f3095c94cd8e8be520a72c270aa983883f2311b9.png)  
With this, the capacitor was charged up to 3.3V, and I had a 3.3V to 0V signal as needed for the 3.3V input pins.  
I have to say that on some ARM cores some (but not all!) pins can be 5V tolerant. To be on the save side, it is better to have a clean 3.3V solution for 3.3V logic levels.

Thanks,  
Erich

---

<div class="post-metadata">

### Author: ![Erich](https://forum.pololu.com/user_avatar/forum.pololu.com/erich/32/584_2.png) [@Erich](https://forum.pololu.com/u/Erich)
#### Post date: [March 30, 2013, 3:02pm UTC](https://forum.pololu.com/t/zumo-robot-with-frdm-kl25z-board/5640/8 "2013-03-30T15:02:03Z")

</div>

Hello,  
the maze solving Zumo robot has been extended: it is now much faster, it can drive from the finish to the start point, and it drives backwards from a dead-end.  
 ![](https://forum.pololu.com/uploads/default/original/2X/9/94658f8a3d7319de1b1202633b3adcda1646e175.png)  
Video is on [mcuoneclipse.com/2013/03/28/maze … -backward/](http://mcuoneclipse.com/2013/03/28/maze-solving-frdm-kl25z-robot-goes-backward/)

Erich

---

<div class="post-metadata">

### Author: ![Derrill](https://forum.pololu.com/user_avatar/forum.pololu.com/derrill/32/555_2.png) [@Derrill](https://forum.pololu.com/u/Derrill)
#### Post date: [April 1, 2013, 10:55pm UTC](https://forum.pololu.com/t/zumo-robot-with-frdm-kl25z-board/5640/9 "2013-04-01T22:55:00Z")

</div>

Hi.

Thank you for continuing to share your progress! Thank you for clarifying that for me. I see your concern now, and your work around looks good.

-Derrill
