One of the bigger problems with any CNC machine or 3D printer is the issue of missed steps when moving the toolhead. If a stepper motor misses a step, the entire layer of the print – and every layer thereafter – will be off by just a tiny bit. Miss a few more steps, and that print will eventually make its way into the garbage. [Misan] has the solution to this: closed loop control of DC motors for a 3D printer.
Most printer firmwares use an open loop control system for moving their motors around. Step a few times in one direction, and you know where the nozzle of a 3D printer will be. Missed steps confound the problem, and there’s no way for the firmware to know if the nozzle is where it should be at any one time.
[Misan]’s solution to this was a DC motor coupled to an optical encoder. Both the motor and the encoder are connected to an Arduino Pro Mini which receives step and direction commands from the printer controller. The controller takes care of telling the motor where to go, the Arduino takes care of making sure it gets there.
The entire build is heavily derived from ServoStrap, but [Misan] has a very cool demo of his hardware: during a print, he can force the X and Y axes to either side, and the Arduino in each motor will move the print head back to where it needs to be. You can check that out below.
Continue reading “Closed Loop Control For 3D Printers”
[Patrick] was looking for an easier way to control music and movies on his computer from across the room. There is a huge amount of remote control products that could be purchased to do this, but as a hacker [Patrick] wanted to make something himself. He calls his creation, “Dial” and it’s a simple but elegant solution to the problem.
Dial looks like a small cylindrical container that sits on a flat surface. It’s actually split into a top and bottom cylinder. The bottom acts as a base and stays stationary while the top acts as a dial and a push button. The case was designed in SOLIDWORKS and printed on a 3D printer.
The Dial runs on an Arduino Pro mini with a Bluetooth module. The original prototype used Bluetooth 2.0 and required a recharge after about a day. The latest version uses the Bluetooth low energy spec and can reportedly last several weeks on a single charge. Once the LiPo battery dies, it can be recharged easily once plugged into a USB port.
The mechanical component of the dial is actually an off-the-shelf rotary encoder. The encoder included a built-in push button to make things easier. The firmware is able to detect rotation in either direction, a button press, a double press, and a press-and-hold. This gives five different possible functions.
[Patrick] wrote two pieces of software to handle interaction with the Dial. The first is a C program to deal with the Bluetooth communication. The second is actually a set of Apple scripts to actually handle interaction between the Dial and the various media programs on his computer. This allows the user to more easily write their own scripts for whatever software they want. While this may have read like a product review, the Dial is actually open source! Continue reading “Dial is a Simple and Effective Wireless Media Controller”
Does your RC car’s crude, push-button controller make you feel like you’re mashing tv remote buttons like a caveman? We think so too, but [Noel] has actually done the heavy-lifting to fix just that. He’s revamped his kids’ rc controller for gesture control. Now their rc car can be guided by the crisp, intuitive control of one’s wrist movements.
To tackle this project, [Noel] has integrated a gyroscope and accelerometer, an Arduino, and the existing remote. Data from the gyroscope-and-accelerometer limits are mapped to the buttons through an Arduino, which parses the raw data and triggers the controller’s switches, now wired directly to the Arduino and pulled up with resistors. In his overview video, [Noel] tells us that he’s binarized the gyroscope-and-accel data to trigger at certain limits, a choice that adequately suits the controller’s original push-button controls. Finally, the entire setup is cleanly strapped to a 3D-printed case. Not bad, for a grand total of $20 and a quick trip to Target.
[Noel]’s custom wrist-controller takes its place on the shelf of many other unique controllers, and his demo is a great example of using existing open hardware to tailor our toys to more personal tastes. After all, the hardware shopping list is just a breakout board, an Arduino, and a few jumper wires. When the next zombie apocalypse hits, we can easily see some practical components like these making their way into our suitcase. At the very least, we’ll be able to build a few wrist controllers and dispatch some toy cars to greet the undead.
Continue reading “Budget Wrist-Controlled RC car is a nice touch”
[grassjelly] has been hard at work building a wearable device that uses gestures to control quadcopter motion. The goal of the project is to design a controller that allows the user to intuitively control the motion of a quadcopter. Based on the demonstration video below, we’d say they hit the nail on the head. The controller runs off an Arduino Pro Mini-5v powered by two small coin cell batteries. It contains an accelerometer and an ultrasonic distance sensor.
The controller allows the quadcopter to mimic the orientation of the user’s hand. The user holds their hand out in front of them, parallel to the floor. When the hand is tilted in any direction, the quadcopter copies the motion and will tilt the same way. The amount of pitch and roll is limited by software, likely preventing the user from over-correcting and crashing the machine. The user can also raise or lower their hand to control the altitude of the copter.
[grassjelly] has made all of the code and schematics available via github.
Regular candles can be awfully boring at times. They can only produce one color and the flicker is so… predictable. They can’t even be controlled by an infrared remote control, not to mention the obvious fire hazard. Now, however, [Jose] has come up with an LED candle that solves all of these problems. (Original link to the project in Spanish.)
The heart of the project is an Arduino Pro Mini, which is especially suited for this project because of its size. [Jose] put the small form-factor microcontroller in the base of a homemade wax enclosure and wired it to a Neopixel WS2812b LED strip. The strip can produce any color, and has some programmed patterns including flicker, fade, rainbow, and fire.
The artificial candle is controlled with an infrared remote control, and all of the code for the project is available on the project site if you want to build your own. [Jose] has been featured here before for his innovative Arduino-driven RGB lighting projects, and this is another great project which builds on that theme!
We all know that sound. That sound of a noisy yapping dog, or the sound of a disruptive garbage truck loudly picking up the trash while making a ruckus along the way. It can be extremely distracting and frustrating to deal with. And more often than not, we have little control over the noise pollution in the area. Unless of course, you build a monitoring solution to raise awareness of the situation, like this one that [Edmund] made.
It was designed in conjunction with the Earth Journalism Network (EJN) in order to, as their website states, “facilitate story-telling of the sources and health impacts of noise from around the world“. An Arduino Pro Mini was the backbone of the project. Being open-source in nature meant that it could be customized easily with a wide array of sensors. [Edmund] chose to use an Electric Imp adding WiFi capability to the device. His step-by-step tutorial showed the design process, leading into the prototyping of the parts, and contains schematics for the circuit. As of the time that this article was published, the coding section of project hasn’t been released yet, but the first three parts give enough information to get the ball rolling.
This type of monitoring solution has the potential to record the noise levels of neighborhoods all across the world. With a large enough pool of data, API’s can be developed for uses like house hunting web searches that show which areas in town are the quietest, or which ones are the loudest. This will surely provide a wealth of knowledge about noise pollution, and it will be interesting to see how people utilize this (and projects similar) in the future.
A group of developers have uploaded a tutorial on Instructables showing the steps needed to develop a homemade DIY fitness tracker. The design is the second iteration of an Arduino-based wearable smart watch project of theirs. This time around, they opted to focus more on the monitoring system rather than a visual display. It is called the ‘RetroBand’ and records steps taken and calories burned by the user.
The microcontroller used is an Arduino Pro mini 3.3v. Accelerometer and gyro sensors were integrated to capture the movement of the ‘RetroBand.’ A wireless bluetooth module connects to an Android phone which presents the data through a Play Store app complete with graphs included. An enclosure was 3D printed. Everything is powered by a one cell Lithum-Polymer battery. The code for the project can be found on Github, and additional information with a how-to manual is on their website (which is in Korean, but can easily be translated through the browser).