Pololu Blog (Page 14)
Welcome to the Pololu Blog, where we provide updates about what we and our customers are doing and thinking about. This blog used to be Pololu president Jan Malášek’s Engage Your Brain blog; you can view just those posts here.
Tomorrow is Arduino Day, and we are joining in on the fun by offering big discounts on many of our Arduino-related products, including our A-Star programmable controllers and Arduino shields. The sale has already started, and it will run through the end of Sunday (I know, Arduino Day is a one-day event, but this makes sure the sale lasts all Arduino Day in every time zone). You can find all of the sale items on our Arduino Day 2015 sale page.
Get FREE copies of Circuit Cellar magazine’s March issue and Elektor magazine’s March/April issue with your order, while supplies last. To get your free issues, enter the coupon codes CIRCUIT0315 and ELEKTOR0315 into your shopping cart. The Circuit Cellar magazine will add 6 ounces and the Elektor magazine will add 9 ounces to the package weight when calculating your shipping options.
New products: Stepper motors with lead screws, traveling nut, and mounting bracket for NEMA 23 stepper motors
NEMA 17-size stepper motors with 18, 28, and 38cm lead screws.
Since we started carrying the stepper motor with 28cm lead screw, we have routinely received requests for shorter and longer versions of it, so we are happy to announce that we are now carrying two additional versions: one with an 18 cm lead screw and one with a 38 cm lead screw. All three of the stepper motors with lead screw use the same NEMA 17-size stepper motor, which is also available without a lead screw.
All of the stepper motors with lead screw come with a traveling nut, also known as a carriage nut. This copper alloy nut features a mounting flange with four holes threaded for M3 screws to make it easy to integrate into your project. From time to time, we also get requests to make the traveling nut available for purchase separately, so we did! If you are interested in picking up some spare traveling nuts, more information can be found on the traveling nut’s product page.
We also have a new NEMA 23 stepper motor bracket as pictured above. Around eight months ago, we started carrying our stamped aluminum mounting bracket for NEMA-17 size stepper motors, and since then, we added a stamped aluminum NEMA 14 stepper motor bracket to our selection. We looked into getting similar aluminum bracket for NEMA 23-size stepper motors but ultimately decided to go with a more rigid 3mm-thick steel mounting bracket for NEMA 23 stepper motors. On this bracket, two steel supports are welded in the corner along the bend of the bracket to provide extra reinforcement.
This Instructable by Annikken shows how to turn a Zumo Robot for Arduino into a smartphone-controlled tank. It uses the Annikken Andee for Android (they have one for iOS too), which is an Arduino shield that is connected between the Arduino and the Zumo.
Here is a video with the tank driving around:
More details are available on the Instructable page.
Forum user Bob Day shared his GPS puzzle box, which uses an A-Star 32U4 Micro, USGlobalSat EM-506 GPS Receiver, servo, and LCD to open a box only at a specific location. It also uses our S7V8F5 step-up/step-down regulator to provide power the A-Star and GPS module. In his post, Bob says that he got the idea from Mikal Hart’s “Reverse Geocache Puzzle Box”, which you can see in action in this video.
Top of GPS puzzle box by forum user Bob Day.
Pictures, connections, and the code used for the box can be found in Bob’s forum post.
Tomorrow is Pi Day (3/14/15 in the standard US date format of month/day/year), and we are celebrating by having a special overly-pi-themed one-day sale:
- Use coupon code PIDAY975 to get 31.4% off a 3pi robot (limit 3 per customer).
- Use coupon code PIDAY2753 to get a DRV8835 Dual Motor Driver Kit for Raspberry Pi B+ for $3.14 (limit 3 per customer).
- Use coupon code PIDAY to get 3.14% off your entire order (this discount is only valid for order subtotals between $3.14 and $314.16 and cannot be combined with other coupon discounts).
The sale is live now and runs through the end of tomorrow (midnight Pacific Time).
I am excited to announce the release of our new Zumo 32U4 Robot Kit, a complete Arduino-compatible robot kit based on the ATmega32U4. We have, in some sense, been working on this robot for about seven years.
One of our major long-term goals at Pololu is to be making complete robots, and many of the parts we make are stepping stones toward that goal. The first real step toward the Zumo started back in 2008, shortly after we started carrying our micro metal gearmotors, when we released the compatible wheels shown at right. The intent was that they could be used with either tires or tracks and optionally with encoders, and that eventually they would be a part of our own robot.
A few years later we had assembled enough parts to release the Zumo chassis. We planned to use this as the base for a complete robot, but by releasing it first as a component, we got to see the community do a lot of interesting things with it. (Check out this Raspberry Pi Zumo, for example.)
It was not until 2012 that we were able to announce a complete robot, the Zumo Robot Kit for Arduino, which combined all of these parts with a new board containing a boost regulator, motor drivers, and inertial sensors. The board works like an upside-down shield: you plug an Arduino onto the top of the robot. We released a compatible reflectance sensor array soon after that, making it possible to use the Zumo for everything from mini-sumo to maze-solving.
So we sort of had a new complete robot, but it was not quite complete enough for us, since it still required a separate Arduino, which we did not manufacture. Also, the upside-down shield configuration blocked a lot of space for expansion and prototyping, we lacked a good solution for obstacle/opponent sensing (that’s important for mini-sumo!), and we had received lots of requests for encoders, which are hard to squeeze into the available space. A lot of our effort in 2013 and 2014 went toward components that we thought could be used on a more complete Zumo, such as smaller quadrature encoders and 38 kHz IR proximity sensors. And developing our A-Star 32U4 line of Arduino-compatible controllers based on the ATmega32U4 helped integrate the Arduino functionality directly into the robot.
So finally we had all the pieces available to make a new, much more capable Zumo that would be completely Pololu, the Zumo 32U4 robot:
The Zumo 32U4 incorporates many features of the A-Star 32U4 Prime LV, including an ATmega32U4 microcontroller with an Arduino-compatible USB bootloader and a step-up/step-down voltage regulator system. There is a handy 8×2 character LCD on top and a buzzer for simple beeps and music. Like the Zumo Robot for Arduino, our kit includes dual motor drivers, a complete 9-axis IMU, and line sensors, but the new integrated quadrature encoders and proximity sensors make this a far more capable platform.
We are initially offering the Zumo 32U4 robot only as a kit. Soldering is required, and it is intended for more advanced or ambitious electronics builders. There are a number of build options – two different kinds of IR LEDs are included and you choose your motor gear ratio – and the construction gives you opportunities to show off your craftsmanship. Some Pololu engineers, for example, have been 3D-printing custom LED holders that mount onto the blade of their Zumos. The Zumo is also expandable; almost all of the I/O lines of the ATmega32U4 and the power and ground nodes are available on arrays of through-holes at the sides and front of the board, and with its low-profile design (you can remove the LCD) there is plenty of room to build on top.
While we hope we have left enough room for physical customizations, the programming, with all the sensing options, is where you can really give your robot personality and make it your own. Modulate the IR emitters for more precise opponent detection, use the accelerometer to detect a bump or a flip (sans LCD, the Zumo can drive upside down), measure distances with the encoders, measure turns with the gyros, … we are looking forward to see what you will come up with!
As we gain experience with the Zumo 32U4 robot and collect feedback from the community, we plan to release more supporting materials and offer assembled options. Our goal is to get it to the point where we can recommend the Zumo to anyone looking for a high-performance programmable robot – hobbyists, students, educators, and others – so stay tuned! Please check out the product page for more details about the robot, and take a look at our example code on GitHub.
Bohlebots, a team of students in Germany, won the West Germany Robocup soccer 1vs1 open league for a second time. They sent us an email that shows how their robot uses three omni wheels spaced evenly about its round chassis, which allows their robot to move in any direction. The omni wheels are actuated by some of our 9.7:1 25D HP metal gearmotors, which are each controlled using one of our VNH5019 motor driver carriers.
Check out this highlight video of their robot in the competition:
Good job, everybody, and good luck!
The Bohlebots team.
We received order 1J200000 this morning from Ralf in Germany! However, it turns out that because of a one-time database screwup, this was not actually our 200,000th order (thanks, Paul). We received that one a few minutes later when Alex from Iowa placed order 1J200008. To celebrate, we included a special gift with both of these orders: a prototype of the new Zumo robot we expect to release this month. Congratulations to Ralf and Alex! For everyone else, keep an eye on this blog for more information on our new Zumos, and thank you to all our customers for helping us get to 200k orders.
We have updated our Programming Orangutans and the 3pi Robot from the Arduino Environment document to support version 1.6.0 of the Arduino IDE, which is the latest stable version. Thanks to improvements in the Arduino IDE, we were able to make the instructions for getting started much easier.
The Orangutan line of AVR-based robot controllers started ten years ago and has since expanded to include boards with a variety of AVR processors and on-board peripherals, from the minimal Baby Orangutan B-328 to the powerful Orangutan SVP-1284 and X2. Many of the Orangutans share handy features like a buzzer, LCD, and buttons, but the integrated dual motor drivers found on every Orangutan are what justify calling it a “robot controller”. Our 3pi robot is an extension of Orangutan concept to a complete robot, so we think of the 3pi as pretty much part of the Orangutan family.
(Don’t need integrated motor drivers? Check out our Arduino-compatible A-Star family of microcontroller boards.)
Pololu 3pi robot.
The Orangutan SV-328, Baby Orangutan B-328, and 3pi all use the same AVR ATmega328P processor as the Arduino Uno, so it is natural to want to program them from the Arduino environment. However, there are a couple of key differences to overcome. First, the boards have no pre-installed Arduino bootloader or built-in USB-to-serial adapter. This simplifies the design and frees up some resources for your application, but it means you have to program them with an external programmer like the Pololu USB AVR Programmer. Also, the clock on these boards runs at 20 MHz, while the official Arduinos are at 16 MHz, so time-sensitive code might not be compatible.
Adding support for the Orangutans and programmer to the Arduino IDE used to involve manually editing a few configuration files with a text editor. With this latest update, you can simply copy a folder into your Arduino sketchbook directory.
Another notable Arduino change is improved support for AVRs running at different speeds. Functions such as
pulseIn now adapt to the clock frequency specified by the
F_CPU macro and should work fine on an Orangutan running at 20 MHz.
To get started, see our guide.