Pololu Blog (Page 15)

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.

Popular tags: community projects new products raspberry pi arduino more…

New G2 Simple Motor Controllers

Posted by Jan on 15 November 2018
Tags: new products

Last week, we released updated (G2) versions of our Simple Motor Controllers. We released our original Simple Motor Controllers just over eight years ago as our most economical basic motor controllers for brushed DC motors using up to a few hundred watts. The “simple” in the name came from our trying to have fun with all the requests we had from our customers, many of whom wanted “just” this one feature. Of course, everyone wants a different feature in their minimal motor controller, so the Simple Motor Controllers actually have quite a few options, but we make it easy to set up with configuration over USB.

Status tab in the Pololu Simple Motor Control Center G2.

Input settings tab in the Pololu Simple Motor Control Center G2.

Pololu Dual G2 High-Power Motor Driver 24v18 Shield for Arduino.

Over the last few years, we have been updating our higher-power motor drivers (H-bridges with external MOSFETs) to use newer MOSFETs and MOSFET drivers, and we refer to them as our G2 high-power motor drivers. These drivers are available as small, single-channel boards, as well as dual drivers in Arduino shield and Raspberry Pi HAT form factors. Earlier this year, we brought the improved motor drivers to our Jrk G2 Motor Controllers with Feedback for those wanting to make their own closed-loop servo systems.

Now, the G2 motor driver technology is available on our Simple Motor Controllers as well. For the most part, this is not as big of a change as with the other G2 motor control products, but we did add a few nice features while maximizing backward compatibility. Key improvements over the originals include reverse voltage protection, configurable hardware current limiting, and the addition of an I²C interface for yet another control option—the others being USB, analog voltage, hobby RC servo interface, and asynchronous serial (UART). Additionally, the highest-power units (the SMC G2 18v25 and 24v19) use a four-layer board with double-sided assembly, which lets them be much smaller than their original SMC 18v25 and 24v23 counterparts:

Side-by-side comparison of the original SMC 18v25 and the newer SMC G2 18v25.

The lower-power units have the exact same size and generally have the same connector locations as the original Simple Motor Controllers:

Side-by-side comparison of the original SMC 18v15 and the newer SMC G2 18v15.

The most notable difference from a form factor and connection standpoint is the change from the USB mini-B connector on the older motor controllers to the micro-B connector on the G2 models. The following table shows the main specifications of all of the old and new Simple Motor Controllers:

Original versions, not recommended for new designs
(included for comparison purposes)
G2 versions,
released November 2018

SMC
18v7

SMC
18v15

SMC
24v12

SMC
18v25

SMC
24v23

SMC G2
18v15

SMC G2
24v12

SMC G2
18v25

SMC G2
24v19
Minimum operating voltage: 5.5 V 5.5 V 5.5 V 5.5 V 5.5 V 6.5 V 6.5 V 6.5 V 6.5 V
Recommended max
operating voltage:
24 V(1) 24 V(1) 34 V(2) 24 V(1) 34 V(2) 24 V(1) 34 V(2) 24 V(1) 34 V(2)
Max nominal
battery voltage:
18 V 18 V 28 V 18 V 28 V 18 V 28 V 18 V 28 V
Max continuous current
(no additional cooling):
7 A 15 A 12 A 25 A 23 A 15 A 12 A 25 A 19 A
USB, TTL serial,
Analog, RC control:
Yes Yes Yes Yes Yes Yes Yes Yes Yes
I²C control: Yes Yes Yes Yes
Hardware current limiting: Yes Yes Yes Yes
Reverse voltage protection: Yes Yes Yes Yes
Dimensions: 2.1″ × 1.1″ 2.3″ × 1.2″ 2.1″ × 1.1″ 1.7″ × 1.2″
Price: $129.95 $129.95 $135.45 $162.95 $168.45 $108.95 “”price">$108.95":$108.95 “”price">$146.45":$146.45 “”price">$131.95":$131.95
Available with
connectors installed?
Yes Yes Yes No No Yes Yes No No
1 30 V absolute max.
2 40 V absolute max.

Key features of the SMC G2 family

  • Simple bidirectional control of one brushed DC motor
  • Five communication or control options:
    1. USB interface for direct connection to a PC
    2. Logic-level (TTL) serial interface for use with a microcontroller
    3. I²C interface for use with a microcontroller
    4. Hobby radio control (RC) pulse width interface for direct connection to an RC receiver or RC servo controller
    5. 0 V to 3.3 V analog voltage interface for direct connection to potentiometers and analog joysticks
  • Simple configuration and calibration over USB with a free configuration program for Windows
  • Reverse-voltage protection
  • Hardware current limiting with a configurable threshold
  • Current sensing

Note: A USB A to Micro-B cable (not included) is required to connect this controller to a computer.

Additional features of the SMC G2 family

  • Adjustable maximum acceleration and deceleration to limit electrical and mechanical stress on the system
  • Adjustable starting speed and maximum speed
  • Option to brake or coast when speed is zero
  • Optional safety controls to avoid unexpectedly powering the motor
  • Input calibration (learning) and adjustable scaling degree for analog and RC signals
  • Under-voltage shutoff with hysteresis for use with batteries vulnerable to over-discharging (e.g. LiPo cells)
  • Adjustable over-temperature threshold and response
  • Adjustable PWM frequency from 1.13 kHz to 22.5 kHz (maximum frequency is ultrasonic, eliminating switching-induced audible motor shaft vibration)
  • Error LED linked to a digital ERR output, and connecting the error outputs of multiple controllers together optionally causes all connected controllers to shut down when any one of them experiences an error
  • Field-upgradeable firmware
  • Features of the serial, I²C, and USB interfaces:
    • Optional CRC error detection to eliminate communication errors caused by noise or software faults
    • Optional command timeout (shut off motors if communication ceases)
  • Serial features:
    • Controllable from a computer via serial commands sent to the device’s USB virtual serial (COM) port, or via TTL serial through the device’s RX/TX pins
    • TTL serial uses 0 V and 3.3 V on TX, accepts 0 V to 5 V on RX
    • Supports automatic baud rate detection from 1200 bps to 500 kbps, or can be configured to run at a fixed baud rate
    • Supports standard compact and Pololu protocols as well as the Scott Edwards Mini SSC protocol and an ASCII protocol for simple serial control from a terminal program
    • Optional serial response delay for communicating with half-duplex controllers such as the Basic Stamp
    • Controllers can be easily chained together and to other Pololu serial motor and servo controllers to control hundreds of motors using a single serial line
  • I²C features:
    • Compatible with I²C bus voltage levels from 1.8 V to 5 V
  • RC features:
    • 1/4 µs pulse measurement resolution
    • Works with RC pulse frequencies from 10 to 333 Hz
    • Configurable parameters for determining what constitutes an acceptable RC signal
    • Two RC channels allow for single-stick (mixed) motor control, making it easy to use two Simple Motor Controllers in tandem on an RC-controlled differential-drive robot
    • RC channels can be used in any mode as limit or kill switches (e.g. use an RC receiver to trigger a kill switch on your autonomous robot)
    • Battery elimination circuit (BEC) jumper can power the RC receiver with 5 V or 3.3 V
  • Analog features:
    • 0.8 mV (12-bit) measurement resolution
    • Works with 0 to 3.3 V inputs
    • Optional potentiometer/joystick disconnect detection
    • Two analog channels allow for single-stick (mixed) motor control, making it easy to use two Simple Motor Controllers in tandem on a joystick-controlled differential-drive robot
    • Analog channels can be used in any mode as limit or kill switches

As with all of our new products this year, we are offering an introductory special. Be among the first 100 customers to use coupon code SMCG2INTRO and get $10 off on up to three units (per version)!

New Pololu circuit logo T-Shirts!

Posted by Emily on 15 November 2018
Tags: new products

Our new circuit logo T-shirts are here! They feature the Pololu logo, composed of a white printed circuit board (PCB) layout, on the front and the phrase “Engage Your Brain” on the back. These pre-shrunk cotton shirts are available in several colors (black, sapphire blue, or cardinal red) and a range of youth and adult sizes.

Black and sapphire blue Pololu circuit logo T-shirts.

Red and sapphire blue Pololu circuit logo T-shirts.

Red and black Pololu circuit logo T-shirts.

New products: Shunt Regulators

Posted by Jan on 1 November 2018

When I think of a robot, I usually picture a mobile robot, which generally means it is powered by a battery. Most of our motor controller products are built with that kind of bias in mind, too. But there are obviously many permanent installations that still call for motion, from 3D printers and robot arms to kinetic sculptures and motion simulators. And powering those can be complicated and expensive, with power supplies capable of powering bigger motors often costing more than the motors and the motor controllers. One difficulty is that power supplies are often not particularly good for absorbing the little pulses of power that motors and motor controllers sometimes send back out (typically when a motor is slowing down). The ramifications can be very bad since the supply voltages can quickly get destructively high when the current has nowhere to go. Many better power supplies have over-voltage protection, but that just means the power supply shuts down. While that’s better than expensive parts going up in smoke, it can still keep your project from functioning.

The simplest solution to the problem is often a transient voltage suppressor, or TVS, which is a big zener diode optimized for handling big current spikes. Unfortunately, TVS diodes typically do not have a tight enough tolerance for use with power supplies with over-voltage protection. For example, a 12V power supply might have 5% tolerance, meaning the output voltage could be as high as 12.6V, so the protection device must not kick in below 12.6V. If the over-voltage protection is triggered by a 15% deviation, any voltage spikes must be kept below 13.8V. Most basic TVSes do not have tight enough tolerances to ensure operation in that window.

So, we developed a shunt regulator that should help with that kind of scenario. A simplified schematic diagram of the shunt regulator is shown below. Basically, a circuit monitors the voltage and controls a MOSFET that allows current to flow through a shunt resistance that sets the maximum current the device can sink.

Simplified schematic diagram of the Shunt Regulators.

We offer the shunt regulators with a variety of voltage set points and shunt resistances. Available variations include fixed resistances and multi-turn potentiometers for the voltage set point, different shunt resistances for the load, and different power ratings for the shunt resistance (the higher-power versions have twenty more resistors populated on the back side of the board).

Bottom view of the 3W and 9W Shunt Regulators.

Bottom view of Shunt Regulator: 13.2V, 1.50Ω, 15W.

One version of the shunt regulator is populated with an especially high shunt resistance with minimal power rating; this unit is intended for use with an external shunt resistance:

Shunt Regulator: 33.0 V, 32.8Ω, 3W.

The available versions are shown in the table below:

Voltage
13.2 V 26.4 V 33.0 V Fine-adjust LV Fine-adjust HV
Power 3 W #3780
32.8 Ω
9 W #3770
1.33 Ω
#3774
4.00 Ω
#3776
4.00 Ω
15 W #3771
1.50 Ω
#3775
2.80 Ω
#3777
4.10 Ω
#3778
1.50 Ω
#3779
4.10 Ω

This product is more for advanced users at this point since it can be difficult to determine how much power your motor is dumping back onto the power supply, but since we have the products working and several customers waiting to use them, we are going ahead with releasing them. We expect to develop additional resources and to put up verified regulator/motor controller combinations over time.

The basic regulators are quite inexpensive, and we are offering an introductory special as we are with all new products this year, so you might want to pick some up to play around with. The first hundred customers to use coupon code SHUNTREGS get 30% off on up to three units (per version).

Video: Installing Multi-Hub Wheels

Posted by Emily on 31 October 2018
Tags: pololu videos

This short video shows how to install one of our multi-hub wheels on a motor. These wheels are currently available as an 80×10mm black pair and an 80×10mm white pair. They are cool because they include a set of interchangeable collets that can be inserted into the wheel to firmly grab four different shaft types: 3mm D, 3mm round, 4mm D, and 4mm round. For more information about what went into designing these wheels, check out Jan’s blog post from when they were initially released.


Our introductory special for these wheels is still available. Use coupon code MULTIHUBINTRO and get 33% off on up to three sets.

Creepy eyes Halloween prop upgrade

Posted by Grant on 22 October 2018

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.

RC crawling skeleton

Posted by Grant on 19 October 2018

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!

SK9822 LED jack-o-lantern

Posted by Jon on 15 October 2018

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)!

Polo-BOO! Halloween Sale

Posted by Ben on 10 October 2018


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!

New product: Mounting Bracket for Standard-Size Servos

Posted by Brandon on 1 October 2018
Tags: new products

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).

Rear view of Power HD Continuous Rotation Servo AR-3606HB and Solarbotics red servo wheel with Mounting Bracket for Standard-Size Servos.

Power HD 1501MG servo with Mounting Bracket for Standard-Size Servos.

As with the Romi Expansion Plate we just released, this bracket was originally designed as part of our Robot Arm Kit for Romi.

New product: Romi Chassis Expansion Plate

Posted by Brandon on 21 September 2018
Tags: new products

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 Products

1.4-7V, 3.8A Fine-Adjust Step-Down Voltage Regulator w/ Adjustable Low-Voltage Cutoff D30V33MALCMA
VL53L8CX Time-of-Flight 8×8-Zone Distance Sensor Carrier with Voltage Regulators, 400cm Max
ACS72981LLRATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
7.5V Step-Up/Step-Down Voltage Regulator S8V9F7
1.4-7V, 3.4A Fine-Adjust Step-Down Voltage Regulator w/ Adjustable Low-Voltage Cutoff D30V30MALCMA
ACS37220LEZATR-200B5 Current Sensor Compact Carrier -200A to +200A, 5V
ACS72981LLRATR-050B5 Current Sensor Compact Carrier -50A to +50A, 5V
ACS72981KLRATR-150B5 Current Sensor Compact Carrier -150A to +150A, 5V
Zumo 2040 Robot Kit (No Motors)
ACS72981KLRATR-150B3 Current Sensor Large Carrier -150A to +150A, 3.3V
Log In
Pololu Robotics & Electronics
Shopping cart
(702) 262-6648
Same-day shipping, worldwide
Menu
Shop Blog Forum Support
My account Comments or questions? About Pololu Contact Ordering information Distributors