Saturday morning, a package arrived. It had bigger motors in it. And, those motors came with all the right screws to mount them. So I got those installed.
Motors need something to make them spin. Those "should" be placed somewhere they'll get airflow.
The frame I'm going to be flying has the sprung lower chassis and the upper "x" frame. I think that to get the most benefit of the shock mounted upper "x" frame, I'm going to try to mount everything I can on the lower pod.
Also, to have the lightest install I can manage, I want to have the motor leads as short as I can manage.. that means mounting the speed controls close to the motors. The closest I can get the speed controls to the motor is on the wings of the pod. I think they look good there too.
Quadcopters are not stable. They need a controller to make them manageable. And even then they can be a bit of an adventure. As I'll explain later.
Our choice of controller is the Naze32. They come soldered, and unsoldered, and this time.. we got the unsoldered version. So out came the soldering gear. Well.. actually SwitchElectricians soldering gear.
And here's the Naze32 mounted, properly, to my quad-copters top plate. We chose to mount our controllers up there because the battery is less likely to bash into it, and an impact with the ground isn't likely to cause anything to come up and interfere with it. Or at least that's the thought.
Mounting the boards where we did, also lead to some problems. My board is inverted. And the board assumes it will be right side up and looking forward. However, that can be handled later.
While I had the soldering iron out, I built the power harness. I want all of the motors to run the same, and I have a moderate dislike for the PDB (Power Distribution Board) systems out there.
PDB's have a limit on how much copper is available to pass power. Given that these motors will only draw a maximum of 10 amps each, I doubt a PDB would be a big voltage drop. Still, I don't like them, and I'm pretty good with a soldering iron.
My harness is a U shape of 14ga wire. Each speed control is fed by 20ga wire. I think it looks good, and it keeps the high amperage stuff away from the signal wires. This setup still needs a few more zip ties.
It almost looks alive here. Standing on it's tippy toes. Here we are programming it for the first time. Mistakes are being made as this photo was being shot.
For lack of damper balls, I have some rolled up cardboard and zip ties holding the "x" frame to the lower pod. So for now the joint is rigid. The receiver doesn't care if it gets shaken, so I mounted that on top.
I really like how the back end turned out. There's an XT60 connector on there because that's what SwitchElectrican had on hand. I use Deans connectors for the most part. I'll be swapping that as soon as I get this thing home.
Testing the quadcopter didn't go very well. Every time I got the throttle high enough to have it fly, it would sort of respond to inputs, then flip over. Faster than I could do anything about it the heli was on it's top.
This happened three times. I ate two props the first time, and another prop the second time. And for the third time around, we flew on top of a towel, which saved the props...
The speed at which the thing was flipping made me think the thing was feeding back into itself wrong. We sat down and watched a video on how to set up the Naze32. And while we learned a bit from it, such as what "angle" and "horizon" modes were, that didn't seem to pin down why the thing was inverting so quickly.
And then we took a close look at the setup page. Both SwitchElectrician and I had our boards in non-standard directions. So any time the board tried to tip, the controller tried to compensate in a wrong direction.
Once we sorted out the proper directions, I was able to lift off and hover the thing. However, due to the time of night, I wasn't able to really take it for a flight.
My advice to you, is make sure that your board knows what direction it's in on your airframe, and the motions you make with the airframe match what you see on the screen.
Oh look the quadcopter is home. It needs a name. I'm open to suggestions.
Next time, the quadcopter will get it's FPV rig, and it's 720p video camera mount.
The rambling and barely organized thoughts, reviews, ideas, and projects of Nerobro
Sunday, November 30, 2014
Wednesday, November 26, 2014
Building a quadcopter: finding out what's missing.
A couple weeks ago, a youtube video surfaced of people racing quadcopters through the woods. Well, here's the video.
Kinda exciting isn't it? But what does a setup like that cost? How much effort would it take to do. My buddy SwitchElectrician said he wanted to do it. I... well couldn't resist.
I did some digging, and found a quad frame that looked good to me. He and I both bought this:
http://hobbyking.com/hobbyking/store/__65245__Hobbyking_X_Factor_230mm_Quad_Copter_Super_Frame.html
Orders were placed. Items were shipped. SwitchElectrican and I both got our quad "kits" within a week.
Kinda exciting isn't it? But what does a setup like that cost? How much effort would it take to do. My buddy SwitchElectrician said he wanted to do it. I... well couldn't resist.
I did some digging, and found a quad frame that looked good to me. He and I both bought this:
http://hobbyking.com/hobbyking/store/__65245__Hobbyking_X_Factor_230mm_Quad_Copter_Super_Frame.html
It's a good looking platform to me. A solid X shape with a pod suspended on anti vibration balls. The controller boards don't like vibration, so isolation is a good thing. Amusingly, it's on the expensive end of quadcopter frames, at an astounding $20.
Orders were placed. Items were shipped. SwitchElectrican and I both got our quad "kits" within a week.
The kit looks pretty complete. Lets dig in.
SwitchElectrican had contacted me, and told me that his was missing some parts. I was hoping mine wasn't going to be missing those bits. So I start digging, and the disappointment sets in.
You'll notice that the only paper in there is the little business card, with the picture of the quad on it. There are no instructions, and that kinda matters on this thing, as we'll get to later. And no damper balls.
So I started with the bad, lets cover the good. The aluminum standoffs are all perfect. The screws and standoffs have good threads on them. The screws are of high quality. The milling of the FRP is almost flawless. Suffice it to say, I'd buy this kit again, and again, and recommend it to others.
You'll notice that the only paper in there is the little business card, with the picture of the quad on it. There are no instructions, and that kinda matters on this thing, as we'll get to later. And no damper balls.
So I started with the bad, lets cover the good. The aluminum standoffs are all perfect. The screws and standoffs have good threads on them. The screws are of high quality. The milling of the FRP is almost flawless. Suffice it to say, I'd buy this kit again, and again, and recommend it to others.
The bottom plate is some very thin fiberglass. It's downright floppy. But as you can see, it's got nice sharp edges everywhere, and no fuzzy bits like you'd get from a dull cutter. I couldn't resist starting the assembly. With eight standoffs, this should end up being a very rigid pod.
After assembling the pod, I found that the top plate goes on the pod just one way. This is where a manual would have been handy. I think it would also help to dictate which side your camera should be mounted on.
I couldn't help but throw a motor on, and a speed control, just to see what it looked like. For now the build is stalled until I get the damper balls in.
Next update should be the completed build, and the first hover.
Thursday, November 6, 2014
Stinky stuff from China?
I love getting new stuff in the mail. This time it was a stack of protoboards from China. When I opened the package though, I was struck by the smell. It smells like a zoo. Weird... Oh well, I get to build circuits tonight.
Thursday, October 23, 2014
Why must Android be this way? Battery managment as a lifestyle....
TL;DR: Android apps are getting bloated. Developers aren't paying attention to android being a mobile platform and are abusing memory, cpu and battery. How can we solve this? How can we track it easily?
Android talks to me. What android stands for, and represents, makes me feel a bit better about the world. It's unlikely I'll be switching platforms anytime. (Yes, that's a hard stop there.) Android also upsets me on weekly basis. It's becoming tiresome... I just want my battery to last. And I want apps I open to stay open.
My first android phone was a T-Mobile G1. For those who are new to smartphones, it was the first android phone released to the mass market. I still have it. It's still a good phone. But it's also where I first learned that battery management was in my hands. I installed a AOL instant messenger client, and flattened my battery in a couple hours.
Every so often, apps would close that I intended to keep open. Especially while listening to podcasts. And while using navigation.
The G1 had a very simple suite of software on it. Managing what was using data, and what was waking the phone, wasn't very difficult. Within a week or three I had the bad apps removed, and I was getting at most of a day from the stock battery. Those were some hard learned lessons, and watching a talk from Google about gaming and battery usage really crystallized things for me.
But that was a world of 20 or 30 apps, and a mostly vanilla install on a simple phone. But, time was passing, my 384mhz chip wasn't keeping up. And as programs updated, they got more and more bloated.
As soon as it came out, I moved to a T-mobile G2 (HTC Vision to the rest of you.) I bought it knowing I was going to need and extended battery. With lessons learned on my G1, keeping the battery life reasonable on the phone wasn't a stressfull experience. It was rare that a hung process caused the phone to stay at high load, and cook the battery. But those days did start to get more frequent.
The new phone took care of my podcast program dropping out. And navigation wasn't dieing anymore. At least at first. The longer I had the phone, the more often my podcast app would just shut off. The MP3 player would do so too. I just want my audio ... is that to much to ask?
Sadly the G2 was a slow-ish dual core chip. About two years ago, I switched to a Samsung Galaxy S Relay. (Can you tell I like my keyboards?) While at first, it's battery life was just "ok." The music player, and my podcast app were working great. And it would generally get me through the day, a little bit of gaming could leave me phone-less by mid afternoon.
Again, I got an extended battery. This really helped the situation. As the stock battery on the Relay is really quite small, and it's a phone that can draw several watts under load. And this is where the story really turns south.
My phone's battery life, even with the extended battery, was really only about a day. Then one week, my phone became useless. Suddenly my phone's battery life was down to 8 hours. And the phone was hot. Like, OSHA issue, hot. Like puffed two batteries hot. I called T-Mobile. They had no idea. I ended up taking it to the internet at large.
The "internet at large" is where I found out about some moderately upsetting things. In Windows, and MacOS, there are utilities built in that let you quite effectively manage your applications. Utilities that let you find out what, and where, is eating your CPU, Memory, and by proxy, your battery. Tracking that sort of information in Android is.. difficult.
I was introduced to Wakelock Detector, and SystemCleanup. "Needing those at all" is a problem. But the fact they're out there did provide me with options.
Through some testing, I found that the application that was burning my battery was the latest update to T-Mobiles app. The one that's supposed to help me manage my account, was the one that was locking my cpu to full speed and causing me to destroy batteries.
Between Wakelock Detector, and SystemCleanup, I was able to remove, and kill, applications that were sucking up CPU and providing me no utility. In the end, my phone's battery was able to give me a reliable 80 hours of normal phone usage. I was proud of my work. I was enjoying a phone that stayed cool, played my podcasts and music, and did navigation when I needed it.
Then the updates came. As each app updates, they seem to get worse and worse. And apps that have no reason to suck up CPU time, wake the phone, and cause my battery to die. For example, Amazon Marketplace. I have nothing through amazon on my phone, yet with it's latest update, it knocked 20 solid hours of runtime off my phone!
I wish there were some way of dealing with this. I had the phone of my dreams just a few weeks ago. And now I have a phone that is down to a ~30 hour runtime. Perhaps the walls of the android marketplace need to be a little higher. Maybe OS controls need to be tighter. "No, you can't run in the background." should be an option. And CPU and memory management need to be easier to get to.
And... in the last weeks.. I can no longer run my podcast app and strava at the same time. Both apps updated, and it appears one kicks the other out of active memory.
This can be fixed. I know it...
Android talks to me. What android stands for, and represents, makes me feel a bit better about the world. It's unlikely I'll be switching platforms anytime. (Yes, that's a hard stop there.) Android also upsets me on weekly basis. It's becoming tiresome... I just want my battery to last. And I want apps I open to stay open.
My first android phone was a T-Mobile G1. For those who are new to smartphones, it was the first android phone released to the mass market. I still have it. It's still a good phone. But it's also where I first learned that battery management was in my hands. I installed a AOL instant messenger client, and flattened my battery in a couple hours.
Every so often, apps would close that I intended to keep open. Especially while listening to podcasts. And while using navigation.
The G1 had a very simple suite of software on it. Managing what was using data, and what was waking the phone, wasn't very difficult. Within a week or three I had the bad apps removed, and I was getting at most of a day from the stock battery. Those were some hard learned lessons, and watching a talk from Google about gaming and battery usage really crystallized things for me.
But that was a world of 20 or 30 apps, and a mostly vanilla install on a simple phone. But, time was passing, my 384mhz chip wasn't keeping up. And as programs updated, they got more and more bloated.
As soon as it came out, I moved to a T-mobile G2 (HTC Vision to the rest of you.) I bought it knowing I was going to need and extended battery. With lessons learned on my G1, keeping the battery life reasonable on the phone wasn't a stressfull experience. It was rare that a hung process caused the phone to stay at high load, and cook the battery. But those days did start to get more frequent.
The new phone took care of my podcast program dropping out. And navigation wasn't dieing anymore. At least at first. The longer I had the phone, the more often my podcast app would just shut off. The MP3 player would do so too. I just want my audio ... is that to much to ask?
Sadly the G2 was a slow-ish dual core chip. About two years ago, I switched to a Samsung Galaxy S Relay. (Can you tell I like my keyboards?) While at first, it's battery life was just "ok." The music player, and my podcast app were working great. And it would generally get me through the day, a little bit of gaming could leave me phone-less by mid afternoon.
Again, I got an extended battery. This really helped the situation. As the stock battery on the Relay is really quite small, and it's a phone that can draw several watts under load. And this is where the story really turns south.
My phone's battery life, even with the extended battery, was really only about a day. Then one week, my phone became useless. Suddenly my phone's battery life was down to 8 hours. And the phone was hot. Like, OSHA issue, hot. Like puffed two batteries hot. I called T-Mobile. They had no idea. I ended up taking it to the internet at large.
The "internet at large" is where I found out about some moderately upsetting things. In Windows, and MacOS, there are utilities built in that let you quite effectively manage your applications. Utilities that let you find out what, and where, is eating your CPU, Memory, and by proxy, your battery. Tracking that sort of information in Android is.. difficult.
I was introduced to Wakelock Detector, and SystemCleanup. "Needing those at all" is a problem. But the fact they're out there did provide me with options.
Through some testing, I found that the application that was burning my battery was the latest update to T-Mobiles app. The one that's supposed to help me manage my account, was the one that was locking my cpu to full speed and causing me to destroy batteries.
Between Wakelock Detector, and SystemCleanup, I was able to remove, and kill, applications that were sucking up CPU and providing me no utility. In the end, my phone's battery was able to give me a reliable 80 hours of normal phone usage. I was proud of my work. I was enjoying a phone that stayed cool, played my podcasts and music, and did navigation when I needed it.
Then the updates came. As each app updates, they seem to get worse and worse. And apps that have no reason to suck up CPU time, wake the phone, and cause my battery to die. For example, Amazon Marketplace. I have nothing through amazon on my phone, yet with it's latest update, it knocked 20 solid hours of runtime off my phone!
I wish there were some way of dealing with this. I had the phone of my dreams just a few weeks ago. And now I have a phone that is down to a ~30 hour runtime. Perhaps the walls of the android marketplace need to be a little higher. Maybe OS controls need to be tighter. "No, you can't run in the background." should be an option. And CPU and memory management need to be easier to get to.
And... in the last weeks.. I can no longer run my podcast app and strava at the same time. Both apps updated, and it appears one kicks the other out of active memory.
This can be fixed. I know it...
Thursday, August 28, 2014
Parked in front of a Microsoft data center
So, I don't have a "usual" place to ride on training rides. Last night my wandering took me past the Microsoft data center that's just off of 294. I got this really weird feeling I was being watched as I took the picture....
Happily, my riding has been paying dividends. The Garmin 305 is doing it's job, and I've got a goal speed to match, beat, and flog myself when I don't. Between the speedo, and strava segments I'm putting on watts rather quickly. If not losing pounds.
Back to the DC though. It's a huge facility. The transformers that power the place, are larger than my house. and have blast walls between them so they don't blow up the neighbor if one does fail.
Happily, my riding has been paying dividends. The Garmin 305 is doing it's job, and I've got a goal speed to match, beat, and flog myself when I don't. Between the speedo, and strava segments I'm putting on watts rather quickly. If not losing pounds.
Back to the DC though. It's a huge facility. The transformers that power the place, are larger than my house. and have blast walls between them so they don't blow up the neighbor if one does fail.
Monday, August 18, 2014
I got my microview. Microview.io A microcontroller with a built in display.
I really do love the USPS. They bring me toys. This time it was a kickstarter reward. I got in on the Microview Kickstarter. And.. finally it arrived. Minus the packing material, and the plastic baggie on the Microview, here's what I got in the mail.

Sparkfun boxes are so pretty. Oh, while we're at it. https://www.kickstarter.com/projects/1516846343/microview-chip-sized-arduino-with-built-in-oled-di Here's the kickstarter link.
How about a closeup of the hardware. They sent me a solderless breadboard, a programmer, and the Microview. The Microview is a completely professional piece. It's Sony level quality.
And the Microview and programmer separate from the programming board. Sparkfun did a really good job on the programmer too. I'll show you the highlights of that in a moment.
That's a classy place to put your logo. I like it. The programmer has every pin marked. And it's got the fancy through headers, so you can plug the Microview into it directly, or plug it into a breadboard.
So, the part I liked best about the programmer is in the upper left hand corner of the board. Instead of just marking "pin 1" as is typical. They put a little drawing, so you can have a visual reference that doesn't need pin reading to get it right. Between "top" and the off center display box, it'll be hard to plug the Microview in the wrong way.
Here's the Microview ready to be programmed. It comes with some really fancy demo software, but that'll have to wait for another post.
I am exceedingly pleased with this thing. I can't wait to do something fun with it.
And if you'd like one of your own. Sparkfun is selling them. Here's the link: http://microview.io
Friday, August 15, 2014
Bike Geometry Pictures, How I took them.
So, comparing bike geometries is a funny thing. With sloping top tubes, and other various bike tricks the whole geometry thing is fuzzy.
While helping some people sort out bike frame choices on a forum I frequent, I took shots of most of the bikes in my garage, to compare geometry. Now, this has it's problems, taking photos that give GOOD ideas of shape is hard. Cameras take a spherical image, and you get distortion out at the edges. So to minimize this, I set up a tripod, about 30' away form the bikes, and zoomed in as much as I could. This made the included angle smaller, so the distortion would be smaller.
Here are the results.
2007 Dawes LT1000 46cm
2006 Fetish Penna 50cm
2013 Fuji Cross 2.0 48cm
2012 Mercier Nano (small)
2014 Fuji Ace 650 35cm
2011 GT series 3 42cm
The first 4 bikes are mine, and are setup for me. The last two are bikes for a very short friend of mine.
2013 Louis Garneau X2 Comp (Courtesy of Kamil)
I'd love to add your bike to this. To take a picture, get your camera about 3' off the ground. Table height is good. Get the camera about 30' back from the bike, and zoom in. E-mail or attach your images to the comments and I'll add your bike to the list.
While helping some people sort out bike frame choices on a forum I frequent, I took shots of most of the bikes in my garage, to compare geometry. Now, this has it's problems, taking photos that give GOOD ideas of shape is hard. Cameras take a spherical image, and you get distortion out at the edges. So to minimize this, I set up a tripod, about 30' away form the bikes, and zoomed in as much as I could. This made the included angle smaller, so the distortion would be smaller.
Here are the results.
2007 Dawes LT1000 46cm
2006 Fetish Penna 50cm
2013 Fuji Cross 2.0 48cm
2012 Mercier Nano (small)
2014 Fuji Ace 650 35cm
2011 GT series 3 42cm
The first 4 bikes are mine, and are setup for me. The last two are bikes for a very short friend of mine.
I'd love to add your bike to this. To take a picture, get your camera about 3' off the ground. Table height is good. Get the camera about 30' back from the bike, and zoom in. E-mail or attach your images to the comments and I'll add your bike to the list.
Subscribe to:
Posts (Atom)






