Mike Ziwisky's Place to Write Stuff
Electronics. Software. Helicopters. etc.

Mar
27

I sure haven’t posted anything in a long time, and this post sure isn’t about electronics or helicopters or anything like that (at least not directly, and not for most people), but I feel compelled to share this essay, if only for the sake of having one more hyperlink backalley leading to it on this web so that, in spite of the inconspicuousness of this blog, the odds that someone might stumble upon it through a series of random clicks is a teensy tiny fraction of a percentage higher than it was before this posting.

Paul Graham — How to do what you love.

I’ve come across this essay before, but it has just resurfaced for me again. I’m amazed by how loudly Paul’s ideas resonate in my heart, and I’m certain this is a piece that future-Mike will find as fascinating and inspiring as present-Mike does, though probably for different reasons given his situation in life. I hope that by posting it here I’ll help at least one other person to discover it. (If nothing else, I know I’ll help future-Mike find it!)

Advertisements
Feb
27

hacked board

This weekend was the big Marquette Engineering Open House; a time for the new prospects to come check out the facilities and compete with each other for a chunk of scholarship money. I was asked by the one and only Prof. Jacoby if I’d be willing to consume a laboratory for demoing my flashing lights for the students and parents. Of course I agreed to it — Jacoby’s charm is a powerful force.

A new event made for a good opportunity to take on the problems that were plaguing HeliPOV in its current state. So I finally got back to working on the blades last week.
Read the rest of this entry »

Nov
13

I’d just like to point out that I have created a page with links to the HeliPOV source files. The page is possibly linked at the right side of this post, but is definitely linked by these words. Is it redundant to add a post to ones blog simply to inform the readers that a page has been added to ones blog? Probably. Just wanted to get the news out front and center.

Nov
10

bluering

This post discusses the current status of the HeliPOV. Much progress has been made, but there are some very puzzling problems that I’m dealing with.

Once I got the blades balanced and the heli in the air, I got to work on the microcontroller firmware. After spending a long evening trying to get the whole thing working at once, I failed. But I did decide that as a reward to myself, I should take the heli for an indoor test flight with the non-working firmware loaded. If this was doing what it was supposed to, the blades would look like they were a pizza sliced up into 8 pieces. Instead, they’re just a disc of color. Still, it was fun to fly it in the math building and disrupt everyones studying for a few minutes.

Read the rest of this entry »

Nov
10

This pic has nothing to do with my heli.

Thanks to the help and expertise of the veteran fliers at ABC Flying Field in Concord, I was able to precisely balance the weight and the span-wise center of gravity of the blades to within 0.01g and less than a millimeter, and the vibrations are almost completely eliminated! Turns out the small imbalance between the blades in the z-direction had very little to do with the vibrations I was having; the span-wise balance was the key.

Read the rest of this entry »

Oct
24

They're great swimmers though.

It doesn’t fly.

I finished fabricating the second blade at around midnight. After that, it was time to balance them. With some slightly crude instruments, I got the blades to within about 0.1 – 0.2g of each other, and the difference in their length-wise center of gravity was within about 1-2 millimeters. I thought this should be good enough to get the heli decently stable with the blades spinning. A slow spin-up instantly revealed that it was NOT good enough. The thing shook so violently that I thought for sure it would rip itself apart, or at LEAST bend some of its shafts if I tried spinning up to flying speed.

Read the rest of this entry »

Oct
24

One blade lit up

The next step in the project was fabricating the blades. It wasn’t until now that I noticed a problem with my PCB design. Knowing that I would have to somehow determine the angular position and angular velocity of the blades in flight in order to properly time the flashing of the LEDs, I had incorporated a hall effect sensor near the outside edge of the PCB. I had assumed I could mount a permanent magnet somewhere on the body of the helicopter in such a place that it would be detected by the hall sensor once per revolution. The problem with this was that my helicopter’s flybar is located underneath the rotor blades, and the permanent magnet would be struck by the flybar if it were positioned underneath the spot where the PCB swings past.

Read the rest of this entry »

Oct
24

Bare and stuffed boards

Now that I had an idea of how the hardware needed to be connected, it was time to design a PCB. For this task I used the free version of Cadsoft Eagle. I hadn’t ever used Eagle before, so it was a bit of a learning curve. But after several hours and a few online tutorials, I found the program to be quite capable without being overly complicated. A word of advice for anyone new to PCB design — it’s a step that should be done in parallel with searching for parts from your favorite retailer.

Read the rest of this entry »

Oct
24

Heli lights prototype

The best way to start a new project is to just jump into it. So for the heli lights, my first step was to prototype a POV display. I wanted to use an AVR microcontroller because I already had a programmer and some chips that I bought for other projects that I never got around to doing. The extent of my microcontroller knowledge didn’t go far beyond reading pushbuttons and lighting up LEDs, but I figured a POV display was pretty simple anyway, so this should be fairly easy to do. I looked to LadyAda’s SpokePOV for inspiration. She uses some 74HC595 shift registers with built-in latches to switch the LEDs on and off.

The 74HC595 is an 8-bit shift register. By daisy-chaining four of these chips together, I could address 32 LEDs individually and simultaneously using just a handful of output pins from the MCU. Unfortunately I did not have any 74HC595s on hand, but I did find some 74LS164s to use. These are also 8-bit shift registers but they lack the built-in latch of the 595s. To handle latching, I fed the output of the registers to some 74LS273 octal D flip-flops and used the flip-flop outputs to drive the LEDs. Within a couple of hours, I had my prototype built and spelling “LUKE” when I waved it through the air. (“LUKE” because that’s my roommate’s name, and I wanted him to be excited about what I just built.) Since it’s just for proof of concept, and since I was using a small breadboard, the prototype only used 16 LEDs. I knew that I wanted 32 LEDs for my blades, but I figured if I could daisy-chain two registers successfully, then doing the same to four of them should be no problem.

Oct
17
I am the terror that flaps in the night!

NightGraphix.de R/C heli night blades

I’ve had a fascination with R/C helicopters for many years. I’ve owned two helicopters previously, and I recently purchased my third after going about three years without one. I showed the helicopter to my adviser at school and he loved it so much that he wanted to promote it as something of a “mascot” for the electrical engineering department. Anybody who has seen an R/C heli fly in person knows that they are incredible and exciting machines. But, as impressive as they are, we decided we wanted to add something to the bird to personalize it and make it special. Something that would really get people excited about the kind of things that electrical engineers do. I had already been interested in creating a persistence of vision (POV) display out of my ceiling fan after seeing a post on hackaday, so it was the first thing that popped into my head when we were discussing the helicopter. “Wouldn’t it be great to see this amazing little machine flying around, proudly displaying Marquette’s ‘MU’ logo on the rotor disk in brilliant blue and gold LEDs?!” YES IT WOULD!!

After a quick web search to see if anyone else had done this before, I found a German site called NightGraphix.de. This guy has done exactly what I want to do, and he’s done it fantastically well! But he’s also trying to market his product and sell it for a profit. As such, he gives very little detail of how the system works. This is okay with me though, because I was really just trying to find out if this was even possible. The concept and implementation of a POV display seemed simple enough, but I was worried that the added weight and turbulence from attaching circuitry to the heli blades would throw things so out of whack that it would be unflyable. Seeing is believing though, and the NightGraphix guy has a very impressive video of a helicopter displaying multiple images on its rotor while flying as smoothly as anything I’ve ever flown before. I showed the video to my adviser and he simply said, “You’ve got to do it.”

So, with a video from a German website as inspiration and proof that what I wanted to do was really possible, and with the moral support and financial backing of my adviser, I promptly got to work on my own version of a POV heli blade display. Since I’m not one to spend much time on coming up with clever names for things, I just started calling the project “heli lights.”