This post is showed how to control a steeper motor with an Ardbox analog.
Important: our equipment?s are prepared for work with common ground !!!
Once we have all the requirements we proceed to connect?Ardbox, Driver and Stepper motor.
Usually the Stepper Drivers has at least 3 Inputs (Enable, Direction y Pulses). On our Ardbox we will connect the GND and the 5V from the SPI side between the GNDCom and 24Vcom from the Output side (Q?s). With that we will fix outputs at 5V. We will connect GNDCom with GND of the Stepper Driver. And we will use two outputs to control Enable and Direction. In this example we have used Q0_0 for Direction and Q0_1 for Enable. At last we will connect PIN 3 to PULL (Pulses).
Important: to generate a PWM enough fast to control a stepper motor we must use PIN 3 (Ardbox) and PIN 3 and PIN2 (M-Duino). The normal digital outputs of our equipment?s (Q?s) are limited over 500Hz!!!
Once inputs driver are connected we proceed to connect the stepper motor. Each phase has to be connected with its respective driver output. And connect power supply of the Driver. In our example it is used a stepper motor of 12V and 1,8? angle for each phase.
Next is showed an example code controlling the stepper motor for turn on the same side
For a little over a year, I?ve been working on an open-source, DIY cellphone as part of my PhD research at the MIT Media Lab. The current version of the phone is based on the Arduino GSM shield and Arduino GSM library. It sports a deliberately low-resolution screen (8 characters, each a 5?7 matrix of LEDs), a laser-cut wooden enclosure, flexure (living hinge) buttons, and a ~1000-line Arduino program that powers the user interface. The phone can make and receive phone calls and text messages, includes a phone book and caller id, and keeps the time. Everything you?d expect from a 20-year old Nokia! (Except snake.) I?ve been using various iterations of the project as my primary cellphone for the past six months or so.
The phone is open-source and the design files are available on GitHub (hardware, software). Assembly instructions are on my website, although I wouldn?t recommend making your own unless you have experience with soldering surface mount components.
Of course, it?s not just me that?s been building these phones. I?ve run twoworkshops in which other people have made them for themselves. A few people have been building them on their own, including someone who posted his result on Twitter.
Here you can see some the variations on the enclosure that my friends have made. On the left is a 3d-printed case by Ben Peters, the middle is a CNC-milled purpleheart wood case by Dena Molnar, and on the right is a hand-cut cardboard case by Jeffrey Warren.
The phone has undergone numerous revisions as I?ve tried to get it into a robust, useable form. Here you can see some of those variations. I started with an LCD screen like those found on old Nokia phones, but it would break after a month or so in my pocket, so I switched to the more-robust LED matrix. The enclosure has had a few tweaks as well, primarily to find a good design for the flexure buttons.
Overall, I?m pretty happy with the current incarnation. It seems to be relatively robust, simple enough to assemble by hand, and functional enough to use everyday (although a long way from a smart phone). That?s my DIY cellphone.