Pololu Blog (Page 5)
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.
There are only a couple days left in our Halloween sale! Visit the sale page for more information, and if you are in need of some inspiration, check out our Halloween-tagged blog posts for some sample projects, including this upgrade to my creepy eyes prop:
I finally got around to upgrading my creepy eyes Halloween prop. As shown above, I mounted the mask on a picture frame to make it more presentable. I also added some of our VL53L0X time-of-flight distance sensor carriers so that the eyes could follow people in front of the mask. I camouflaged the sensors behind the black layer of foam behind the mask. Below is an image showing how the sensors were hidden in the lower corners of the picture frame:
I also swapped the Maestro out for an A-Star 32U4 micro, so I could communicate with the sensors through I²C. Due to switching to the A-star micro, I added one of our small solderless breadboards to help distribute power and a servo Y splitter cable since both sub-micro servos can use the same signal. I also added a power switch and used some of our premium jumper wires to make connections. You can see all the electronics taped to the back of the picture frame in the picture below.
Our Halloween sale is still going strong! Visit the sale page for more information, and if you are in need of some inspiration, check out our Halloween-tagged blog posts for some sample projects, like this simple RC crawling skeleton that I made:
The setup for this project is pretty straightforward: a hobby RC transmitter sends signals through its receiver to a pair of Simple Motor Controllers, which each control a 37D mm gearmotor. The motors mount to a wooden base with a pair of L-brackets and connect to skeleton arms via universal aluminum mounting hubs and a short length of aluminum plating. The offset created by the aluminum plating causes the skeleton to move in a way that makes it look like it is slowly inching towards its next victim!
A 3S LiPo provides power to the system through a pair of XT60 connectors, and the RC connections are made through some spliced female-female premium jumper wires. A black T-shirt covers up the electronics and a pair of cardboard “shoulder pads” help ensure the tee does not get tangled up in the rotation of the arm-bones.
In practice, the crawling skeleton is more amusing than scary: it crawls really slowly and the sound of the motors turning is too industrial/mechanical to haunt anyone’s dreams. The sound is, however, loud enough to startle any unsuspecting friends!
To kick off our 2018 mini-series of spooky Halloween projects, I’ll go over how I fixed and modified my family’s broken light-up jack-o-lantern, but first I want to remind you that our Halloween sale is still going on. Visit the sale page for more information, and if you are in need of some inspiration, check out our Halloween-tagged blog posts for some sample projects. Now, on to the jack-o-lantern…
The lantern suffered from a couple of burnt out incandescent bulbs and an unreliable power switch. The switch had a poor mechanical connection somewhere, which meant that in addition to sliding it into the “on” position, the case had to be pressed/squeezed in just the right spot to connect power. I absolutely needed to replace the switch, but in addition, this was a good time to upgrade from a bland set of incandescent lights to a more customizable lighting solution by adding some individually addressable RGB LEDs.
I wanted to preserve the battery-powered functionality of the lantern, and since it is powered by 4 C batteries, it has a supply voltage that could be anywhere between about 4V and 6V. The SK9822 LED strips that I wanted to use run on 5V, so I would need some kind of regulator to power them, as well as a microcontroller to send them control signals. Fortunately, our A-Star Mini microcontrollers have onboard regulators that allow them to work with a wide operating range of voltages, and provide ample current that can be used for other devices in the system, like the SK9822. In particular, the A-Star Mini LV was a good fit for a system like this with a voltage that started above 5V and could drop below it as the batteries were drained. (That A-Star’s regulator can also provide about 1A of current!)
The A-Star mini LV and its connections.
Starting the upgrade was pretty straightforward: remove all of the old hardware (the mess of old rusty wiring, the incandescent bulbs, and the switch), and solder in the A-Star to the battery holder terminals. From there, I soldered in a rocker switch that was much more satisfying to flip on and off than the older nonworking slide switch. Finally, I soldered up the four connections to the LED strip.
The SK9822 LED strip segment taped to the outside of the plastic holder piece, as seen from the back of the jack-o-lantern.
The strip itself only used 4 LEDs, since the lantern illuminates well and I didn’t want to unnecessarily consume lots of power (especially because the lantern was battery powered). The 4 piece segment was cut from one of the low density 30 LEDs per meter strips. The lower density meant that the LEDs were spaced out farther apart, which was useful to spread the LEDs across the plastic tube on the inside of the lantern and more evenly distribute the light. Our LED strip library made it easy to get started programming!
Another benefit of this hardware upgrade is the ability to reprogram the lighting display to whatever I want. Also, since the LED strips use so few IO pins, the decoration is in a good state to add additional electronics (like a proximity sensor or MP3 trigger)!
Looking to make an awesome Halloween costume or impressive yard display? Well, we want to help, so we’re having a sale through Wednesday, October 24 on hundreds of items you can use to make things that will impress or terrify your friends and neighbors! Visit the sale page for more information, and if you are in need of some inspiration, check out our Halloween-tagged blog posts for some sample projects.
By the way, we’d love to see more about the amazing things you all are building with our products, so please don’t hesitate to share them with us!
We now have a new mounting bracket available, this time designed for standard-size servos. Servos are very versatile and often make for an easy way to add precise motion to your project, but they can sometimes be difficult to mount due to their shape and the orientation of their intended mounting holes. Our new Mounting Bracket for Standard-Size Servos aims to solve that problem.
Instead of using the servo’s intended mounting holes, this bracket clasps around the servo, capturing its mounting tabs and providing an easy way to mount a servo on its side. The mounting holes on the bracket are intended for use with M3 or #4 screws (sold separately).
The Romi Chassis Expansion Plate is now available and is a great way to add even more space to the Romi. It is designed to function as a modular expansion option for the Romi. In fact, if you have been following our new product announcements, you might have already seen this plate as part of the Robot Arm Kit for Romi. The expansion plate is a half circle with the same diameter as the Romi base plate, and it can be installed over either the front or rear half of the Romi chassis. Abundant mounting holes and slots cover the plate, matching the pattern used on the Romi chassis base plate and supporting various sizes of screws.
You can combine two plates to make a full-sized platform.
It is also possible to stack multiple expansion plates for even more versatility.
Continuing with the special introductory discounts for all of our new products this year, the first 100 customers who use coupon code ROMIEXPINTRO can get up to 3 Romi Chassis Expansion Plates for just $3.33 each!
New-ish product roundup: 24 more QTR arrays, MP6500 carriers with soldered headers, and a pressure sensor
We’ve been hard at work over the past week putting up lots of new (but perhaps familiar-seeming) products. Here’s a quick recap:
24 new QTR reflectance sensor arrays
Our rapidly growing selection of new QTR sensors now includes high-density (HD) versions with 3, 6, and 9 channels, and medium-density (MD) versions with 2, 3, and 5 channels.
Each of these is available with two sensor options—traditional QTR and high-performance, low-current QTRX—and with analog or digital (RC) outputs, making 24 new products in all. Check out the QTR reflectance sensor category to see our full selection, which now stands at 68 varieties, and don’t forget to use our QTR introductory promotion to get 50% off any of these new sensors! (Limited to the first 100 customers who use coupon code QTRINTRO, limit 3 per item per customer.)
MP6500 stepper motor driver carriers with soldered header pins
We have received a number of requests to make the MP6500 stepper motor driver carriers we released earlier this year available with the header pins already soldered, so here they are! These carriers are available in two versions, one with the current limit set by a potentiometer, and one that allows for dynamic current limit control through a pair of digital inputs, and both are now available with soldered header pins:
- MP6500 Stepper Motor Driver Carrier, Potentiometer Current Control (Header Pins Soldered)
- MP6500 Stepper Motor Driver Carrier, Digital Current Control (Header Pins Soldered)
For a more detailed introduction to these drivers, see our original MP6500 carrier product announcement.
LPS25HB pressure/altitude sensor carrier
This is a minor update to our existing LPS25H pressure sensor carrier, which is now on clearance. The new version uses the same PCB as the original, hence the “©2014” on the silkscreen. and replaces the LPS25H with the newer LPS25HB, a drop-in replacement with the same register map and performance. Most people shouldn’t notice any difference using the new version compared to the old one, though ST says in their LPS25H upgrade guide (200k pdf) that the LPS25HB has better moisture resistance and reliability. That said, please keep in mind that we have not characterized the moisture resistance of the rest of the carrier, and moisture is generally something we recommend you keep away from all of our electronics.
Visually, the LPS25HB is easy to distinguish from the LPS25H as the former has a shiny silver square patch on the package while the latter has a more noticeable hole:
We have already started making our AltIMU-10 v4 and AltIMU-10 v5 IMUs with the LPS25HB, and we did so without using new product numbers or updating the pictures or descriptions because this change should not affect those products in any meaningful way (we have a new product number for the updated basic carrier since the specific sensor on there is pretty much the whole point of the product).
On a related note, we still have a lot of the even older LPS331AP pressure sensors/digital barometers left, so we have put the LPS331AP carriers on even more clearancy clearance!
QTRX-HD-05RC Reflectance Sensor Array, front and back views.
We now have five-sensor versions of our new high-density QTR reflectance sensor arrays. Like the versions already released, these new modules are available in analog and RC configurations and with two different sensor types, so this post covers four new products:
QTR-HD-05A Reflectance Sensor Array.
- QTR-HD-05RC Reflectance Sensor Array
- QTR-HD-05A Reflectance Sensor Array
- QTRX-HD-05RC Reflectance Sensor Array
- QTRX-HD-05A Reflectance Sensor Array
(Medium-density versions with 3 sensors on an 8 mm pitch will be available soon.)
We expect these to be the smallest arrays that still offer independent control of the odd and even emitters, which gives you extra options for detecting light reflected at various angles. For more information on our new QTR sensor family, you can see some of our previous blog post about the versions we have already released:
- New products: 1- and 31-channel QTR HD reflectance sensor arrays
- New products: more new QTR HD sensor arrays by student engineering interns
- New products: QTR HD sensor arrays by student engineering interns
- New product: high-density QTR reflectance sensor arrays
Don’t forget to get in on our QTR introductory promotion! Be one of the first 100 customers to use coupon code QTRINTRO and get any of these new sensors at half price! (Limit 3 per item per customer.)
We are having a Labor Day sale all weekend long with site-wide discounts of up to 25%! Check out the sale page for more information. Please note that we will be closed Monday, so orders placed after 2 PM Pacific Time today (Friday, August 31) will be shipped on Tuesday, September 4.
Pololu step-down voltage regulator D36V6Fx/D24V6Fx/D24V3Fx next to a 7805 voltage regulator in TO-220 package.
Wrapping up our new product releases for the month and for the summer is our new D36V6x family of step-down voltage regulators. These small regulator modules support a large input voltage range and are a great alternative to old three-terminal linear voltage regulators that waste a lot of power and get really hot. These new regulators can take an input voltage anywhere from a few tenths of a volt over the set output voltage up through an absolute max of 50 V, and they can deliver up to 600 mA. We have them available in seven fixed voltage options and two adjustable versions:
- D36V6F3: Fixed 3.3V output
- D36V6F5: Fixed 5V output
- D36V6F6: Fixed 6V output
- D36V6F7: Fixed 7.5V output
- D36V6F9: Fixed 9V output
- D36V6F12: Fixed 12V output
- D36V6F15: Fixed 15V output
- D36V6ALV: Adjustable 2.5 – 7.5 V output
- D36V6AHV: Adjustable 4 – 25 V output
Pololu step-down voltage regulator D36V6Ax/D24V6Ax/D24V3Ax, bottom view with dimensions.
You might notice that the board for the adjustable version shows a 2010 copyright year (the fixed version is an even smaller board, and we did not fit the year on there). That’s because these new regulators are actually old designs updated with new regulator chips that use the same package and pinout. The older products were our D24V3x and D24V6x families of regulators, which were based on the Texas Instruments LMR14203 and LMR14206 ICs. For the new D36V6x family, we are moving up to the newer LMR16006 regulator. This chip has several exciting new features that we think will make it our favorite general-purpose regulator for many of our products: higher maximum voltage, better low-dropout performance, and better quiescent current.
Higher maximum voltage
The LMR16006 has a 60 V maximum input voltage, up from the 42 V of the LMR1420x parts. Even 42 V covered most of our typical applications, but it’s not quite enough for 36V nominal applications, which are getting more common. Our more advanced, integrated products such as motor controllers are often limited by some complex part or circuit, such as a motor driver, and we would like the overall operating range of the product not to be reduced by the regulator. Many stepper motor drivers, such as TI’s DRV8825 or the Toshiba TB67S249FTG and TB67S279FTG that we released carriers for in June, support maximum input voltages of 45 or 50 volts. It’s nice not to be limited by your regulator when you are making systems with those kinds of parts.
For our new D36V6x modules, we are limited to the 50 V maximum of the capacitors from Vin to ground. Unfortunately, capacitor options get a lot more restricted (and expensive) once we go beyond 50 V, so we decided to stick with our old boards so that we could continue to offer these regulator modules at a low price while still providing some substantial improvements. We might still make a new board with higher-voltage capacitors for those who would like to make full use of the regulator’s 60 V maximum. (For anyone thinking of just removing the caps and putting on your own external ones, you might also want to change the diode, which is also a 60 V part.)
Better low-dropout performance
Having a higher maximum input voltage is nice, but often we’re trying to squeeze the most we can out of a dying battery, so it’s nice to have a low dropout, which is the voltage the regulator needs between the input and output. The older LMR1420x parts had an annoying quality of the dropout voltage going up as the load current went down. The newer LMR16006 has a nice, low dropout as the current goes down, so if you don’t need much current, you can get 5 V out with just 5.2 or 5.3 volts in. Here is a comparison of the dropout performance of the old and new regulators:
Lower quiescent current
The new regulators also have much lower quiescent current, which is the current the regulator uses when it’s just sitting there and your load isn’t drawing anything. On the old regulators, the quiescent current was under 2 mA, and we did not characterize it beyond that. For these new regulators, it’s typically under 200 microamps, ten to twenty times better than the old regulators. I realize it’s not that amazing for modern regulators, but it’s nice to know that your low-cost, general-purpose regulator module isn’t wasting a lot of power.
Typical quiescent currents of Step-Down Voltage Regulator D36V6Fx.
Even when we put a new chip onto an old circuit board as I have described, we still test and characterize with different parts to get a good overall result. In the case of these regulators, where the circuit is quite simple, this phase of development is much more time consuming than laying out a circuit board. We build and test dozens of prototypes with different inductances, and even though you can’t see it in the pictures, we build the different voltage versions of the regulators with different inductors to get the best performance we can (within a given inductor type and size).
So how about getting a few to have around for general-purpose use on your next project? You can get one for just $3 as part of our introductory promotion using coupon code D36V6XINTRO, limited to the first 100 customers and to three per item (so you could get up to 27 regulators at that price if you get three of each voltage version). It’s always difficult for us to predict which versions will be how popular, so initial stock is limited, but we make these here in Las Vegas, so even if the version you want goes out of stock, you can backorder it with the promotional price, and we should be able to ship within a day or two.