Geoff Bunza geoffb

Model animation—bringing models to life—adds enormously to the interest and enjoyment of any layout or individual model! This entry describes an animated car that you can use to test the train handling capabilities of your operating crew. The idea is derived from a car that the late John Allen built to “check” his engineers. This project also demonstrates why I originally built the decoders designed around an Arduino Pro Mini (see: https://forum.mrhmag.com/post/sma20-low-cost-17-channel-dcc-decoders-ver-6-01-with-soundtriggered-soundstepperdual-motorled-and-12201920 ). It provides a useful, powered control platform on which to build other projects like this one

car_2884.JPG   des_2889.JPG 

Geoff Bunza's Blog Index: https://mrhmag.com/blog/geoff-bunza
More Scale Model Animation videos at: https://www.youtube.com/user/DrGeoffB
Home page: http://www.scalemodelanimation.com

Reply 0
Geoff Bunza geoffb

Delicate Merchandise Handling

The following photo shows the John Allen car that inspired this work. If John’s operators were too rough handling trains, his car “trapped” a ball in the opening at either end of a track hidden in a boxcar, and turned on a red light visible below the car. John declared the red lamp indicated a hotbox on the car’s truck. The mechanism had to be manually reset, by putting the rolling ball back onto the curved track.

terior01.JPG 

This “new” version does not turn on a light, but does “indicate” rough handling by sounding the “crashes” of “merchandise” carried within the car. You can see it in action here:

The heart of the mechanism is a similar arrangement of a steel ball, but traveling on a small segment of N-scale flex track. Instead of brass strips for the end travel switches, I used cheap, tiny microswitches ( http://www.goldmine-elec.com ). You can change the movement "sensitivity" of the car by making the internal track for the ball a more shallow curve (more straight). But one must also take into account grades on your layout!

IMG_3399.JPG 

Basic Construction: N Scale Track segment and Microswitches at each end

IMG_3404.JPG 

Mircoswitch Detail

ide_3556.JPG 

der_3563.JPG 

Assembled Decoder, Sound Module and Speaker

The sound is generated by a small, inexpensive audio module, a DFPLayer Mini module Mini ( http://www.ebay.com/itm/281840041896 ), connected to a trimmed iPhone 5 speaker ( http://www.ebay.com/itm/141745780733 ) without enclosure/baffle.

20Module.jpg 

DFPLayer Mini module Specifications:
Supports Mp3 and WMV audio file types
Supports sampling rates of 8KHz,11.025KHz,12KHz,16KHz,22.05KHz,24KHz,32KHz,44.1KHz,48KHz
24-bit DAC output, dynamic range support 90dB, SNR supports 85dB
Supports FAT16, FAT32 file system, maximum support 32GB TF card
A variety of control modes, serial mode, AD key control mode
Built-in 3W mono amplifier
Audio data is sorted by folder; supports up to 100 folders, each folder can be assigned to 1000 clips
30 adjustable volume levels, 10 levels EQ adjustable.

_Speaker.jpg                             eakercut.jpg 

IPhone 5 Speaker                                                               IPhone 5 Speaker cut back

The speaker modifications are easy. First, find only the version pictured (usually listed as iphone 5 or 5C speaker. Then make the following cuts (I use flush cutting side cutters):

_cuts(1).jpg 

In the following picture, you will notice between 12 and 20 0n the ruler, a narrow small opening. This needs to be plugged. I use gap filling ACC glue, and then hit it with a drying accelerator to seal the opening (shown in the rightmost speaker:

llection.JPG 

Then solder your speaker wires to the two spring contacts. Speaker impedance is 8 ohms. But here is the incredible benefit-- it is good to go into your loco or animation as is! No baffle or enclosure needed. It produces clear and loud sound as good or better than the "sugar cube" speaker shown with its baffle! The little speaker above it is my favorite low cost alternative (I think it is the earphone speaker to a Nokia 630 or 635). It has height, but smaller area. Once modified the iphone speaker is so thin, it fits well attached to the underside of a loco cab roof. That plastic extension (and the one I cut off) is the baffle designed for the iphone. This is the speaker used when you use the speaker phone in the iphone, not the other little one at the top used for the earphone. I demonstrated this speaker in my “Modeling with Sound” clinics with the speaker just hanging in mid air.  ...It's one more tool in the modeler's toolbox.

Wheel Contacts

Wheel wipers were added by drilling two small #79 holes in the frame of the plastic trucks and adding Tichy 0.015 phosphor bronze wires for electrical feeders from the rails. Metal wheels were substituted for the original plastic wheel sets.

er1_3509.JPG    er2_3526.JPG 

Metal Wheels and 0.015 Phosphor Bronze Wire Contacts Added

Model Construction Variations

You can use a simple circuit with the DFPlayer module alone shown below, and power it with a small battery, even 2-3 AAA batteries will do. The DFPlayer uses a tiny micro-SD memory card to store the sound clips it will play. In this simple case, grounding “KEY1” or pin 12 on the DFPlayer will play the first file (001.WAV)  on the SD card which should be named “001.WAV” and if you have not guessed, the file should be in WAV audio format. You can use any of the free audio editors available on the web (like Audacity) to edit your “crashes” and convert to WAV format if needed.

andalone.jpg 

Battery Powered Stand Alone Crash Car – One Sound Played

I wanted a bit more variety than one sound, and with basic on/off control, so I used the Arduino Pro Mini DCC decoder design described earlier ( https://forum.mrhmag.com/post/sma20-low-cost-17-channel-dcc-decoders-ver-6-01-with-soundtriggered-soundstepperdual-motorled-and-12201920 ). This provided power from the DCC bus, decoder function control, and allowed the Pro Mini to randomly select from 10 (it can be many more) different crash sound clips. All the sounds and the player/decoder sketch can be downloaded here:   http://mrhpub.com/files/users/geoffbfiles/SMA21_Downloads.zip

chematic.jpg 

DCC Crash Car Schematic with Decoder and Arduino Pro Mini

The decoder default address is 24. F0 turns the crash sounds on and off. The start up default forces F0 on - not a normal decoder standard. The reason for this is that if the car is never selected (addressed by a throttle) it will operate as normal (sounds on) and stay that way. If you select the address and turn F0 off, the sounds go off.

There are more “features” that could be added, including flashing LEDs for  “explosions” inside the car, a red LED to mimic John Allen’s hot box indicator, and alternate sounds, like shouts, or animal sounds. I’ll leave all those as an exercise for other modelers. Note too, that even without the decoder, this provides an outline for modelers to use this low cost setup to trigger other sounds and sequences around their layouts and models. Appropriate comments and suggestions are always welcome.

If you use this, I hope you share your work too. Have fun!  [smile]

Best regards,

Geoff Bunza

Geoff Bunza's Blog Index: https://mrhmag.com/blog/geoff-bunza
More Scale Model Animation videos at: https://www.youtube.com/user/DrGeoffB
Home page: http://www.scalemodelanimation.com

Reply 1
choo choo chuck

I like it

My laugh for the day. That engineer must cost your RR a fortune in damage claims!

Reply 0
joef

Nice ... where'd you get the big steel ball?

This is pretty nice, Geoff. Where did you pick up that big steel ball bearing?

Joe Fugate​
Publisher, Model Railroad Hobbyist magazine

[siskiyouBtn]

Read my blog

Reply 0
hoghead40

T'aint funny, Magee...

Nothing funny about that when it's for real! Riding the side of a car and hearing a wrecking crew at work inside causes one to look for somewhere else to ride. (Been there, done that.) But I liked John Allen's little scheme, and your update should make for some fun operating sessions...

Reply 0
Geoff Bunza geoffb

Fun and Steel Balls

Hi !

Ya gotta have some fun people!  

Believe it or not the steel ball is from an old mechanical computer mouse! They are covered with a thin layer of rubber for traction. You might remember they moved 2 rollers (X and Y direction) so the ball had to have some traction and mass. SurplusGizmos (http://www.surplusgizmos.com/ ) in Hillsboro, OR has them in quantity last time I looked.

Really have some FUN now! 

Best regards,

Geoff

Geoff Bunza's Blog Index: https://mrhmag.com/blog/geoff-bunza
More Scale Model Animation videos at: https://www.youtube.com/user/DrGeoffB
Home page: http://www.scalemodelanimation.com

Reply 0
geoff04614

Material Handling car

Hi, Walthers made a car similar to the John Allen Car they called it an Impact Test Car it was part of their Tongue in Cheek series the number was 933-6892 it was based on a plastic bulkhead flat with clear sides with a scale and had a light in it Cool Car and so is the updated version  

Reply 0
Geoff Bunza geoffb

@Geoff re:Walthers Impact Test Car

Hi Geoff,

Here's one version of the Walthers car:

%20Car-a.JPG 

I don't know the dates when it was available. I do think it post dates John Allen's car, but I don't know that for sure.

Have fun! 

Best regards,

Geoff

Geoff Bunza's Blog Index: https://mrhmag.com/blog/geoff-bunza
More Scale Model Animation videos at: https://www.youtube.com/user/DrGeoffB
Home page: http://www.scalemodelanimation.com

Reply 0
Neil Erickson NeilEr

Reminded me

Geoff;

Reminded me of Fibber McGee and Molly so ended up listening to a few of these old radio shows online. Great fun. Maybe you could save a section of him opening the closet for another crashing sample! 

I enjoyed meeting you in Portland - thanks! 

Neil

Neil Erickson, Hawai’i 

My Blogs

Reply 0
Jackh

OUCH

 That's great. It brings to mind a billboard reefer that was put out by Accurail? that advertised eggs on it's side.

Jack

Reply 0
IrishRover

Ideas

Now that you have a test car, perhaps you should make several shells for it.  That way, no one knows where the delicate car is.  If a car is labled "Lyteum and Hyde's Dynamaite" or "Danger! Kaboomite" then people should be careful...

Reply 0
Geoff Bunza geoffb

Kaboomite

Kaboomite !  Now your talking!

Thanks IrishRover!

Geoff Bunza's Blog Index: https://mrhmag.com/blog/geoff-bunza
More Scale Model Animation videos at: https://www.youtube.com/user/DrGeoffB
Home page: http://www.scalemodelanimation.com

Reply 0
Bernd

Laugh of the Day

Ya had my laughing hard on this one Geoff. That should make any model engineer jump out of his bib-overhauls if he doesn't know that car is in the consist.

Bernd

New York, Vermont & Northern Rwy. - Route of the Black Diamonds - NCSWIC

Reply 0
johnfl68

Great idea!

You could probably use a 3 axis accelerometer as well, instead of the steel ball and switches. Should be easy since you already have the mini Arduino on board.

Then you could set different levels of crash sounds based on how many G's detected by the accelerometer. 

Reply 0
Geoff Bunza geoffb

@John re: 3 axis accelerometer

Hi John,

Yes you could use a 3 axis accelerometer and some threshold measurement as a partial equivalent, but I liked John Allen's mechanism and wanted to include it. The dynamics of the rolling ball are part of the "action" and it would take some wwork to duplicate the same dynamics with processing and the accelerometer.

I think a UK modeler or company used an accelerometer to trigger something, but I don't remember the situation.

Have fun! 

Best regards,

Geoff

Geoff Bunza's Blog Index: https://mrhmag.com/blog/geoff-bunza
More Scale Model Animation videos at: https://www.youtube.com/user/DrGeoffB
Home page: http://www.scalemodelanimation.com

Reply 0
Prof_Klyzlr

Rolling ball dynamics

Dear ??? (johnfl68), Dr Geoff,

The bonus of the big metal ball over the accellerometer is that it brings the actual physical weight (ballast), weight-transfer (dynamic shifting load), and inertia to the car.

Dr Geoff, when slamming the loco back/fwd, did you note any increased "braking distance" or "coupler slack action" with the ball movement? (excessively graphited rails + rolling-ball car + "quick stop" = locked-wheel slide?)

Happy Modelling,
Aim to improve,
Prof Klyzlr

Reply 0
Prof_Klyzlr

Dee-no-mee-tay

Dear MRHers,

I've always thought this would make the basis for an amazing "perpetual motion" display model RR
(On30 maybe?),

but any mention of dynamite and RRs reminds me of...

Happy Modelling,
Aim to Improve,
Prof Klyzlr

 

Reply 0
Geoff Bunza geoffb

@Prof

Hi Prof,

Quote:

Dr Geoff, when slamming the loco back/fwd, did you note any increased "braking distance" or "coupler slack action" with the ball movement? (excessively graphited rails + rolling-ball car + "quick stop" = locked-wheel slide?)

LOL    Sort of... when the loco reversed the ball was sometimes still traveling to the rear and one could see a visible hesitation / jerk by the loco moving forward!

I think I should add some "exclamation or loud comment" in response by "Fast Eddy" the engineer!

Have fun! 

Best regards,

Geoff

P.S. 'Loved that video!

Geoff Bunza's Blog Index: https://mrhmag.com/blog/geoff-bunza
More Scale Model Animation videos at: https://www.youtube.com/user/DrGeoffB
Home page: http://www.scalemodelanimation.com

Reply 0
ChiloquinRuss

Pinball machine ball

John used a pinball machine ball.  These are still available.  This car was just one of his 'gotcha's' he directed to his crews.  I loved everyone of them!  Russ

http://trainmtn.org/tmrr/index.shtml  Worlds largest outdoor hobby railroad 1/8th scale 37 miles of track on 2,200 acres
Reply 0
Bernd

Need Ball Berings?

http://www.vxb.com/page/bearings/CTGY/BearingBalls

Bernd

New York, Vermont & Northern Rwy. - Route of the Black Diamonds - NCSWIC

Reply 0
E.O.

Run-ins and outs?

Seems like the ultimate device would be directional, so that rough handling would produce either a loud run-in or run-out. Of course, the ultimate-ultimate would be one that's also pressure sensitive, so that a really BIG yank would cause the sound of an emergency air application (the consequence of a broken knuckle), or a giant run-in would prompt radio cursing at the engineer from the caboose.

Since I am not enough of an electrical wonk to figure this out, I'll be content to construct a copy of your as-is device. It's pretty cool!

 

E. O.

Reply 0
Graeme Nitz OKGraeme

No need to go exotic for ....

... Ball bearings. Just go to Home Depot!

http://www.homedepot.com/p/Crown-Bolt-1-2-in-Ball-Bearing-65738/203537343

Graeme Nitz

An Aussie living in Owasso OK

K NO W Trains

K NO W Fun

 

There are 10 types of people in this world,

Those that understand Binary and those that Don't!

Reply 0
Bing

Pit and the pendulum

   To insure that those curves aren't taken at too high a speed you could use the TILT set up from a pinball machine. Basically a ring with a pendulum hanging inside it. Too much movement and the pendulum makes contact with the ring completing the circuit. Just add a keep on circuit to insure that the proper amount of embarrassment is credited to the engineer.  With a little bit of work it could easily indicate either front ot back or side to side violation.

I know Onan Corp ships their generators with instructions to reject the equipment if the outside mounted meters show too many G forces. I believe it shows in which direction the excess movement occurred. They had a remarkable decline in damages with this protection once the shippers knew about this.

God's Best and Happy Rails to You!

 Bing,

The RIPRR (The Route of the Buzzards)

The future: Dead Rail Society

Reply 0
Geoff Bunza geoffb

@Bing re: Pits and Pendulums

Hi Bing,

A Mini Pendulum sensor could work too. The dynamics of the steel ball rolling around, given its mass and the length of the track (and its one direction) provide a characteristic dynamic that may be hard to beat. You don't realize this until you actually operate with the car. Nonetheless, there are sensors like you describe that will give a similar experience. I also have thought of using mercury tilt switches- again a similar but slightly different dynamic.

I think you've got the right idea that one can have a bit of fun with this! 

Best regards,

Geoff Bunza

Geoff Bunza's Blog Index: https://mrhmag.com/blog/geoff-bunza
More Scale Model Animation videos at: https://www.youtube.com/user/DrGeoffB
Home page: http://www.scalemodelanimation.com

Reply 0
bgat

Accelerometer?

Love this idea!

I'm new to model railroading, but not new at all to chips like the one used in Arduinos. How about replacing the metal ball with an accelerometer? Then you don't have all the weight and momentum, and you have the possibility to detect, tweak, and reset the sensor over DCC.

I'm just starting out with my own DCC layout now, precisely to play with ideas like this. Thoughts?

Reply 0
Reply