Open Source Motor Controller Makes Smooth Moves With Anti-Cogging

Almost two years ago, a research team showed that it was possible to get fine motor control from cheap, brushless DC motors. Normally this is not feasible because the motors are built-in such a way that the torque applied is not uniform for every position of the motor, a phenomenon known as “cogging”. This is fine for something that doesn’t need low-speed control like a fan motor, but for robotics it’s a little more important. Since that team published their results, though, we are starting to see others implement their own low-speed brushless motor controllers.

The new method of implementing anti-cogging maps out the holding torque required for any position of the motor’s shaft so this information can be used later on. Of course this requires a fair amount of calibration; [madcowswe] reports that this method requires around 5-10 minutes of calibration. [madcowswe] also did analysis of his motors to show how much harmonic content is contained in these waveforms, which helps to understand how this phenomenon arises and how to help eliminate it.

While [madcowswe] plans to add more features to this motor control algorithm such as reverse-mapping, scaling based on speed, and better memory usage, it’s a good implementation that has visible improvements over the stock motors. The original research is also worth investigating if a cheaper, better motor is something you need.

Fridge Alarm Speaks, And Saves Power & Food

One of the most power-hungry devices in our homes, besides the air conditioner or heater, is our refrigerator and freezer. It’s especially so if the door doesn’t close all the way or the magnetic seal doesn’t seat properly. [Javier] took to solving a recurring problem with his personal fridge by attaching an alarm to the door to make sure that it doesn’t consume any more power than it absolutely needs.

At its core the device is straightforward. A micro switch powers a small microcontroller only when the door is open. If the door is open for too long, the microcontroller swings into action. The device then powers up a small wireless card (which looks like a variant of the very well-documented ESP module), that communicates with his microwave of all things, which in turn alerts him with an audible, spoken alarm that the refrigerator hasn’t closed all the way. It’s all powered with a battery that will eventually need to be recharged.

While there are certainly easier ways to implement an alarm, the use of the spoken alarm is a nice touch for this project, and the power savings that can be realized are not insignificant. There’s also the added benefit that [Javier] can prevent his freezer from frosting over. If you’re in the mood for other great fridge hacks, there are other exciting, novel, and surely one-of-a-kind ways to trick out your refrigerator.

Continue reading “Fridge Alarm Speaks, And Saves Power & Food”

Inductive Loop Vehicle Detector Gets Modernized

Much like George Lucas and the original Star Wars films, many of us may find that our passion projects are never quite finished, especially when new technology comes around or we just want to make some improvements for their own sake. [Muris] was featured a while back for a vehicle detecting circuit, but is back with some important upgrades to his project. (Which, luckily, do not include any horrible CGI aliens.)

For starters, the entire project has been reworked from the ground up. For anyone unfamiliar with the original project, the circuit detected a vehicle via an inductive loop and was able to perform a task like opening a gate. It now has two independent channels which are polled separately, yet has a reduced parts count which should make construction simpler. The firmware has also been reprogrammed, and in addition to sensing a vehicle’s presence can now also measure the speed of any vehicles passing by.

The complete list of improvements can be found on the project page, and an extensive amount of documentation is available on this if you want to try to roll out your own inductive loop vehicle detector. Of course, this isn’t the only way to detect a vehicle’s presence if inductive loops aren’t really your style.

Continue reading “Inductive Loop Vehicle Detector Gets Modernized”

Surfboard Industry Wipes Out, Innovation Soon Follows

For decades, Gordon Clark and his company Clark Foam held an almost complete monopoly on the surfboard blank market. “Blanks” are pieces of foam with reinforcing wood strips (called “stringers”) in a rough surfboard shape that board manufacturers use to make a finished product, and Clark sold almost every single one of these board manufacturers their starting templates in the form of these blanks. Due to environmental costs, Clark suddenly shuttered his business in 2005 with virtually no warning. After a brief panic in the board shaping industry, and a temporary skyrocketing in price of the remaining blanks in existence, what followed next was rather surprising: a boom of innovation across the industry.

Continue reading “Surfboard Industry Wipes Out, Innovation Soon Follows”

Tiny, Wearable 8-Bit VT100 Terminal

In the modern era of computing, the end-user is often quite far removed from the machine they’re using. At least in terms of abstraction levels, the user experience of most computers, smart phones, and the like are very far away from the zeros and ones. If you need to get down to that level though, you’ll have to make your way to a terminal somehow, and reminisce fondly about the days when everything was accessed through a serial line.

Nowadays, some harmless nostalgia is often accompanied by a challenge as well, as [Nick] demonstrated with his tiny serial terminal. It mimics the parsing and rendering of a VT100 console using an Arduino Uno and a 1″x1″ TFT screen. His goal was to make it wearable like a wristwatch would be, using two buttons as an HID device. With the size and simple interface, [Nick] also explores the possibility of mounting such a terminal to a pair of glasses.

While not everyone may want to interact with a serial terminal with only two buttons, it’s certainly a great demonstration of what is possible when it comes to implementing retro software in unique ways. There have been serial terminals implemented in many other unique places as well, such as old oscilloscopes and replicas from popular video games.

Spare RPi? You Have A Currency Trading Platform

While Bitcoin and other altcoins are all the rage these days, there is still a lot of activity in the traditional currency exchanges. Believe it or not, there’s money to be made there as well, although it rarely makes fanciful news stories like cryptocurrency has been. Traditional currency trading can be done similar to picking stocks, but if you’d rather automate your particular trading algorithm you can set up a Raspberry Pi to make money by trading money.

This particular project by [dmitry] trades currency on the Forex exchange using an already-existing currency trading software package called MetaTrader. This isn’t an ARM-compatible software suite though, so some auxiliary programs (Wine and ExaGear Desktop) need to be installed to get it working properly. From there, its easy enough to start trading in government-backed currency while reaping all of the low-power-usage benefits that the Pi offers.

[dmitry] does note that you can easily use MetaTrader on a standard laptop, but you might be tempted to go against your trading algorithms and even then you won’t be reaping the power benefits of the ARM processor. We don’t see too many traditional currency or stock trading tips around here, but don’t forget that it’s still possible to mine some types of cryptocurrency even if BitCoin is out of reach of most now.

Hackaday Prize Entry: Modular, Rapid Deployment Power Station

After a disaster hits, one obvious concern is getting everyone’s power restored. Even if the power plants are operational after something like a hurricane or earthquake, often the power lines that deliver that energy are destroyed. While the power company works to rebuild their infrastructure, [David Ngheim]’s mobile, rapid deployment power station can help get people back on their feet quickly. As a bonus, it uses renewable energy sources for power generation.

The modular power station was already tested at Burning Man, providing power to around 100 people. Using sets of 250 Watt panels, wind turbines, and scalable battery banks, the units all snap together like Lego and can fit inside a standard container truck or even the back of a pickup for smaller sizes. The whole thing is plug-and-play and outputs AC thanks to inverters that also ship with the units.

With all of the natural disasters we’ve seen lately, from Texas to Puerto Rico to California, this entry into the Hackaday Prize will surely gain some traction as many areas struggle to rebuild their homes and communities. With this tool under a government’s belt, restoration of power at least can be greatly simplified and hastened.