The Helitronix Gun Wiggler - Yet another winter project

Talk about anything!

Moderator: Admin

The Helitronix Gun Wiggler - Yet another winter project

Postby Joel Rosenzweig » Sat Apr 06, 2013 8:20 am

A few years ago, I made a one of a kind device to wiggle the guns on Darrell Sprayberry's Cobra. He few years went by, and he wanted another. And then a few more folks wanted one, too. Well, that was OK, but I didn't have the hardware to make those any longer. That part of me that is crazy for a good challenging, small project, liked the idea of making a new one, that like The Bionic Man, would be better than the original that it replaced.

The basic criteria was to build a device that would wiggle the guns on an Apache, and try to randomize it in some way so that it would look realistic. After some thought, I finally settled on a basic algorithm that would do a good job simulating these movements. Russell Stockhausen turned me on to a few good Apache videos for inspiration! So after studying them, I came up with some solid ideas and implemented those.

The device is a 3-axis controller, which means it can control up to 3 independent servos. Each servo has a dedicated enable channel. When enabled, that servo will move. When disabled, it will seek neutral and park itself there. You can setup it up so that one input channel controls all three outputs if you wish. Using some Windows software that connects to the Wiggler over USB, you configure the endpoints and neutral for each servo, the speed range for each servo, and a delay range for each servo.

The Wiggler then, chooses an end point on the opposite side of where it is now, randomly choosing a location that crosses the midpoint, but doesn't go over the max end point. It chooses a duration of travel, randomly, between the min and max travel times (1/2 second to 10s), and then chooses a random delay between the min and max delay times, so that it pauses motion and sits there for a moment at the end of its stroke.

The device itself looks like this:
Image

The Windows software looks like this:
Image

And here's a short YouTube video that shows the Wiggler in action on my work bench. I don't have it installed in an Apache, unfortunately. But I did connect 2 servos together and some plastic to simulate the gun, to give you an idea of what it might look like.

That video is here. You just have to use your imagination as if it were on a helicopter.


There are three people who have them so far, Darrell, Joe B, and Russell. Hopefully, they will install them into their Apache's soon and show us what it all looks like.

As some of you may know, Darrell is now producing the Indy Heli's Apache... Darrell will be selling these Gun Wiggler's soon. You can contact either of us for details if you are interested in purchasing one.

Enjoy,
Joel
User avatar
Joel Rosenzweig
Honorary Member
Honorary Member
 
Posts: 1815
Joined: Fri Jul 04, 2003 1:04 pm
Location: Marlborough, MA, USA
Has thanked: 1 time
Been thanked: 8 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby joeb » Sat Apr 06, 2013 9:57 am

Joel
I'm as slow as a wet week getting stuff done - I've working on how mount the servo's to get the various movements - slaving the gunners head to the gun etc
Hopefully I'll get a "wiggle on"
to anyone whos interested I can confirm these are very well made and the program appears simple cover all the functions I'll need
I'd suggest there are many other applications it would be applicable for other than just an Apache gun wiggler
Cheers
Joe
On the J Curve of all things Heli I'm Still heading down hill fast
User avatar
joeb
Honorary Member
Honorary Member
 
Posts: 510
Joined: Tue Oct 23, 2007 5:43 pm
Location: Lake Macquarie NSW Australia
Has thanked: 0 time
Been thanked: 3 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby bell222 » Sat Apr 06, 2013 10:02 am

sure is Joe
i need one for my Blue Thunder
pm sent
Marvel Craft Worldwide
http://www.justscale.co.nz
User avatar
bell222
Honorary Member
Honorary Member
 
Posts: 2944
Joined: Mon Jun 28, 2004 6:15 pm
Location: sunny,Albury Australia
Has thanked: 2 times
Been thanked: 10 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby helicrash » Mon Apr 08, 2013 1:14 pm

Joel
cant thank you enough for developing the gun wiggler, who would have thought the monster we all thought up at IRCHA would finally be realized in such a neat package.
its the finishing touch my Apache needed
helicrash
Newbie
Newbie
 
Posts: 46
Joined: Fri Sep 10, 2010 10:47 pm
Location: clover sc
Has thanked: 0 time
Been thanked: 0 time

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby gonzalom » Mon Apr 08, 2013 2:12 pm

Very cool Joel! For my upcoming Cobra I was thinking of needing something like that. Not knowing of your design on the matter I started to play and program similar functionality with the Arduino board and it was amazing! I just got it to do several servos random with the right end points and speed. I loved what the Arduino can do too.

Best,

Gonzalo
User avatar
gonzalom
Honorary Member
Honorary Member
 
Posts: 1424
Joined: Mon Jan 06, 2003 11:32 am
Location: Novato, California, USA
Has thanked: 1 time
Been thanked: 3 times
YouTube: http://www.youtube.com/user/AirGonzalo

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby Heli_jack » Mon Apr 08, 2013 11:42 pm

Joel....the electronics wizard of SRCH. :laugh:
“I now have absolute proof that smoking even one marijuana cigarette is equal in brain damage to being on Bikini Island during an H-bomb blast” – Ronald Reagan
User avatar
Heli_jack
Honorary Member
Honorary Member
 
Posts: 4465
Joined: Sat Feb 01, 2003 12:43 am
Location: Washougal, WA
Has thanked: 10 times
Been thanked: 8 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby Joel Rosenzweig » Mon Apr 08, 2013 11:59 pm

Thanks Jack. I feel like I am in good company with many amazing people here.

To Gonzalo's point, yes absolutely, someone can make their own custom device with an Arduino or any other microcontroller they wish to use. To make a custom device requires skill, time and interest that not everyone has.

If you want something ready to go, then getting a ready made device makes sense. If you want to design and build something yourself, then starting from scratch and doing that makes sense.

Clearly, with all our friends at IRCHA asking me to make such a device, it's clear that not everyone wants to develop the software and hardware for their own. This is for them. :)

Joel
User avatar
Joel Rosenzweig
Honorary Member
Honorary Member
 
Posts: 1815
Joined: Fri Jul 04, 2003 1:04 pm
Location: Marlborough, MA, USA
Has thanked: 1 time
Been thanked: 8 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby webmaxx » Tue Apr 09, 2013 12:20 am

Hi Joel

Great - my devices under the nose need one :dribble:
3 channels are perfect, 2 for Nightsun, 1 for FLIR :cool:

Image

Chees Marcel
In the air: Sea King HU.5 | Firehawk
Currently on the workbench: MH-53M Pave Low IV
My picture gallery on Picasa
User avatar
webmaxx
Honorary Member
Honorary Member
 
Posts: 87
Joined: Tue Jan 19, 2010 6:47 am
Location: Switzerland
Has thanked: 1 time
Been thanked: 0 time

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby hawkdriver » Tue Apr 09, 2013 2:27 am

Awesome stuff Joel, I love your products and Marcel where is the rest of the pics of that heli. Dont tease us like that.
<a href='http://www.scalerchelis.com/gallery/hueydriver' target='_blank'>My Scale Gallery</a><br><br>
User avatar
hawkdriver
Honorary Member
Honorary Member
 
Posts: 1015
Joined: Fri Sep 09, 2005 10:24 am
Location: California
Has thanked: 0 time
Been thanked: 0 time

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby cquinby » Tue Apr 09, 2013 2:43 am

hawkdriver wrote:Awesome stuff Joel, I love your products and Marcel where is the rest of the pics of that heli. Dont tease us like that.

There is a whole thread on it Dan! viewtopic.php?t=14022
Chris

Do what you gotta do!!!

My Blog
quin?by, verb, 'kwin-bE:
1 a: To crash (your helicopter) on the maiden flight.
2 a: To roll (your helicopter) over, destroying the main blades.
e.g. I quinbied my helicopter yesterday. Don't quinby the helicopter. He who quinbies often, has a good relationship with the UPS driver. If you're not quinbying, you're not flying hard enough.
User avatar
cquinby
Admin
Admin
 
Posts: 7428
Joined: Thu Nov 21, 2002 4:47 pm
Location: Tenino, WA
Has thanked: 7 times
Been thanked: 17 times
YouTube: www.youtube.com/scalerchelis

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby hawkdriver » Tue Apr 09, 2013 3:02 am

Thanks Chris that is my bad.
<a href='http://www.scalerchelis.com/gallery/hueydriver' target='_blank'>My Scale Gallery</a><br><br>
User avatar
hawkdriver
Honorary Member
Honorary Member
 
Posts: 1015
Joined: Fri Sep 09, 2005 10:24 am
Location: California
Has thanked: 0 time
Been thanked: 0 time

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby Kananga » Tue Apr 09, 2013 9:32 am

What is the software made with?

For unconnected projects to do with my design and prototype buisness's ive developed a couple of things that need an interface. Ive tried to get my head around various programming languages getting the most joy from vb but ive found its a bit too basic (lol) for my needs.
Are you coding from scratch or are there programs out there that do for programming like dreamweaver does for websites?

Love this unit and the light flasher, both on my wish list for the future.
Going through a fpv multi rotor phase at the moment.
User avatar
Kananga
Scale Master
Scale Master
 
Posts: 2043
Joined: Fri Jul 03, 2009 12:05 am
Location: Peak District, UK
Has thanked: 0 time
Been thanked: 0 time

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby Joel Rosenzweig » Wed Apr 10, 2013 2:49 am

Kananga wrote:What is the software made with?

For unconnected projects to do with my design and prototype buisness's ive developed a couple of things that need an interface. Ive tried to get my head around various programming languages getting the most joy from vb but ive found its a bit too basic (lol) for my needs.


There are two components to the software, 1) the firmware which runs on the device, and, 2) the Windows Application Software that lets you configure the device. The firmware that runs on the device is written in a a language called SPIN. It's a language designed by the chip manufacturer that's specific to their multicore CPU. It has similarities between C and Basic, but is not quite either of them. But it's perfectly suited for taking advantage of the capabilities of the chip, which is great. The Windows Application Software, in this case, was something I wrote in Visual Basic. It would have been just as easy to write it in Visual C++. I happened to have started prototyping the UI in Visual Basic because I wanted to experiment with it. I kept it that way, because converting it to C++ offered me no advantages at that point for this application.

Are you coding from scratch or are there programs out there that do for programming like dreamweaver does for websites?


The firmware core logic is all from scratch. There are libraries available that I use for certain things, such as storing and retrieving data from the EEPROM, a good random number generator, and serial I/O routines. No need to re-invent that sort of thing. But sometimes, they need to be tweaked to behave exactly the way I need them to in order to perform their job to my requirements. Fortunately, the source is provided so that developers can do exactly that.

The Application software is written using VB, and leverages the User Interface controls from the Visual Basic GUI builder toolset. Visual Basic will give you tools to make controls that show up on screen. The logic to make them do something useful is my own.

Visual Basic can do a whole lot, but it doesn't know your "business rules", so it can't do everything for you. It's really good at letting you build a "what you see is what you get" user interface, but it doesn't know anything about you are trying to do with it, or how it should behave. As the developer, I have to fill in all those details. So, all mistakes are my own. :-)

There are libraries of code available in many languages that can accomplish a great number of things. Of course, the skill is knowing what you want, and how to use what you have effectively. Sometimes, the best solution is writing a piece from scratch, and sometimes, you want to leverage an existing piece of code. It all depends on what you're doing.

Joel
User avatar
Joel Rosenzweig
Honorary Member
Honorary Member
 
Posts: 1815
Joined: Fri Jul 04, 2003 1:04 pm
Location: Marlborough, MA, USA
Has thanked: 1 time
Been thanked: 8 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby Kananga » Wed Apr 10, 2013 11:51 pm

Thanks for your reply Joel. I think i need to keep looking for that snippet i need in vb, i do like its ease of use but im stuck on one part of it. Ill get it sorted and ill have a look at SPIN for the chips, ive not heard of that. Thanks again.
Going through a fpv multi rotor phase at the moment.
User avatar
Kananga
Scale Master
Scale Master
 
Posts: 2043
Joined: Fri Jul 03, 2009 12:05 am
Location: Peak District, UK
Has thanked: 0 time
Been thanked: 0 time

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby gionk » Thu Apr 11, 2013 3:31 am

thats friggin awesome joel :rockon:
coming to palooza this year?
Jeremy
User avatar
gionk
Honorary Member
Honorary Member
 
Posts: 609
Joined: Sat Jun 23, 2007 1:29 pm
Location: Portland, Oregon
Has thanked: 0 time
Been thanked: 0 time

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby Joel Rosenzweig » Thu Apr 11, 2013 3:20 pm

Hi Jeremy,

Thanks. I will try to make it out to Palooza this year. I haven't made flight arrangements yet or anything, but I'm going to try and work it out.

Joel
User avatar
Joel Rosenzweig
Honorary Member
Honorary Member
 
Posts: 1815
Joined: Fri Jul 04, 2003 1:04 pm
Location: Marlborough, MA, USA
Has thanked: 1 time
Been thanked: 8 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby coptercptn » Mon Apr 15, 2013 10:28 am

I saw the "Wiggler" at Cajonhelifest... May, just have to have one myself.... (Cobra)
User avatar
coptercptn
Scale Builder
Scale Builder
 
Posts: 263
Joined: Sun Aug 12, 2007 5:10 am
Location: Mesa AZ.
Has thanked: 0 time
Been thanked: 2 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby helijenks » Wed Apr 17, 2013 6:11 am

What a brilliant gadget - it is now a Must have !!!! - more than one in fact ..... :dribble: :dribble:
Cheers
Chris
“So far as we know, a helicopter hasn't yet been used for ploughing a field - But I have had quite a few attempts at it !"
User avatar
helijenks
Honorary Member
Honorary Member
 
Posts: 329
Joined: Thu Oct 20, 2011 12:01 am
Location: Aberdeen
Has thanked: 7 times
Been thanked: 8 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby Copter777 » Wed Apr 17, 2013 7:35 am

I have one on the way, looking forward to trying it out . . . .
Builds In progress:
Star Flight EC-145
Thunder Tiger UH-1Y
Vario 412 1:7
User avatar
Copter777
Scale Builder
Scale Builder
 
Posts: 502
Joined: Fri Mar 05, 2010 8:32 pm
Location: East Sussex, UK
Has thanked: 10 times
Been thanked: 9 times
YouTube: http://www.youtube.com/user/gripen7777

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby helicrash » Thu Apr 18, 2013 1:45 pm

Joel
i told you this would be a hit
helicrash
Newbie
Newbie
 
Posts: 46
Joined: Fri Sep 10, 2010 10:47 pm
Location: clover sc
Has thanked: 0 time
Been thanked: 0 time

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby Joel Rosenzweig » Thu Apr 18, 2013 1:47 pm

Russell,

I seriously need to build something that needs a Wiggler now.. Blue Thunder, I have my eyes on you.

Joel
User avatar
Joel Rosenzweig
Honorary Member
Honorary Member
 
Posts: 1815
Joined: Fri Jul 04, 2003 1:04 pm
Location: Marlborough, MA, USA
Has thanked: 1 time
Been thanked: 8 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby controlledCrashes » Thu Apr 18, 2013 5:17 pm

Very nicely done. Why not use something like Java/python/perl/tcl or some other language that is cross platform so user of linux/mac
can also run your software? I realize that most people have windows over other platforms but still sucks if you don't have one and want to
run the software. I guess there is always something virtual box, vmware or parallels.

Never used the parallax stuff but looks pretty nice. My micro of choice for years has always been picmicro but like you said that takes time. Sadly
time to build everything from scratch just isn't there anymore. I just recently picked up a few Arduino boards but have yet to actually play with them.

Keep up the good work.

Mike
User avatar
controlledCrashes
Scale Member
Scale Member
 
Posts: 146
Joined: Fri Nov 30, 2007 11:15 am
Location: Oceanside, CA
Has thanked: 0 time
Been thanked: 0 time

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby bell222 » Thu Apr 18, 2013 10:01 pm

mine is on its way
destined for my blue thunder :dribble:
Marvel Craft Worldwide
http://www.justscale.co.nz
User avatar
bell222
Honorary Member
Honorary Member
 
Posts: 2944
Joined: Mon Jun 28, 2004 6:15 pm
Location: sunny,Albury Australia
Has thanked: 2 times
Been thanked: 10 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby Joel Rosenzweig » Fri Apr 19, 2013 4:05 am

Mike,

I do most of my development on a Mac and run VMWare to run Windows and the associated developer tools. I understand your concern about application portability. My choice of development environment was based on my familiarity with the tools. I'm relatively efficient developing applications in C, and Visual Basic, but much less so in languages such as Java. My hope is that most people who are interested in the Wiggler have access to either a machine that runs Windows natively, or, can run Windows in a virtual machine, or, can bring the Wiggler over to a friends house for the few minutes it takes to setup the Wiggler. :-)

If you, or anyone else wants to create a Java program for the UI, I'll happily provide details on how to communicate with it.

Joel
User avatar
Joel Rosenzweig
Honorary Member
Honorary Member
 
Posts: 1815
Joined: Fri Jul 04, 2003 1:04 pm
Location: Marlborough, MA, USA
Has thanked: 1 time
Been thanked: 8 times

Re: The Helitronix Gun Wiggler - Yet another winter project

Postby copterdoctor » Fri Apr 19, 2013 5:56 am

cool stuff as usual Joel :rockon:
life is all about flying a rotorcraft<br>and driving a rotory
User avatar
copterdoctor
Scale Master
Scale Master
 
Posts: 4238
Joined: Sun Dec 01, 2002 2:30 pm
Location: daleville/ft. rucker alabama
Has thanked: 0 time
Been thanked: 2 times
YouTube: www.youtube.com/copterdoctor200

Next

Return to Main Discussion

Who is online

Users browsing this forum: No registered users and 4 guests