Feb 222011
 

As I have said more than once, I was an 80’s kid. As you know, Tron Legacy came out. While I was a little disappointed in the story, I was totally in love with the art. It was beautifully done with so much attention to the little details. If they paid as much attention to the story, it would have totally rocked… but I digress… I wanted to make this years pinewood derby car in the styling of the new movie.

I decided to take a different approach to the building of my car. Instead of starting from a block and working down, I started by sawing the block down to a thin slab and adding to it. Using thin pieces of wood, I carved each piece of the car with the coping saw and / or razor knife. The caliper helped a lot. The wood is soft enough that I could mark the wood easily. I used super glue to keep the weight down. Then I used wood filler to fill in the the cracks between the pieces.

The overall design is something between an F-16 with no wings and a Comaro. The jet intake, rear, hood grill, and the front grill were from an old set of computer speakers. They were of course rear lit as well. The hood was to have plexiglass inbedded in it, but I could not get the fit to not look chunky so the idea was scrapped for the metal.

In the past I have used screws to hold little things like this together. This year I wanted to make it easier to access the guts. I used a little neodymium magnets to hold the top onto the bottom of the car. The only thing I do not like is the bump in the middle of the top piece. There was supposed to be a rear spoiler, but I did not have time to built up the back end to add it.

I thought through many different ways to achieve the glowing linage. I bought and experimented with everything from science grade glow in the dark paint, back lit plexi, UV reactive paint with UV LEDs, and eventually settled on EL wire. It is what was used in the movie for the costumes. It was the best look for the size. I had to come up with a way to fit the inverter in the car, be able to turn it on and off, and most importantly, how to power it. I opened the case that the inverter came in and hacked the board so I could move the batteries and switch to the middle of the car. For weight and size reasons I chose to use a small LiPo battery. The last thing I added was 0805 SMD UV LEDs for ground effects and head lights. The effect was very slick. Another nifty (and unintended) effect was that the inverter has a high pitched whine to it. In addition to looking very electric, it also sounded very electric.

Triumph and agony…
Sometimes when you work on things for too long, you loose your mind. This can be a dangerous thing if not to yourself, then to the object being worked on. I spent a lot of time priming and painting the car so it had a near ‘real car’ paint job. I mean, I spent a stupid amount of time painting, sanding, painting, sanding… Then it’s time to put the wheels on. If you have ever built a pinewood derby car, you know that this last step is the time where most cars get damaged, and this build was no different. It was 3 am(ish) and I had to finish the thing as it would be checked in the following day. I put the front wheels on first and they went on without issue. The third wheel went on without issue. On the 4th wheel, as I was tapping the nail in, I heard ‘CRACK’. I put my head down on the workbench and let out a big sigh, pretty much knowing what had just happened. After about 30 seconds or so, I decided to look at what the damage was. The top of the car (in the back) had caved in. This was not something that could be repaired easily, or quickly. I had to get up for work in a few hours and it needed to be turned in right after work. There was no time. I chose to get it at least track worthy. I glued the heck out of the broken area. To add insult to injury, when I picked up the car to look the damage closer and the car fell out of my hands and landed beak down. While it did not break, it added another nice little ding to the killer paint job. There is a lesson in here somewhere… I am not sure what it is yet… but it’s there  ;0) .

 Posted by at 8:09 pm
Feb 252010
 

So, it was pinewood derby time for the Cub Scouts again. My son’s pack has a race for the adult kids too. I had been plotting my car since last years races. I wanted to really light the thing up.  Last year I had working head and tail lights, but this time I wanted bigger and better. I was just not sure what form it would take. I had considered many options. The most predominant idea was using an accelerometer to change the light settings based on force. The problem was that I wanted the lighting to stay very minimal until race time so that the surprise factor would be maximized. I was leaning heavily towards the Arduino Pro 3v due to it’s nice and tidy size. After more thought I started heading away from the accelerometer and started thinking about using an XBee to control the Arduino remotely.  Then while shopping at Sparkfun one day, I stumbled upon the Funnle IO board and that locked the plan together.

Funnel is an Arduino based board, with the added benefit of having an on board Xbee socket. Plus it is tiny, has a 3.2v line in (for  LiPo), and a LiPo charger onboard too.

I ordered the stuff from Sparkfun and started designing the circuits. The mental picture was to make 2 stripes that ran down the sides of the car. These would be able to blink, pulse, fade, and ripple. Then on the 4 corners I wanted to have a very bright strobe light effect that would strobe at about 1 pulse per second. The idea was something like a jet preparing to take off and the taxiing lights. I put together a breadboard mockup.  I decided to use the 6 PWM outputs for the stripes. This way I could make them flow however I wanted. I worked on many different ideas for making a slow PWM roll. I finally found that to make the lights really roll along, I needed to have more than one set as the rolling motion is much more pronounced when repeated in a longer strip. The thing started to take form.

I decided to use 3 sets of 6 LEDs on each side, but instead of running down the sides, they would actually sit on top of the car like some evil menacing engine. I did not want big bumpy 5mm LEDs all over it (which actually might just be cool), so I went with surface mount. All the LEDs and resistors are 1206. 36 LEDs at 20ma each would easily exceed the max draw for the Funnel, so I built a driver board to take the load off of the FIO. The driver board was nothing fancy, just a few small 2222 transistors (sot-23).

One thing I had a great amount of fun with was designing empty spaces on the board. Once the board was designed, it was quickly clear that though functional, it was hardly cool looking. There was a still ton of blank space, so I decided to decorate the PCB. It was arts n crafts time with Eagle Cad. So, I spent a couple of hours just playing with shapes. By about noon the next day, I had the board etched, and all soldered up, and was ready to start testing. I uploaded the code to the funnel and started to play. I had some problems with one the channels of strip lights. It turned out to be a transistor that was not completely seated on the board. It looked soldered, but when I heated it up and pushed down on it, it just sank. It was a quick fix and it worked great from there on out.  I made sure that the xBee was working, but mainly stayed on the ftdi cable during the remainder of programming and testing.

After designing the car, I needed to route out the innards where everything would fit. This was a little easier on paper than it was in wood. Eventually, it started to come together. Making a long story short, I got everything together and it worked great. This was my first real Xbee project. I really liked that I got feedback from the car which was sitting like 60 feet from me. Of course I had to program the Arduino to do so. All I needed to do to trigger an effect was just type a letter into the serial command box in the Arduino IDE. I had about 14 different things I could have it do.

Edit: (News) – My car is on Sparkfun’s Front Page!!! Call it my Andy Warhol 15 seconds. :0)

Edit: (Clarification) – No, I am not employing a “joule thief” circuit in the car. We get to name the cars, and I felt that the name fit. Some folks have asked if this is an “official scout issued” PWD kit. Yes it is, but I used 2 kits. The finished car is legal weight, but just scraping by. The wood weighs almost nothing as it is more or less, a shell.  When I weighed it after finally getting all together, it was over by quite a bit. I had to hollow out just about every place that was thick enough to be drilled. I avoided the spaces right around the wheel grooves as I did not want it to bust through during the race. If you look at the front picture on the video, in the reflection in the glass you can see where I had hollowed out the sides. Drilling a car that was already completed was a pucker factor of about 12. I really thought I was going to blow out one of the sides. But even that was not enough, when it raced, it did not have the left screw in place as it pushed the car over the legal weight of 5 oz..

Eagle Boards, Schematics, and Arduino Code

May 062009
 


We had a staff meeting at work. The topic of discussion was Relay for Life. Our department usually participates in some way. This year, there was the challenge of making a car out of boxes which would be carried around the track at midnight in a race. requirements were simple. It had to make it out of a box (duh), and it must have headlights. Seeing mass geek potential, I volunteered to build the car. I am not one to go to if you just want dirt simple.

I started to plan a rugged, heavy duty, off road kind of thing. Soon after we got a fairly massive UPS. The box was perfect. It was this crazy heavy duty cardboard. There was also this wonderfully shaped packing foam in the box, so that got grabbed as well.

One of the women who would be carrying the car is a cancer survivor. So, this was a custom build, just for her. She said that her car was going to be pink. Pink? Really? um… ok then. She said that we could also have purple trim if we liked. I decided on duct tape, and gaffers tape for the construction and vehicle color. Inspired by the shape of the foam, I set out to build her a hummer. A BIG PINK AND PURPLE HUMMER!

For the headlights, I wanted to go over the top. I decided that this thing needed a operational lighting system. Sure, we could throw in some flash lights, but I wanted bigger, and far brighter.

I have been experimenting with white LEDs for a camera flash system I have been working on. I decided to make panels of LEDs for the head lights. But really, how safe would a car be if there no brake lights, and blinkers? So, I made some LED panels for the rear too with real working blinkers and brake lights. This was all connected to an Arduino (Boarduino) through some FETs. I used 2n2222 for the left, and right blinkers as there was not as much amperage to worry about (Only 16 LEDs). There are 40 LEDs on the each brake light and and 40 each on the headlights. I got hit in the eye a few times with one of the head lights, and it was a wee bit painful. The brakes are each on PWM pins on the Arduino so that they could be slightly lit (because they are on when you turn on your headlights, right?), but then have the ability to go full bright during left and right blinking, as well as braking, all of which was controlled from a little button box. On the back wall of the car I made a LED ribbon out of pink LEDs. My initial intention was to do a 4 channel chase with the ribbon, but there was just not enough time.

The Relay night came. They took the car out to the track. They kicked on the lights and the 80 10,000 mcd white LEDs in front really lit the place up. They had a good time racing the pink beast around the track. Our car won for design.

Sep 112006
 

Power cord Hole
The first order of business was putting in the monitor. Looking back on thing putting in the monitor should have been one of the later things, but…oh well. Live and learn. I realized early on that I forgot to drill a hole for my power cord. Doh’. So, Being very careful not to goof up all the paint, I strapped a board to the bottom of the cab and drilled my power cord hole. This was a painless procedure. Also, I ran the vacuum tube through the coin door hole. Anytime I had to drill, I would turn it on so all dust was immediately sucked up (except for the power cord hole). Then I put in the smart strip.

Aux Power Supply
I decided that I wanted car speakers and amp for a little stronger audio source. I also wanted to use cold cathode lighting. I did not want to run either off the computer PS, so I installed an auxiliary PS. Seeing as I would not be hooking this up to a computer, I did away with the Molex adapters, then trimmed and sorted the wires. I capped each line with heat shrink that I was not using. This way the feeds would be there if I wanted them for future add-ons, but 1. Would not be a safety concern in the mean time and 2. Would be neater wiring in the cab. You will notice that the 2 lead sets that ware coming off to go to the amp and the lighting also have a green and black pair. I soldered these together and heat shrank it to the bundle. This way the PS is always on as long as there is power. I shortened the 2 PS power cords to about 1 foot.

Securing the PS’s

I did not want to make a custom bracket for the 2 power supplies. So, I took the PS apart and used the bottom to be my connector. I used a Dremel to cut tags on the PS. I bent them out flat and pre drilled holes in them. Then after I drilled pilot holes on the cab I attached the PS. Rock solid!!! I then attached the amp to the right side of the cabinet (inside left).

Coin Door
In the evenings my kid likes to play outside. Duh, it is summer and kids play outside when it is nice out. So, I used that time to work on out door cab projects. I think I mentioned it before, but I got a over under coin door at a not so near by pinball dealer. When I went to get my back glass for my Black Knight, I was a sawed off dynamo being as a TV stand. I asked if he would sell the coin door out of it. He said I could have it for $15 if I pulled it myself. SOLD!

I do not know where this thing had been but if was covered in crap. The coin mechs had to be dremmiled clean with the soft wire brush. This stuff was stuck on. The mech holders had some mystery goop on it. I became almost OCD about cleaning my hands after dealing with it. I feared that I was handling someone’s puke or worse. But hey 15 bucks is 15 bucks eh’.

I wound up taking the entire thing apart. I took a stiff wire wheel doors and frame. Afterwards I sanded everything nice and clean. I opted for the Rust-o-lium Satin instead of the original hammered look. It came out really slick.

Motherboard
I had a computer that I had set aside for the project. When I went to set it all up the computer decided it would rather kill it’s self, instead being involved with this project. I was really bummed. My partner in arcade crime, Neal, had a Celery 1.8 GHZ that he was not using that he donated to the cause. Woo hoo! Nice case too, but the computer was destined to be inside the cab caseless.

When removing the mother board I took lots of pictures so I would remember where to put everything. I have to tell you, having a camera on my phone is a wonderful tool in situations where I forgot my real camera. I also made a map of the screw holes so I would not forget any. 12 screws. I was not sure if I needed all of them, but it would seem that is I was adding or removing IDE lines or power or video cards, not having all the support might damage the board, so I decided to do all 12. The motherboard would not sit flat against the wall so I found some 1/4  in nylon stand offs at the Home Depot. I will just say for the record that mounting a motherboard to the side of a cabinet, maintaining level, and getting little stand offs on with the screw in it while balancing between the monitor and the floor of the cab was a major main in the posterior. Remember the comment about perhaps putting the monitor in later? So, I screwed one screw (with stand off) in the center top hole of the motherboard. I leaned in the cab on one elbow (left) got the stand off in a pair of pliers in my right hand. I put the level on top of the motherboard, found maintained level with the left hand, put the stand off behind the motherboard with the right, then pushed down on it with the right while grabbing the screwdriver with the left, fidgeting to get a screw and placing it through the hole and finally tightening it down (which was the easiest part). Needless to say, I did not take a picture of this process.

Hard Drive Mounting
While I was taking the PC apart, that there was all sorts of usable metal bits in the case. I decided to use this stuff for many parts of my cab. I dremeled off the hard drive cage (it was tack welded in there) and modified it to be screwable to the cab. I put some holes in it, bent it, painted it, put it in the cabinet, added the hard drives, and screwed them in. I did the same for the DVDr Drive. When I got the DVDr installed, I realized that the lip of the door stop was right in front of the DVDr. I decided to try to open the tray. To my relief, tray misses the door stop lip by about 2 or 3 mm. Whew.

Menacing Little Blue Light
I have always liked how Macs have the power light that slowly just fades on and off. I decided that my cab needed a similar thing. I pulled out the ol’ RadioShack project books and started looking for a schematic. I did not find exactly what I was looking for so I set out to create my own recipe. After experimenting for a while, I finally had a good balance in fade timing. I dug through my old electronics stuff and pulled out piece of perf board and began constructing. About 3 hours later I had a working pulser. I put the circuit near the coin door as my main power button is mounted near by here too. I ran the little wall wart PS to the outlet on the smart strip that is always hot.

I love it, it sort of gently taunts you. Come here… Play me…

The On buttons switch was then wired to the motherboard power on connection. I used the connector that was originally attached to the motherboard switch as it had the header receptacle already on the wires. I soldered on an extension and attached it to the button. It was easy and it works great.

Control Panel Wiring.
This seems to be one of the most time consuming parts of the entire build. I had 32 channels of LED lighting, 2 – 49 way Joysticks, 21 buttons, , a track ball, track ball buttons, USB for all the interfaces, plus a custom lighting wiring adapter that would feed the rest of the cabinet (coin door switches, LEDS…).  I started with the LED wiring. 5 buttons will be using RGB LEDs while the rest will use Blues except for 3 reds at the top. After all the Push Buttons, Joys, TB, +Interfaces were in, I realized that there was a significant shortage of real estate available for clean wiring. But I set out to do just that. I decided to use wire looms I bought from Frys. I bought a roll of 1/4 in and got a package that contained a variety of different sizes. Every time there was any distance between source and destination, I would loom it. This way all wires would be both secure and tightly bound together.  I did the player 1 LEDs first. I tested each LED Before and after I added them because I did not want to get to the end of all the looming, heat shrinking, and soldering to find out that I had a problem somewhere. I build a little LED tester a few years ago which helped. I put heat shrinking at every solder point so there would be no shorts at some point in case something shifted. I decided to put all the resisters by the LEDWiz so I had only clean wire in the tight spaces. This seemed like a good idea, but as I soon learned, it also got very tight around the LEDWiz.

The RGB LEDs were set up with RG&B wires for easy tracing. I did all the LED and PushButton wiring in my living room while watching TV at nights. I have to say my family was very supportive in this trying time. (I sort of made a big mess). Little snippets of red, yellow, blue, green, black, and yellow wires everywhere. After Player 1, I did players 2 then the utility buttons (coin up, P1, P2, Esc, and Pause). This took several nights and mornings (before work).

Then I moved onto the push button wiring. After the LEDs, the PBs (Push Buttons) were a piece of cake. All the PBs were wired with yellow wire so they totally stand apart from the LED lines.
I talked to Randy T from Groovy Game Gear and asked if he saw any problem with me making the mouse buttons also connect to the GPWiz49s shift key. He did not see a problem. So, once in MAME, being that I would not be using the mouse buttons, the shift keys come into play. Buttons 1-5 on both P1 and P2 can all be shifted. This is great for quickly changing volume without having to leave MAME.
By the way, if you are someone who does a lot of soldering and feel that helping hands do not really help as much as one could hope for should check out the Panavise sets. I got one on e-bay for like $15. They can be like $85 at a store. But you can clamp a circuit board or LED or anything up to 9 inches and rotate it in just about any position. It is a GREAT TOOL!!!

Track Ball
I hooked up the LEDs for the Track Ball. This was not a difficult thing. Wire, wire, snip, snip, solder, solder, heat gun, know, what I mean nudge, nudge, wink, wink, snap, click, know what I mean…He asked him knowingly.

Cable Tracks
I wanted the inside of the cabinet to be absolutely clean once it was finished, so, I installed cable tracks all the way around the bottom of the cab. I also have one track going up the left (inside right) front panel (coin door panel), and one track running up the back right inside of the cabinet (near the door) which takes all wires up to the speaker board area. All wires and cables travel through these tracks. There are no loose wires wandering aimlessly around the cabinet. This has helped during times when I would need to climb in there to work on stuff.

Speaker Board Wiring
I wired up the Speaker board via DB9 connectors. The connectors connect at the back of the cab for easy repairs (if needed). Also if I have to remove the monitor ever, the wiring needs to be disconnected in order to get the monitor frame out. The DB9 connector went to +12 and Ground (From Aux power supply), Speaker L & R, and lastly line 32 from the LEDWiz and a LEDWiz Ground. In each notch below the speaker holes, I placed a red LED. My speakers have a metallic silver grey color. This makes them light up really nicely. The cool thing is that they are not so bright that they are distracting, but just subtle. I like it. After everything was wired up, I put it in the cabinet. Wow, another piece in place and another step closer to being done.

LEDWiz
At this point I could no longer stand it. I had to fire it up and try out the LEDWiz. I played with it for several hours. I programmed many sets of animations and started to get the hang of it.

Marquee Light Board

I used a piece of hard board for my light board. First I measured out where I wanted my hangers. I drilled out holes on the hardboard. I put the L brackets on and attached them through the hardboard. Then I put the hardboard in the monitor hole and marked where I needed to place my pilot holes (I had to take my speaker board down first). I drilled my pilot holes. On the hardboard I used Foil Tape to coat the surface. This way as much of the light as possible would go out the marquee, not get absorbed by the light board. I drilled wires for cold cathode to reach the inverters. May sound stupid, but I did not even want the inverters sucking up light, so I put them on the back of the light board with Velcro. I wired the inverters to the 12V feed and then the cold cathode tubes to the inverters. One thing to mention. I snipped the on off switches off of the inverters. I always wanted the marquee lights on if the cab was on. Plus I could not see unscrewing the entire sound board / light board set to turn off the Cold Cathode tubes.

The morning after I put the CCs on the marquee light board I noticed that the cheap POS foam tabs used to stick the CCs onto the light board with had fallen off in several places. I decided that this would not do, so I replaced all pads with the same heavy duty Velcro that I used for the CP top.

Marquee
I had used MAME Marquees for a few marquees in the past. Scott always did a bang up job. My only gripe is that when lit, the marquees look a little washed out. Plus you can see the paper texture through the print. Now, read this clearly, I am not saying that his products are bad. Actually, I feel quite the opposite about his stuff. I used him for my CP which I think totally ROCKS! I decided to go a little further for my Marquee. So I found a company (Megabytes Digital) which makes the translites for movie posters and restaurant menus. Actually they are the company that does all the translites for all the Chick Fil-A restaurants. This stuff is not printed on paper, but on a film type material using a milky substrate. Basically it is plastic, white on the back, color print on the front, and lit like film, so it is made to take light. So the colors are rich and very detailed when lit. I LOVE the way it turned out. It is thin, not like the old marquees, so it must be protected.

NOTE: As I understand it, MAME Marquees no longer uses just standard printing. It is apparently very similar to what I got from Megabytes.

Marquee Installation
I bought a piece of plexi for the Marquee. I cut two identical pieces so I could sandwich the marquee translite in between them. I made a holder out of 2 pieces of ¼ in. angled aluminum. First I put in the back piece so I could get it nice and straight. Then I put the 2 pieces of plexi against it and put up the second piece of aluminum and marked it. I wanted to get it as tight and close as possible. I set down the loose bits and predrilled the holes. I held up the plexi once more and screwed down the second piece of aluminum. It was a tight fit, but it was strong enough that everything held into place without the use of the marquee retainer.

At this point I had to make the leap and take the plastic off the plexi. I decided to try an experiment. When you work with electronics, sometimes you have to wear an anti static strap. This is to dissipate a static charge so you don’t fry sensitive components. I tried this in reverse. I strapped the marquee plexi to the strap then to me. My hope was that I would absorb the static charge generated by the plastic removal. I’m not sure if it really worked or not, but they were not covered with dust after I removed the plastic. I quickly placed the marquee down, put the plexi on top, trimmed the marquee, put the back plexi on and mounted it into the grove mentioned above.

I placed T-nuts across the top edge of the speaker board. These are for the marquee retainer. I got some hex screws and sprayed them black. I measured the retainer and cut it to length. I drilled the holes and installed it on the cab. I like the hex nuts as they give a little more authentic look to the retainer.