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.
Forum user solderspot recently posted on our forum about some modifications he’s been making to his Zumo robot. First, he added our optical encoders for micro metal gearmotors to his robot, which required using motors with extended back shafts and cutting holes in the chassis to route the wires from the encoders.
This allows his Zumo to navigate by dead reckoning, using just the information from the encoders.
He also mounted a sonar sensor on a servo to his robot, which enables it to find its way around a room by following the walls.
A series of articles on solderspot’s blog, starting with this one, covers his experience building and programming his robot. It looks like solderspot has further plans for the Zumo, including more sophisticated autonomous navigation, so watch his blog if you want to keep up with the latest developments.
We have new gyros fresh out of the oven. No, I’m not talking about a Greek dish. I’m talking about our new L3GD20H 3-axis gyro carrier.
One of the most important measures of a rate gyroscope’s performance is the amount of noise in its output, which is indicated by its noise density specification. Too much noise means that the gyro will be prone to spurious indications of rotation, and if the gyro readings are integrated to track orientation, noise will cause the calculation to drift over time.
Although sensor fusion can help compensate for this drift by combining the gyro data with an absolute reference (like magnetometer data), using a lower-noise gyro is likely to be a more effective way to improve orientation tracking accuracy. In that respect, one of the biggest improvements of the L3GD20H over its predecessor is that it has a 60% lower rate noise density (0.011 dps/√Hz compared to 0.03 dps/√Hz on the L3GD20).
In addition to accuracy and stability improvements, the L3GD20H offers other advantages. Its power consumption is lower and its start-up time is much shorter. A wider range of user-selectable output data rates is available, including lower frequencies that are appropriate for human gesture detection, and a data enable (DEN) pin allows readings to be synchronized with external triggers. The L3GD20H makes all of these features available in a smaller package than previous gyros, which has allowed us to design a correspondingly smaller carrier board for it while still keeping it breadboard-friendly. For more information, see the L3GD20H carrier product page.
If you don’t need the latest and greatest, the L3GD20 is still a nice sensor, and it’s a good time to grab one now that we’ve lowered the price of our L3GD20 carrier to only $14.95 until stock runs out.
Local indie artist and Pololu employee Tracey, intent on reviving her programming skills and exploring her budding interest in electronics, shed some light on her creative personality by making an LED banner for her band, Hope’s Edge. The banner is a briefcase-sized container that uses an addressable LED strip to shine through a stencil of the band’s logo in a wave of brilliantly changing colors. The stencil and the rest of the panels in the container are made from 1/16" black ABS, all of which were cut with our custom laser cutting service, and a sheet of gift-wrap tissue paper is taped to the inside of the front panel to act as a diffuser. The banner runs off of a 5V wall wart, which is boosted to 9V to power an Arduino Uno that runs Ben’s Christmas light LED code.
We are now carrying the latest version of SparkFun’s Inventor’s Kit (V3.1), which adds a mini screwdriver and replaces the translucent red breadboard from version 3 with an opaque white one that is easier to read. Version 3.1 includes everything else that was part of the previous version, such as the Arduino-compatible RedBoard and all of the additional components needed to build the 15 basic electronic circuits detailed in the guide.
For more information see the SparkFun Inventor’s Kit – V3.1 (with Arduino-Compatible RedBoard) product page.
When we designed the first version of the Pololu USB-to-serial adapter way back in 2004, using a USB Mini-B receptacle was an obvious choice: it was much smaller than the standard B-type connector, allowing us to keep the board compact, and it was readily available in surface-mount configurations that facilitate automated printed circuit board assembly.
We went on to use the Mini-B connector in lots of products, like our Maestro servo controllers and Wixel. Although the even smaller Micro-B connector became part of the USB specification in 2007, it didn’t seem to offer enough of an advantage over the Mini-B connector for us to immediately switch over. Continued…
Do you want to build your own weather monitoring station? This weather shield from SparkFun might be what you are looking for. In the form of an Arduino shield, this easy-to-use weather board can measure relative humidity, temperature, barometric pressure, and luminosity.
For more information, see the SparkFun Weather Shield for Arduino product page.
Forum user Hardsuit posted in this thread about the hub adapters he 3D printed for his robot, which is a roughly 1/4 scale RC Tachikoma from the Ghost in the Shell: Stand Alone Complex anime series. The adapters allow some of our universal mounting hubs to be used with VEX 4″ Mecanum wheels. You can find and download his STL file on Thingiverse.
The Tachikoma, which he has named Sapporo, also uses our Simple Motor Controller 18v15 and 29:1 Metal Gearmotor 37Dx52L mm. Some of the engineers here are GITS fans, and we are definitely looking forward to seeing it completed!
Here at Pololu we love USB and put a USB port on most of the microcontroller boards that we make. One of the lovable things about USB is that it provides a convenient power supply, but making good use of USB power presents a board design challenge: many of our products can be powered from either USB or an external source (e.g. batteries) and require a circuit to select between the two power sources. We call this circuit a power multiplexer, or just power mux.
A simple power mux like the one we use on the Wixel consists of a pair of diodes with a MOSFET that automatically disconnects the less-preferred power source. You can see another instance of the diode mux in the Orangutan SVP schematics (99k pdf). This works, but the forward voltage drop of the diodes can cause the output of the mux to be too low to power 5 V devices.
In the maker community, 5 V is very popular since it is the voltage standard used by numerous devices from Arduinos to Sharp Distance Sensors. Unfortunately for us, 5 V is not important for modern consumer devices like mobile phones, which operate at much lower voltages, so there is not much reason for semiconductor manufacturers to build the kind of devices that we need for good 5 V power multiplexers.
The USB power mux on many Arduinos uses a MOSFET, and does not suffer from the forward voltage drop problem, but it allows current to flow into the USB port in some situations, a potentially dangerous violation of the USB specifications.
So we were excited to find the FPF1320, a chip from Fairchild that implements a better MOSFET-based power mux circuit. The FPF1320 switches up to 1.5 A of current at 1.5 V to 5.5 V with an insignificant voltage drop, and it blocks reverse current into either of the sources. This chip seems like a great solution for USB power and other power-switching situations. Its tiny size, however, makes it inaccessible to most hobbyists:
That’s where we come in! We have made the FPF1320 available on a carrier board that breaks out all of its lines onto breadboard compatible pins and implements a minimal circuit to support automatic power switching. Our carrier board also breaks out a USB Micro-B connector to support USB power-switching applications. This diagram shows how the carrier would be used in a typical USB application:
Power multiplexers are useful for more than just USB. For example, many devices can be powered by both batteries and an external power jack, with external power preferred when it is available. Our FPF1320 carrier can be connected to two non-USB power supplies:
Building a good power mux is a challenge, and the FPF1320 is not a perfect solution. One frustrating thing about it is that it is disabled (powered off) by default, and enabling it required us to build an additional power mux into the circuit! As you can see in the schematic below, we used the double-diode technique to drive the EN line high:
The diodes, unfortunately, take up more board space than the FPF1320 itself.
While typical applications involve USB and 5 V, our carrier is designed to work over the full range of input voltages supported by the FPF1320; therefore, extra consideration might be required to ensure glitch-free transitions between power sources. Specifically, we designed it to “prefer” one of the power supplies whenever it is present. The board will allow the preferred supply (and hence the output) to drop to 1.5 V or lower before switching, even if a better alternate source is available. Unfortunately, this guarantees that the voltage will always drop to below 1.5 V when switching from the preferred to the alternate source. The chip is capable of a seamless transition, and a more sophisticated application might involve monitoring the levels of both input voltages and switching in an intelligent way. You can also adjust the behavior to match typical applications using a few additional resistors or other components. Our carrier brings out the SEL line to make these kinds of modifications possible in your application.
For more information, see the FPF1320 Power Multiplexer Carrier product page.
We’ve started selling USB versions of these two RoboClaw motor controllers from Orion Robotics:
These new RoboClaws add a USB serial interface to the other three control interfaces available (TTL serial, RC, and analog inputs), but are otherwise identical to the V4 RoboClaw 2×15A and 2×30A controllers that we previously offered. Like their predecessors, they can drive a pair of brushed DC motors with up to 15 A or 30 A, respectively, at voltages from 6 V to 34 V. Integrated dual quadrature decoders make it easy to create a closed-loop speed control system; analog feedback is also supported for closed-loop position control.
We have added a compact, powerful new NEMA 17-size stepper motor to our wide selection of stepper motors. This 42×38 mm stepper motor is available with a standard 5 mm D-shaft for general-purpose use, but perhaps more exciting is the version with a 28 cm threaded rod, which turns it into a linear actuator capable of precision open-loop position control. This latter version has the stainless steel lead screw built right into the stepper motor, so there is no need to deal with extra hardware such as shaft couplers and set screws, and the copper alloy traveling nut with mounting holes is included. Raise your next project to new heights with the precision (40 µm per full step) and control of a stepper motor!
Please see the product pages for more information:
For other options, you can take a look at our full selection of stepper motors.