Pololu Blog (Page 27)

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…

How to make a Balboa robot balance, part 3: encoders

Posted by Paul on 30 March 2017
How to make a Balboa robot balance, part 3: encoders

This is the third post in a series about how to make a Balboa 32U4 robot balance. Last week I talked about inertial sensors, especially the gyro. In this post I will talk about the Balboa’s built-in encoders, which allow accurate measurements of motor speed and distance.

To get your Balboa to balance, you will soon need to create a balancing algorithm, a program that takes sensor input and computes the appropriate motor speed settings to keep the robot upright. So far our only inputs, both from the gyro, are the rate of rotation and current angle of the robot. These are not quite enough to make a good balancer. To see why, suppose that your program tries to balance by holding the angle at a constant 90°. If your definition of 90° is even slightly off-balance, the robot will need to keep accelerating, driving faster and faster to maintain it, until it reaches top speed or hits an obstacle. You might be able to account for this by using the motor output settings themselves as an input to your algorithm, but this is difficult, especially at the low speeds used for balancing. Also, even if you can avoid accelerating, your robot will gradually drift in one direction or the other. The Balboa’s encoders are valuable additional sensor inputs that allow you to measure how fast the wheels are actually turning, so you can directly control acceleration and drift. As a bonus, encoders are great for driving straight, precision turns, and navigation. Continued…

Line-following robot and mini-sumo main board from tdrobótica.co

Posted by Ryan on 30 March 2017
Tags: distributors

One of our distributors in Colombia, tdrobótica.co, has developed a line-following robot kit and a mini-sumo main board kit.

The first kit includes everything you need to build a sleek line-following robot. It uses an Arduino-compatible A-Star 32U4 Micro as the main controller. It also uses a DRV8833 Dual Motor Driver Carrier, two Pololu micro metal gearmotors, brackets, and a 3/8″ ball caster.

The second kit is also based on the A-Star 32U4 Micro and DRV8833 carrier, and it includes much of the electronics needed to build a custom mini-sumo robot, including a buzzer, a voltage regulator, and an IR receiver for controlling it with a TV remote. It has two DRV8833 carriers, each with their channels paralleled to drive a total of two motors. There are connection points for 7 digital sensors (up to 5 can be analog).

tdrobótica.co’s mini-sumo main board kit.

For more information (in Spanish), see the line-following robot kit and a mini-sumo main board product pages.

FEETECH Ultra-High-Torque, High-Voltage Digital Giant Servo FT5335M

Posted by Ryan on 29 March 2017
Tags: new products

We added the FEETECH Ultra-High-Torque, High-Voltage Digital Giant Servo FT5335M to our expanding RC servo selection. This giant-scale digital servo can deliver twice the torque of our strongest standard-size servo, offering up to 550 oz-in at 7.4V or 480 oz-in at 6 V. This torque requires significant power: the FT5335M can draw bursts of current over 9 A at 7.4 V, and unlike typical hobby servos, has an operating voltage range of 6 V to 7.4 V.

FEETECH Ultra-High-Torque, High-Voltage Digital Giant Servo FT5335M compared to a standard-size servo.

The FEETECH Ultra-High-Torque, High-Voltage Digital Giant Servo FT5335M has an all-metal gear train.

This servo is a lower-cost alternative to the very similar 1235MG from Power HD. The two servos are approximately the same size, though the mounting hole spacing differs between the two, and they have almost identical performance specifications. The output shaft of the 1235MG is supported by two ball bearings while the output shaft of the FT5335M is supported by bushings. The picture below shows both the FT5335M and the 1235MG side-by-side:

Expect more new FEETECH servos in the coming weeks!

Aluminum standoff for Raspberry Pi

Posted by Ryan on 29 March 2017
Tags: new products

We are now carrying the Aluminum Standoff for Raspberry Pi: 11mm Length, 4mm M2.5 Thread, M-F. The 11 mm body length is just right for mounting expansion PCBs or HATs with standard-size female headers on a Raspberry Pi. The male M2.5 threads extend another 4 mm past the standoff body, and the female M2.5 threads extend at least 6.35 mm into the body. We carry M2.5 nuts and 6 mm M2.5 screws separately.

Two of these standoffs are needed to mount a Raspberry Pi on a Balboa 32U4 robot:

Balboa 32U4 Balancing Robot with 80×10mm wheels and a Raspberry Pi 3 Model B.

We also carry a 11 mm standoff with longer, 6mm threads. (We do not recommend these for the Balboa because the threads hit the robot chassis.)

Romi and Raspberry Pi robot

Posted by Ryan on 28 March 2017

Forum user DrGFreeman has been busy making robots. I wrote earlier about his Custom Mini Sumo robot; now here is his Romi Chassis and Raspberry Pi robot. It solves mazes using a webcam to do line tracking and intersection identification. This robot is a great example of how a variety of Pololu robot parts can combine into an attractive and functional robot. A black Romi chassis kit provides the base for the robot, to which DrGFreeman added a encoder pair kit and ball caster kit. An A-Star 32U4 Robot Controller SV with Raspberry Pi Bridge drives the motors and monitors four Sharp GP2Y0A60SZLF analog distance sensors and the Romi encoders. The robot controller and the Raspberry Pi communicate via I²C and are elevated above the chassis on a narrow Pololu RP5/Rover 5 expansion plate.

DrGFreeman is also working on a mast for three VL53L0X time-of-flight distance sensor carriers that he plans to add for simultaneous localization and mapping (SLAM).

For more videos, pictures, and details, see the forum thread. The robot’s Raspberry Pi (Python) and Arduino code is available on GitHub.

New 5V step-up/step-down voltage regulator S9V11F5

Posted by Ben on 27 March 2017
Tags: new products

Our newest step-up/step-down voltage regulator, the S9V11F5, takes input voltages between 2 V and 16 V and increases or decreases that voltage as necessary to produce a fixed 5 V output with a typical efficiency of over 90%. (Note that it requires a minimum of 3 V to start up, but it can operate down to 2 V once it is running.) It can temporarily deliver peaks of around 2 A, and the maximum continuous output current depends on the input voltage as shown in the graph below:

The ability to raise or lower the input voltage makes this regulator especially well suited for battery-powered applications where the nominal battery voltage is close 5 V, such as when using four NiMH cells, since the battery voltage transitions from above 5V to below as the battery discharges. The wide input voltage range is also great for applications where you want a lot of flexibility in power supply choice or for systems powered by alternative energy sources like solar or wind, where the output voltage can vary a lot.

With a wider input voltage range and its ability to deliver more current, the S9V11F5 is a higher-performance alternative to our popular S7V7F5 buck-boost regulator, all while being even smaller in size thanks to its double-sided assembly.

For more information on this regulator, visit the S9V11F5 product page, and for other regulator options, you can take a look at our full selection of step-up/step-down regulators, step-up voltage regulators, and step-down voltage regulators.

Raspberry Pi, A-Star 32U4, and Wild Thumper robot

Posted by Ryan on 27 March 2017

Forum user coyotlgw made this teleoperated Raspberry Pi robot. The robot is controlled remotely over SSH via the Raspberry Pi’s WiFi connection, and snapshots of the webcam feed are available via a Motion web server. The motors of the Dagu Wild Thumper 4WD chassis are driven by a Pololu Dual MC33926 Motor Driver for Raspberry Pi connected to a Raspberry Pi 2 Model B. A Pololu A-Star 32U4 Mini LV interfaces with and records readings from temperature, pressure, humidity, and UV/IR/visible light sensors.

It wasn’t available when they built the robot, but coyotlgw points out the A-Star 32U4 robot controller with Raspberry Pi bridge is an option to consider for similar builds. This robot connects the Raspberry Pi and A-Star Mini with USB; the robot controller would make I²C communication easier. You would still need external motor drivers, because the robot controller’s MAX14870 is not appropriate for the Wild Thumper motors.

For more pictures, details, and a discussion of the issues encountered during the build, see the forum post.

How to make a Balboa robot balance, part 2: inertial sensors

Posted by Paul on 24 March 2017
How to make a Balboa robot balance, part 2: inertial sensors

This is the second post in a series about how to make a Balboa 32U4 robot balance. Last week I talked about selecting mechanical components. In this post I will cover the inertial sensors included on the Balboa’s control board and how to use them in your code.

The key to Balboa’s balancing ability is the built-in ST LSM6DS33 IMU chip, which combines a 3D gyroscope and a 3D accelerometer. The Balboa also includes an ST LIS3MDL 3-axis magnetometer. Both sensors are connected to the AVR via I²C, giving it access to a total of nine sensor channels. These nine channels can be used in software to make an AHRS (attitude and heading reference system), a system that gives the robot a sense of its orientation in three dimensions. AHRS software is particularly important in aviation/drone applications, but for basic balancing, you don’t need anything that complicated. In fact, a single gyro channel is enough to determine the robot’s angle of rotation relative to vertical. The gyroscope’s y-axis channel measures the Balboa’s forward/backward rate of rotation; that is the channel we will be looking at here. Continued…

Beefy arms for Balboa balancing robot

Posted by Kevin on 24 March 2017
Tags: balboa

If you’re following Paul’s blog series about getting your Balboa robot balancing, you’ll probably want something to protect it when it falls. When I was working with my Balboa, I got a set of prototype arms that our mechanical engineers have been developing, but I felt they were missing a little something. So instead, I took a Beefy Arm Starter Kit from Thingiverse and used OpenSCAD to add adjustable mounting hubs to the arms. I printed two sets of arms with our RigidBot 3D printer and mounted them to the side rails on the Balboa chassis using 25 mm M3 screws and M3 nuts. They’ve been great for keeping obstacles and the floor at arm’s length from my electronics while I drove the robot around with an RC transmitter or through a Raspberry Pi web interface (example code coming soon!).

You can find these beefy arms for the Balboa on Thingiverse if you want to try 3D printing your own. The OpenSCAD script is also available there in case you want to customize your arms.

Bionic hand

Posted by Ryan on 23 March 2017

Customer Elise Pham made a bionic hand: a two-fingered gripper triggered with biofeedback. A Pololu Maestro servo controller monitors the trigger source and signals the servo to close the gripper. In this video, she uses a mechanical sensor for biofeedback, and she is exploring using a MyoWare Muscle Sensor as a future enhancement. Her earlier video shows using a MyoWare Muscle Sensor to control a servo like in our demonstration video.

April 10 update: Elise’s project won 1st Award for the 2017 Synopsys Science Fair and was also nominated to advance and compete in the 2017 National Broadcom MASTERS. Additionally, Elise was selected by the Santa Clara County Office of Education to participate in Steve Wozniak’s Silicon Valley Comic Con Science Fair.

New Products

15V, 2.5A Step-Up/Step-Down Voltage Regulator S13V25F15
Motoron M3S550 Triple Motor Controller Shield for Arduino (Connectors Soldered)
6V, 3.3A Step-Down Voltage Regulator D30V30F6
7.5V, 2.5A Step-Up/Step-Down Voltage Regulator S13V25F7
Motoron M3S550 Triple Motor Controller Shield Kit for Arduino
12V, 2.5A Step-Up/Step-Down Voltage Regulator S13V25F12
9V Step-Up/Step-Down Voltage Regulator S8V9F9
Motoron M2U550 Dual Serial Motor Controller (Header Pins Soldered)
3.3V, 2.5A Step-Up/Step-Down Voltage Regulator S13V25F3
Graphical OLED Display: 128x64, 1.3", White Pixels, SPI, Black PCB
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