Turning a motor into a sensor with the Peppermill

Arduino
Turning a motor into a sensor with the Peppermill

Peppermill

Tom Igoe got his hands on a Peppermill circuit board, and took it out for a spin:

Nicolas Villar sent me a sample of the PepperMill, a new sensor board he and Steve Hodges designed at Microsoft Research in Cambridge, UK. It’s a nifty little board. You attach a DC motor and the board can an output voltage when the motor is turned, and analog signals telling you the direction and speed of the motor. It turns a DC motor into a rotary encoder, of sorts.

Wiring is very simple. The motor connects to the two spring connectors at the top of the board. Direction and Speed pins connect to two analog inputs on your microcontroller. Ground connects to your microcontroller’s ground. The motor generates voltage when you spin it.

Check out Tom’s article for circuit diagrams, source code, and information on obtaining a Peppermill board to experiment with. Using PepperMill to turn a motor into a sensor

(Tom is a member of the Arduino team and the author of Making Things Talk).


Making Things Talk
Our Price: $29.99
Programming microcontrollers used to require an expensive development environment costing thousands of dollars and requiring professional electrical engineering expertise. Open-source physical computing platforms with simple i/o boards and development environments have led to new options for hobbyists, hackers, and makers. This book contains a series of projects that teach you what you need to know to get your creations talking to each other, connecting to the web, and forming networks of smart devices.

4 thoughts on “Turning a motor into a sensor with the Peppermill

  1. majolsurf says:

    It turns the dc motor into a tachometer… neat!

  2. Andy Johnson says:

    Cool…. you could use this thing as a DIY anemometer, and make your own weather station!

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

I'm a tinkerer and finally reached the point where I fix more things than I break. When I'm not tinkering, I'm probably editing a book for Maker Media.

View more articles by Brian Jepson

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK