Pololu Blog (Page 31)

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…

Custom Mini Sumo robot

Posted by Ryan on 14 March 2017

Forum user DrGFreeman has been posting about his custom Mini Sumo robot. He designed the chassis in CAD and 3D printed it; the model is available on Thingiverse. An A-Star 32U4 robot controller reads the QTR-1RC reflectance and Sharp GP2Y0A60SZLF analog distance sensors while powering the motors with its dual onboard motor drivers. DrGFreeman plans to build two copies of the robot: one with 75:1 micro metal gearmotors and one with 50:1 micro metal gearmotors so he can pit them against each other and figure out whether more speed or torque does better. This video shows the behavior he’s programmed so far:

The whole build log along with more pictures and discussion is in the forum post.

Continuous testing for Arduino libraries using PlatformIO and Travis CI

Posted by Ryan on 13 March 2017
Tags: arduino

At Pololu we maintain around thirty open-source Arduino libraries, and we keep adding new ones whenever we make a new carrier board or Arduino shield. People typically use these libraries with Arduino-compatible boards, such as our A-Star programmable controllers or Arduinos. We also have Arduino libraries for our user-programmable robot kits like the Romi 32U4 robot, Balboa 32U4 robot and Zumo 32U4 robot.

Sometimes we need to make changes to a lot of libraries at once, like when we wanted to add all of our libraries to the Arduino Library Manager. For us, library manager compatibility requires changing the directory layout, but doesn’t require changing the library or example code. With this many libraries to change, there is a risk of potentially breaking a working library by misspelling or moving a file incorrectly. Fortunately, customer Walt Sorensen introduced us to PlatformIO and Travis CI, which let us test compiling Arduino libraries every time they are pushed to GitHub.

Setting this up is easy enough that we encourage you to do it on your Arduino libraries! First, sign up for Travis CI (a testing service, free for open-source projects) and enable it for the GitHub repository you want to test. Now, every time you push new code to your repository, Travis CI will try to see if there is a .travis.yml file in the top level with instructions for running tests.

If your project has the structure of an Arduino Library Manager project and you have at least one example sketch, our short .travis.yml file should work. This file instructs Travis CI to compile the library and its examples against all the supported Arduino boards (specified in the “env” list of the .travis.yml file). The results can be seen on Travis CI’s website (for example, here is Pololu’s Travis CI page). The Arduino compiler is provided by PlatformIO, an open source ecosystem for internet-of-things development, which supports a long list of Arduino-compatible boards.

You can share your Travis CI build status by embedding a badge into your GitHub readme page:

Of course, for most library changes, we still have to test on actual hardware, but now every time we update our libraries (or a contributor submits a pull request), we can be sure they will at least compile on every supported board.

Bohlebots win West German Robocup soccer 2017

Posted by Ryan on 10 March 2017

Congratulations to the Bohlebots teams for winning all four open categories of the West German Robocup soccer 2017! Robocup soccer is a competition where two autonomous robots on each side play soccer in a walled arena. We covered them winning multiple times in the past on this blog. Their robots use Pololu 20D mm metal gearmotors and VNH5019 motor driver carriers.

Bohlebots junior team winning West German Robocup 2017 soccer open 1v1.

ZumoMotors library for Netduino

Posted by Jamee on 9 March 2017

The Pololu Zumo Robot for Arduino is designed to be essentially a shield for the A-Star 32U4 Prime, Arduino Uno or Arduino Leonardo. Other Arduino boards that conform to the Arduino interface might work too. For example, customer Omar Elabd ported the ZumoMotors library to his Netduino 2! The Netduino is a 32-bit microcontroller board similar to Arduino that runs the .NET Micro Framework instead of using the Arduino environment.

He posted his code on GitHub and announced it on his blog. He is thinking of expanding his library to include ZumoBuzzer and ZumoReflectanceSensorArray libraries. The library is written in C#, which is exciting since I’m a C# programmer myself! If others would like to expand on these libraries, Omar is open to code contributions.

Ball-balancing robot

Posted by Ryan on 8 March 2017

One of our customers, Jochen Alt, built a robot that balances on top of a ball by driving around on it with omni-wheels. Even better, he very thoroughly documented the project on GitHub! The robot uses a number of parts from Pololu including 37D mm metal gearmotors with encoders, stamped aluminum L-brackets for 37D mm metal gearmotors, and three VNH2SP30 motor driver carriers.

A good overview of the robot and the control system are on his Hackaday project page.

New distributors in Asia and Australia

Posted by Ryan on 7 March 2017
Tags: distributors

Last week, I wrote about our new distributors in the Americas. We’ve also added three new distributors in Asia and Australia since our last round of new distributor introductions:

ToolParts is an online store in Seoul, South Korea, bringing our total number of distributors in Korea to five! They carry a selection of Pololu products including voltage regulators, motor drivers, and sensors.

Tronixlabs Australia is an online store located near Melbourne. They offer $5 flat rate shipping for all of Australia, and they do same-day shipping (a service we are also proud to offer at Pololu). They join our six other Australian distributors. Visit their Pololu products category to see what they carry.

Fab.to.Lab is an online retailer of hobbyist and prototyping electronics based in Bangalore, India. They sell a variety of Pololu products including robots, sensors, gearmotors, and motor drivers. Pololu now has six distributors in India.

See the full list of over 200 distributors to find one in your area.

Cedarville University Solar Boat Team

Posted by Ryan on 6 March 2017

A technical paper about hydrofoil design by members of the Cedarville University Solar Boat Team won a $1,000 Honorable Mention in the 2016 Mandles Prize for Hydrofoil Excellence from the International Hydrofoil Society. The boat they’ve been building uses a few Pololu Jrk 12v12 USB motor controllers to drive linear actuators that control the hydrofoil angle of attack which controls the boat’s flight. (Yes, flight: a hydrofoil boat uses wing-like hydrofoils that lift up the hull as they “fly” through the water.) They plan to enter this boat in the “Top Class” of the Dutch Solar Challenge. The “Top Class” provides entrants the opportunity to design every aspect of their solar-powered boat, which they will use in a series of sprint and endurance races over the course of five days. They also plan on racing in the Solar1 Solar Boat World Championship at the Yacht Club de Monaco.

Science Olympiad 2017 robot arm competition

Posted by Ryan on 3 March 2017

Congratulations to Matthew Siracusa and William Rule who placed first in the Robot Arm competition of the Science Olympiad SE PA Regional Tournament last Wednesday! They used our custom laser cutting service to cut the base and structural components of the robot arm out of black ABS. We wrote about another one of Matthew’s projects on this blog when he made a 6-string banjo (that has a frame we also laser cut) as part of the 2014 Science Olympiad.

The Science Olympiad website has more information about the Robot Arm competition.

Steel custom laser cutting available

Posted by Arthur on 2 March 2017

We’ve been offering quick-turn custom laser cutting service ever since “we” were just Candice and Jan operating a tabletop Epilog out of their home. Since then we’ve cut a wide assortment of customer designs including jewelry, engraved control panels, robot chassis, Christmas ornaments, and wedding invitations.

We started out mostly cutting acrylic, gradually moving into cutting a wider variety of plastics and wood. All along we’ve been improving our processes and increasing our capabilities by buying machines with bigger beds, better control systems, and more power. Without announcing it officially, we’ve been cutting metal for customers and ourselves over the past few years. For example, we cut our Basic Sumo Blade for the Zumo Chassis and the SMT stencils for our in-house electronics assembly. We’ve been refining our metal cutting processes and finding the best cut settings to minimize the chance of burring and dross, so most parts come out relatively clean and smooth to the touch.

The process quality has gotten to the level where we are comfortable announcing that metal laser cutting is generally available to customers!

Through-cutting, vector etching, and raster engraving on stainless steel.

Through-cutting, vector etching, and raster engraving on mild steel.

Through-cutting, vector etching, and raster engraving on spring steel.

Top-side scan of laser-cut stainless steel.

Top-side scan of laser-cut mild steel.

Top-side scan of laser-cut spring steel.

Bottom-side scan of laser-cut stainless steel.

Bottom-side scan of laser-cut mild steel.

Bottom-side scan of laser-cut spring steel.

You can see in the pictures above that laser-cut steel parts have a slight discoloration along the laser-cut edges caused by the chemical reaction that takes place when cutting. Depending on the steel type and whether the cuts are through the material, vector-etched line art, or raster-engraved filled-in areas, the discoloration is different (some tend to be brownish while others are a dark gray). We do not guarantee that parts will be free of blemishes; we ship the parts without any post processing, and we currently do not offer additional services such as deburring, tumbling, or bending.

As stocked materials (shown on our quote request page), we carry #304-2B stainless steel in 0.024″, 0.030″, 0.036″, 0.048″, 0.060", and mild steel in 0.030″ and 0.060″. We can arrange to use material you ship to us, but keep in mind that steel is the only metal we can cut. We cannot cut copper, brass, titanium, aluminum, or precious metals.

To get started on having your laser-cut steel parts cut, submit a quote request here.

Web-based control of a telescope using Raspberry Pi

Posted by Brandon on 1 March 2017

@MarcisShadow is working on a project using a Raspberry Pi with a Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi to control a Celestron NexStar GoTo Mount, allowing web-based control of a telescope. He also uses a Pololu 5V Step-Up/Step-Down Voltage Regulator S7V7F5 connected to the motor driver to power the Raspberry Pi from the motor power supply.

The project is being documented in a multi-part series on DirtyAstro.com. Part 1 covers the electronics that come with the telescope mount, part 2 is about assembling and testing the DRV8835 driver kit and motors, part 3 tackles setting up the Raspberry Pi and using an SSH client (PuTTY) to connect to it remotely via a PC, and part 4 is about getting Node-Red running to program the Raspberry Pi graphically using a web interface from any machine on the network.

He is not finished with the project, but I have a couple of suggestions for him or anyone doing something similar: First, since his 12 V supply exceeds the maximum operating voltage of both the motor driver (11 V) and the regulator (11.8 V), I would recommend using different ones. Keep in mind that “wall-wart” DC power supplies, especially older transformer-based ones, can have a voltage significantly higher than the rated voltage. Second, a board running a full operating system is usually not great for timing-sensitive operations like counting encoder ticks. If it can’t keep up with the pulse rate, I would recommend using a secondary microcontroller for the encoders. One possibility would be to use the A-Star 32U4 Robot Controller SV with Raspberry Pi Bridge, which incorporates a more appropriate 5.5 V – 36 V regulator, an Arduino-compatible microcontroller, and dual motor controllers.

New Products

CT432-HSWF30DR TMR Current Sensor Compact Carrier 0A to 30A, 5V
ACS72981ELRATR-200B3 Current Sensor Large Carrier -200A to +200A, 3.3V
CT432-HSWF30MR TMR Current Sensor Compact Carrier -30A to +30A, 5V
Pololu Reverse Voltage Protector, 4-60V, 12A
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
ACS72981LLRATR-050B3 Current Sensor Large Carrier -50A to +50A, 3.3V
CT433-HSWF65DR TMR Current Sensor Compact Carrier 0A to 65A, 3.3V
ACS72981LLRATR-050B5 Current Sensor Large Carrier -50A to +50A, 5V
4.2-15V, 3A Fine-Adjust Step-Down Voltage Regulator D30V30MAS
ACS37220LEZATR-150B5 Current Sensor Large Carrier -150A to +150A, 5V
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