Pololu Blog (Page 37)
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.
Earlier this year we released a carrier for the Fairchild FPF1320, a power multiplexer that can switch between two separate power supplies, such as USB and a battery-powered 5 V regulator. The FPF1320 is great for transitioning between power sources based on an external selection signal, but by itself, it is not ideal for applications like a USB-powered microcontroller: it lacks a voltage sensor that would enable the switching to be both seamless and automatic. (By default, our carrier allows the output voltage to drop below 1.5 V whenever it switches from its preferred to alternate power source.)
That’s why we’re excited about Texas Instruments’s TPS2113A, a power multiplexer with built-in voltage sensing that supports automatic seamless switching, and today we are happy to announce the release of our TPS2113A Power Multiplexer Carrier with USB Micro-B Connector.
The switching behavior of the TPS2113A depends on the state of its VSNS input. Our carrier pulls VSNS low through an on-board pull-down resistor, which causes the multiplexer to simply select the higher of the two input sources to pass to the output. However, adding another resistor between VSNS and the primary input source creates a voltage divider that allows you to set a precise threshold voltage at which the multiplexer will switch to the secondary source.
For example, the TPS2113A could be used to build a device that is primarily powered by USB, but switches to a secondary 5 V supply as soon as the USB voltage falls below 4.8 V. Since the multiplexer can prevent its output from falling below 4.8 V during the transition, it enables the system to be seamlessly connected to and disconnected from USB without noticeable power interruptions.
The TPS2113A offers additional features that can be useful in a power supply circuit, including an adjustable current limit and a status output that indicates which power source is currently selected. Our carrier board breaks out all of the chip’s pins, making it easy to connect additional components and customize the multiplexer’s behavior for a range of applications.
We think the TPS2113A is a great power switching solution for USB devices, and we look forward to using it in upcoming designs; keep an eye out for it in our future products!
The lightweight and compact RC-controlled wall-climbing robot uses a brushless DC motor for suction, and features a drive solution that uses four of our micro metal gearmotors, each driving a 32mm Pololu wheel and mounted with our micro metal gearmotor brackets.
The post includes pictures and videos of various iterations of Ibex and includes Luke’s reflection on the disheartening results of one of Ibex’s iterations. We’re glad to hear that Luke “stuck” with it, and now has a robot he is happy enough to market! We look forward to hearing more about Operative RC when more products become available.
We have some very exciting price reduction news to share with you, but first:
A little background
3-axis accelerometer carrier, released 22 Apr 2008.
MEMS (Micro-Electro-Mechanical Systems) devices are everywhere today, from airbag crash sensors to smartphones to inkjet printer heads, so it is easy to take this ubiquitous technology for granted without considering just how impressive it really is. The defining characteristic of a MEMS device is the presence of microscopic mechanical elements that are similar in size to the features of the electronics in an integrated circuit – if you look closely enough at the silicon of a MEMS inertial sensor, you will see tiny moving cantilevers or springs right alongside the electrical elements that let you interface with them.
Several of us here at Pololu fondly remember using our first MEMS sensors around the turn of the century (the “Y2K” one, not the horse-and-buggy one) as they became affordable enough to consider for our college engineering projects. At the time, it was around $20 for a single-axis accelerometer, and that seemed like a pretty sweet deal! Since then, widespread use of MEMS technology in mobile devices has led to rapidly improving performance and falling prices, putting some amazing technology well within the financial reach of students and hobbyists. However, these same market pressures favor compact, surface-mount ICs that can be integrated into ever-shrinking consumer products, making them very difficult to work with, and this is where we come in: our goal is to make these great sensors available to a much wider audience. We design and manufacture breadboard-compatible carrier boards for these MEMS ICs that include all of the additional required components along with voltage regulators and level-shifters that allow direct integration into 5V systems.
One side effect of this rapidly evolving technology is that if we want our MEMS products to remain relevant, we have to update them more quickly than our other products. For instance, our 3pi is approaching six years old, yet it is still a decent basic robot platform (see my stock 3pi dominate our recent LVBots maze-solving competition). In that same time, we have gone from our first MEMS carriers – a 3-axis accelerometer for $20 and a single-axis gyroscope for $30 – to a complete IMU with 3-axis accelerometer, 3-axis magnetometer, 3-axis gyro, and pressure sensor, each with performance much better than those earlier units.
So far, we have generally kept our prices the same or had modest decreases as we have released newer units with higher performance, but today we are announcing significant price cuts to our latest-generation boards:
The LSM303D 3D compass and accelerometer carrier is now $9.95, down from $14.95. This inertial sensor consists of a 3-axis accelerometer and a 3-axis magnetometer in a single package.
The L3GD20H 3-axis gyro carrier is now $12.95, down from $19.95. This inertial sensor measures the angular rates of rotation about the roll, pitch, and yaw axes.
The MinIMU-9 v3 is now $19.95, down from $39.95. This IMU module features an LSM303D 3D accelerometer+magnetometer and L3GD20H 3D gyro, providing nine independent rotation, acceleration, and magnetic measurements that can be used to calculate the module’s absolute orientation.
The AltIMU-10 v3 is now $27.95, down from $49.95. This IMU module is equivalent to a MinIMU-9 v3 with an integrated LPS331AP pressure sensor, providing ten independent pressure, rotation, acceleration, and magnetic measurements that can be used to calculate the module’s altitude and absolute orientation.
This fast technology progression makes planning challenging – it sometimes takes six months or more from the time we order a newly-announced component to when it arrives, and by the time we get it and build a board around it, the next great part is announced. This leads to a somewhat complicated lineage of products in various life-cycle stages. The following diagram shows the progression of our products based on ST’s MEMS sensors, which we have been most excited about lately thanks to their digital interfaces and many user-configurable settings:
Evolution and release dates of Pololu carriers for ST’s MEMS sensors through May 2014.
The constant product refreshing also leaves us with older-generation boards that we generally put on clearance. We have decreased the clearance prices of these products so they remain compelling lower-price alternatives to the latest-generation boards. These boards are not recommended for new designs where continued availability is important, but if you just want to play around with a cheap sensor that was state-of-the-art a few years ago, these are a great deal while they last:
The LSM303DLM 3D compass and accelerometer carrier has a new clearance price of $5.95.
The LSM303DLHC 3D compass and accelerometer carrier has a new clearance price of $7.95.
The L3GD20 3-axis gyro carrier has a new clearance price of $9.95.
The MinIMU-9 v2 has a new clearance price of $14.95. This IMU module features an LSM303DLHC 3D accelerometer+magnetometer and L3GD20 3D gyro.
The AltIMU-10 has a new clearance price of $22.95. This IMU module is equivalent to a MinIMU-9 v2 with an integrated LPS331AP pressure sensor.
Continuing with our recent LED product line expansion, we now offer several of Adafruit’s NeoPixel rings. These addressable RGB LED rings are available in a 1.75″-diameter 16-LED ring, a slightly larger 24-LED ring, and as 15-LED quarter-rings that can be assembled into a large 60-LED ring.
The NeoPixels are effectively WS2812B RGB LEDs that are individually addressable and controllable by a single digital pin from a microcontroller. Multiple rings can be chained together, and the rings can be chained with our other WS281x-based LED products. The animated picture below shows the three different sizes of rings we carry connected in a single chain and controlled by a single pin from an A-Star 32U4 Micro, which is small enough to fit completely within the smallest ring.
On May 29, LVBots held a maze solving competition at Pololu. The goal in maze solving is to get from the start to the finish in the shortest time. Contestants had four tries to solve the maze. The first run is typically in a learning mode where the robot goes slowly and explores the maze. On subsequent runs, the robots would attempt the shortest path, and the best robots had progressively more aggressive speeds.
I would have liked to see one of the custom-built robots win, but despite their best attempts, none of the other competitors were able to beat a stock 3pi robot running Ben’s maze solving code from six years ago. The old video below demonstrates how the 3pi solves a maze and also describes how the course is built.
This year, we tried to hone our rules about robots cutting corners of the maze. No robot will follow the line perfectly, so we have to allow some corner-cutting, but we do not want to make it so lax that the robot could dead reckon directly to the finish. After a lot of debate, we settled on two rules:
- A designated point on the robot must not go past the walls of an imaginary 6″-wide corridor centered around the path.
- The whole robot needs to generally follow the same path through the maze.
It was exciting to see Paul’s robot, Dr. Maze, use dead reckoning to cut the corners. Paul was hoping to get away from line following and rely on encoders to navigate the maze. Unfortunately, this caused the robot to get lost on the long straightaway and fail to solve the maze. Dr. Maze exhibits its corner-cutting skills at the end of the first video.
Are you in the Las Vegas area? Check out the LVBots Meetup page to get involved.
A chain of addressable RGB LEDs (#2535 and #2536) on a breadboard, controlled by an A-Star 32U4 Micro.
At first glance, these new LEDs look like everyday through-hole RGB LEDs, but they are hiding something very special inside: a built-in WS2811 LED driver that lets you chain them together and individually control them all with a single digital output from a microcontroller. The communication protocol of these LEDs is very similar to that of our WS2812B-based LED strips and Adafruit’s NeoPixels (such as those on the Adafruit NeoPixel Shield, which we just started carrying last week), so there is a variety of sample code available for the Arduino, AVR, and mbed microcontroller platforms to help you make your project start blinking quickly.
Two different sizes of addressable RGB LED. From left to right, their diameters are: 5 mm (#2535) and 8 mm (#2536).
Guido Bonelli Jr. of Innovative Electronic Solutions LLC created the ORBIS Wooden Kinetic and Lighting Sculpture for a client’s home using our custom laser cutting services. ORBIS hangs at 24″ in diameter and is 3/4″ thick. We laser-cut the parts from 1/8″ and 1/4″ baltic birch plywood, which were stained before assembly.
The separate control box and the wall unit each contain an Arduino Mega 2560 and an XBee module for wireless communication. The control box allows users to pick between two modes to control different features of the sculpture: kinetic mode allows users to adjust the rotating speed and direction of the two rings of the sculpture, and the color changing mode allows users to select various automated color patterns or control the red, green, and blue values individually to pick from 16 million colors.
For more information about ORBIS, check out the project’s web page.
I love LEDs and all of the shiny, blinky, colorful things you can do with them (see what we did to my house last Christmas), so you can imagine how happy it makes me that we are now carrying Adafruit’s NeoPixel Shield for Arduino! With 40 individually addressable, WS2812B-based RGB LEDs all controlled by a single Arduino pin, this shield is effectively like a grid version of our addressable RGB LED strips. And just like our LED strips, multiple NeoPixel shields can be chained together into larger arrays. Controlling the LEDs is easy with the help of the compatible Arduino libraries, which include the Adafruit NeoPixel and NeoMatrix libraries, as well as our Arduino library for addressable RGB LED strips. This shield is a great way to add color, style, or functionality to your next Arduino project!
For more information on the NeoPixel shield, see the product page.
Get FREE copies of Circuit Cellar magazine’s June issue and Elektor magazine’s June issue with your order, while supplies last. To get your free issues, enter the coupon codes CIRCUIT0614 and ELEKTOR0614 into your shopping cart. Each magazine will add 6 ounces to the package weight when calculating your shipping options.
The Beatty family is at it again with their amazing robot builds (if you missed it, check out their Mars Rover). They completed Aluminalis, a sixteen-legged walking robot made mostly out of machined aluminum components.
The video above shows their magnificent sixteen-legged walking robot. It is all controlled by an Arduino Nano and uses Pololu 20D 73:1 metal gearmotors with matching brackets to move all of its aluminum legs.
For more information on Aluminalis, check out its build page.