A Quadcopter From Scratch

Quadcopter

[AwesomeAwesomeness] wanted a low cost quadcopter, so he built one from scratch. Okay, not quite from scratch. [AA’s] cookie mix came in the form of an Arduino Uno and some motors. He started with motors and propellers from a Hubsan X4 quadcopter. Once the power system was specified, [AA] designed a frame, arms, and motor pods in Solidworks. He printed his parts out and had a sweet quadcopter that just needed a brain.

Rather than buy a pre-made control board, [AA] started with an Arduino Uno.  An Arduino alone can’t source enough current to drive the Hubsan motors. To handle this, [AA] added a ULN2003A  Darlington transistor array. The 2003A did work, but [AA] had some glitching issues. We think FETs would do much better in this application, especially when running PWM.

On the control side of things, [AA] added an MPU-6050 Triple Axis Accelerometer and Gyro breakout from SparkFun. The 6050 has 3 gyros and 3 accelerometers in one package. Plenty for a quadcopter.

All this left was the coding. Multicopters generally use Proportional-Integral-Derivative (PID) control loops to maintain stability in the air. [AA] used the Arduino PID library for his quadcopter. He actually created two PID instances – one for pitch and one for roll.

[AA] doesn’t have any videos of his quadcopter in action yet, and we’re guessing this is due in part to weight. Lifting an Uno, a perfboard, and a frame is a tall task for those motors. Going with a one of the many tiny Arduino’s out there would help reduce weight. In addition, [AA] could use a gear system similar to what is used in the Syma X series quadcopters. Stick with it – you’re on the right track!

 

Hackaday Links: May 11, 2014

hackaday-links-chain

North Korean drones! Yes, your local hobby shop has the same aerial reconnaissance abilities as North Korea. Props to Pyongyang for getting v-tail mixing down.

There’s nothing quite as satisfying as the look of a well laid out resistor array, and the folks at Boldport have taken this to a new level. It’s an art piece, yes, but these would make fabulous drink coasters.

Here’s something even more artistic. [cpurola] found a bunch of cerdip EPROMs and bent the pins in a weird chainmaille-esque way. The end result is an EPROM bracelet, just in time for mother’s day. It’s a better use for these chips than tearing them apart and plundering them for the few cents worth of gold in each.

[John] still uses his original Xbox for xmbc, but he’d like to use the controllers with his computer. He never uses the third and fourth controller ports, so he stuck those in his computer. It’s as simple as soldering the controller port module to a connector and plugging it into an internal USB port. Ubuntu worked great, but Windows required XBCD.

[Kerry] has modified an FT232 USB/UART thingy as an Arduino programmer before. The CP2102 USB/UART is almost as popular on eBay, a little less expensive, and equally suited for ‘duino programming. It requires desoldering a resistor and soldering a jumper on a leadless package, but with a fine solder tip, it’s not too bad.

folding arduino lab

DIY Arduino Cases You Never Knew Existed

There are sure a lot of varieties of Arduinos out there but there may even be more of a variety when it comes to Arduino Cases. Let’s take the most popular Arduino form factor, the Uno. Below are a handful of unique cases for the Uno-sized boards.

 

by [Megaduty], Arduino Protection Box beefy arduino case

We’ll call this one robust. Although it is 3D printed, its intent is to be extremely protective of the inhabitant. Some extra thought went into this case, no tools are needed! After the Arduino snaps into place, so does the cover. There is an access door to get the input/output wires to the free world. [Megaduty] suggests that this contains $0.10 of plastic. Not a bad deal.

 

Continue reading “DIY Arduino Cases You Never Knew Existed”

Two Wheeler Is Gyroscope Stabilized

[Jim] loves gyros – not those newfangled MEMS devices, but old-fashioned mechanical gyroscopes. His obsession has pushed him to build this gyro stabilized two wheeler. We love watching hacks come together from simple basic materials and hand tools, with liberal amounts of hot glue to hold everything in place.  That seems to be [Jim’s] philosophy as well.

This is actually the fifth incarnation of [Jim’s] design. Along the way he’s learned a few important secrets about mechanical gyro design, such as balancing the motor and gyro assembly to be just a bit top-heavy. [Jim’s] gyro is a stack of CDs directly mounted to the shaft of a brushed speed400 R/C airplane motor. The motor spins the CDs up at breakneck speed – literally. [Jim] mentions that they’ve exploded during some of his early experiments.

The gyroscope is free to move in the fore-aft direction. Side to side balance tilting is on the wheels themselves. The wheels are model airplane wheels, which have a curved tread. No cheating by using flat LEGO wheels in [Jim’s] lab! A potentiometer measures the tilt angle of the gyro. The voltage from the pot is fed into an Arduino Uno which closes the loop by moving a servo mounted counterweight.

The vehicle is controlled with a regular R/C plane radio. A servo steers the front wheel while another DC motor drives the rear wheel. Not only is [Jim’s] creation able to balance on its own, it can even make a U-Turn within a hallway.

Continue reading “Two Wheeler Is Gyroscope Stabilized”

The Smallest ATtiny85 Based USB Board

Nanite 86

“Possibly the smallest ATtiny85 based ‘duino derivative”. Indeed! When Olimex announced the Olimexino 85s as the smallest Arduino ever, [Tim] took that as a challenge. His very small Arduino based USB devboard is quite a bit smaller than the Olimexino!

The Nanite 85 was carefully designed to be both small and functional. Not only is it 20% smaller than the Olimexino, but also sports a reset button! One of the coolest aspects of this design is that it has the same pinout and size as a DIP ATtiny85. This means that you can use the Nanite 85 for developing your code with the USB bootloader, and then you can directly replace it with a standard (pre-programmed) ATtiny85. The major downside to using this device over the aforementioned devices, is that it does not include a voltage regulator for powering the device via USB (or battery), the device is simply hooked directly to the 5V rail from the USB connector.

We can’t help but be impressed with this well-thought-out design. It is also easy to assemble since it uses larger surface mount components. If smaller components were used, even more features (such as a regulator) could be included. Do you have an even smaller USB Arduino? The race is on for the smallest Arduino ever!

Tell Time And Blink An LED On Your Wrist With WatchDuino

Watchduino Open Source Watch

Is your hipster wrist having a hard time waiting for the debut of the iWatch? There’s a new open hardware/software project out that could help calm your nerves. The WatchDuino is exactly what it sounds like, an Arduino-based wrist watch.

The component list is short and inexpensive. The meat and potatoes consist of an ATMega328, crystal, Nokia LCD screen and LiPo battery. The USB-rechargeable battery lasts about a week before needing to be such. Besides presenting the Time and Date in both analog or digital formats (as you would expect) there is an alarm and timer. Additionally, there are 2 games, Pong and Snake. Any lack of features is made up for the fact that the software is open and can be modified and added to by the community. We’re sure the development of this watch will be quick and significant.

Continue reading “Tell Time And Blink An LED On Your Wrist With WatchDuino”

Cadence Meter Proves Wearable Development Is All About Just Doing It

wearables-just-start-doing

 

The tech involved in the fitness world really empowers athletes, whether they’re serious or not, to improve their performance by providing empirical evidence. The Striker project focuses on cadence, which is the frequency of strides when running, or revolutions when pedaling. It uses a force sensitive resistor in the shoe to measure footfalls or power strokes.

The concept behind the device is solid, and there are consumer-grade devices already on the market that are capable of performing the same functions. In fact, a Garmin device is used to help measure the accuracy of the system. But we love to see bootstrapped projects, and this one distinguishes itself not only in finished product, but in the process itself. To us it screams: “What are you waiting for, build a prototype and then iterate!”.

The larger image above shows the earliest working version which is just a piece of fabric that wraps around the forearm to hold a 4-digit 7-segment display. The wire following the arm of the wearer snakes all the way down to the shoe to connect with the force sensor. The image to the right is the first wireless version of the readout. But the project has already seen at least two more versions after this one, mostly using SparkFun components.

We think this is but one example of the kind of stuff we want to see as contenders for The Hackaday Prize. The project uses Open Design and it’s arguably a connected device because the sensor and readout connect to each other (but ideally you’d want to add more connectivy to get at the data). The open nature of the build could lead to leaps forward in the technology by affording talented people wider development access.

Continue reading “Cadence Meter Proves Wearable Development Is All About Just Doing It”