Open-source BLDC motor driver

Brushless Motor Controller Shield For Arduino

Brushless motors are ubiquitous in RC applications and robotics, but are usually driven with low-cost motor controllers that have to be controlled with RC-style PWM signals and don’t allow for much customization. While there are a couple of open-source brushless drivers already available, [neuromancer2701] created his own brushless motor controller on an Arduino shield.

[neuromancer2701]’s shield is a sensorless design, which means it uses the back-EMF of the motor for feedback rather than hall effect sensors mounted on the motor. It may seem strange to leave those sensors unused but this allows for less expensive sensorless motors to work with the system. It also uses discrete FETs instead of integrated driver ICs, similar to other designs we have covered. Although he is still working on the back-EMF sensing in his firmware, the shield successfully drives a motor in open-loop mode.

The motor controller is commanded over the Arduino’s serial interface, and will support a serial interface to ROS (Robot Operating System) in the future. This shield could be a good alternative to hobby RC controllers for robots that need a customizable open-source motor controller. The PCB design and source code are available on GitHub.

Continue reading “Brushless Motor Controller Shield For Arduino”

Ride, Captain, Ride Aboard Your Arduino-Controlled Autopiloted Sailboat

[Jack], a mechanical engineer, loom builder, and avid sailor wanted an autopilot system for his 1983 Robert Perry Nordic 40 sailboat with more modern capabilities than the one it came with. He knew a PC-based solution would work, but it was a bit out of reach. Once his son showed him an Arduino, though, he was on his way. He sallied forth and built this Arduino-based autopilot system for his sloop, the Wile E. Coyote.

He’s using two Arduino Megas. One is solely for the GPS, and the other controls everything else. [Jack]’s autopilot has three modes. In the one he calls knob steering, a potentiometer drives the existing hydraulic pump, which he controls with a Polulu Qik serial DC motor controller. In compass steering mode, a Pololu IMU locks in the heading to steer (HTS).  GPS mode uses a predetermined waypoint, and sets the course to steer (CTS) to the same bearing as the waypoint.

[Jack]’s system also uses cross track error (XTE) correction to calculate a new HTS when necessary. He has fantastic documentation and several Fritzing and Arduino files available on Dropbox.

Autopilot sailboat rigs must be all the rage right now. We just saw a different one back in November.

Continue reading “Ride, Captain, Ride Aboard Your Arduino-Controlled Autopiloted Sailboat”

Microslice: The Tiny Arduino Laser Cutter

[SilverJimmy] already had a full-sized 50 watt laser cutter, but he decided to try his hand at putting together something smaller and microcontroller-driven. The result is this adorable little engraver: the MicroSlice.

To keep the design simple, [SilverJimmy] opted for a fixed cutting table, which meant moving the cutting head and the X-Axis as a unit along the Y-Axis. The solution was to take inspiration from gantry cranes. He snagged a couple of stepper motors with threaded shafts, designed the parts in Inkscape, then fired up his full-size cutter to carve out the pieces. An Arduino Uno and the relays for the laser and fans sit on the MicroSlice’s bottom platform, and two EasyDriver motor controllers sit above them on the next layer.

Swing by the Instructables for more details including the source code, and to see a video of the engraver below. [SilverJimmy] sourced his laser from eBay, but check out the engraver from earlier this year that used a DVD diode.

Continue reading “Microslice: The Tiny Arduino Laser Cutter”

Talkbot: An Arduino-driven Robot For Beginners

talkbotguts

It isn’t exactly WALL-E, but [Bithead’s] affordable introduction to robots — Talkbot — is made out of a trash can. This little guy runs off an Arduino and comes packed with features, including a voice chip, a motor shield, and a pair of bump sensors. Talkbot will cruise around until a bump sensor slams into an obstacle. One of his prerecorded messages will then play through the speaker while he backs up, turns, and tries to find a clearer path.

According to [Bithead’s] build log, tracking down the right bargain voice chip was a bit of a hassle; he skipped over the text-to-speech options only to be stalled by vendor issues. He finally settled on a clone of Sparkfun’s WTV020SD chip sourced from eBay, which allows you to access pre-recorded WAV files stored on a Micro-SD card. The robot’s body comes straight off the hardware store shelf, with PVC pipe for arms and a polystyrene base to hold all the parts.  At the bargain price of $110, [Bithead’s] students will have a true hacker experience cobbling the Talkbot together rather than using a prefab kit.

Be sure to see Talkbot  in a video below, performing either his green-eyed “friendly mode” or red-eyed “grumpy mode,” which dictates how pleasantly he responds to obstacles. Need something more advanced? Check out the tentacle robot, just in time for Halloween.

Continue reading “Talkbot: An Arduino-driven Robot For Beginners”

Dumpster Diving Nets 100 Arduino-powered Motor Controllers

Never one to pass up the recycle pile at work, [Scott] usually doesn’t find much. A few old hard drives, maybe a ancient laptop every once in a while, but on very rare occasions he finds something actually useful. This latest haul is a gaggle of stepper motor drivers that, with a bit of work, can be reverse engineered and turned into an Arduino.

After prying into one of the plastic-enclosed boards, [Scott] found a LED, a quartet of transistors for powering the motor, and an ATMega168 microcontroller. Interestingly, most of the pins for the 168 were already broken out on the DA15 connector on each controller. The only thing needed was to build a programmer to dump the Arduino bootloader onto these little widgets.

After much trial and error (and building a new programming interface), [Scott] now has 100 Arduinos with a single stepper motor controller built in. He’s already made a toy light cycle rotate on a small stepper (after the break) and blink a LED, but with this many widgets, we’re wondering what crazy contraption [Scott] will come up with.

Continue reading “Dumpster Diving Nets 100 Arduino-powered Motor Controllers”

USBPIC Controls Just About Anything

Over the last few years, [Michael] has been developing a PIC microcontroller board. He calls his project USBPIC, and with the addition of a few FET drivers, H-bridges, and LED drivers his homemade dev board can handle just about anything thrown at it.

[Michael]’s board is build around a PIC18F2455 microcontroller with both an In Circuit Serial Programming header and support for a USB port included. Instead of going for a modular format where the board can expanded through shields or expansion cards, [Michael] decided to make three different versions of the USBPIC.

The TRANS USBPIC includes eight FETs for switching off high current devices totaling 32 Amps. The MATRIX board has twice as many outputs as the TRANS board, but uses ULN2803 or UDN2982 chips for driving smallish-current devices. Finally, the HBSW board takes a TRANS board and replaces four FETs with a an L298 H-bridge chip for driving two DC motors.

For what [Michael] lost in modularity, we think he gained a very tidy microcontroller board capable of driving everything from robots to LED matrix displays.

Open Source Brushless Motor Controller

It’s been a long time coming, but efforts to create Open Source brushless motor controller are finally paying off.

The Open-BLDC project aims to create an open source motor controller for the brushless motors usually found in remote control airplanes, helicopters, and quadcopters. Normally, these motor controllers – usually called electronic speed controllers – can’t supply more than a few dozen amps, and are usually only controllable via a servo signal.

The Open-BLDC goes far beyond the capabilities of off-the-shelf ESCs with up to 200 amps of output, TTL level serial input, and the ability to use regenerative breaking.

While the Open-BLDC project is far from complete, the team working on the hardware hopes to add I2C, CAN, and PPM interfaces, along with speed and torque control.

There is no word on when, or even if, the Open-BLDC will ever be available for sale, but with the features it has it would be welcomed by just about any builder constructing a gigantic RC vehicle.