Friday, August 1, 2008

New Home Theater Shelf

So my friend Josh is a carpentry genius. He used to have a business doing cabinetry so I talked him into building an entertainment shelf for my home theater. I drew it up in google SketchUp. This is what I wanted:
I wanted to have my electronics next to the projector itself, so I could slide my DVD player and other stuff into the shelves.

He brought it by last night, and Here's how it looks all hooked up.

I also put a light underneath it for Vicki to do her cross-stitching without having to turn the overhead light on. You can also see that I put the subwoofer on top.
So here's the finished product:
It looks friggin awesome. I used wire anchors this time and routed the wires around the moulding so they wouldn't stick out or run across the floor.

This time I didn't actually have that many wires to route across the floor though, because now that the projector is next to the electronics, only the front 3 speakers needed longer wiring.

In fact, Josh made little shelves for the speakers as well. He even made a new shelf for my center speaker.

Wednesday, June 11, 2008

Tape Timer

As I mentioned before, we built a special harness assembly board to teach new operators how to apply spiral tape to a harness. We wanted to be able to time them as well so we could see improvement etc.
They wanted a timer that would be activated when the operator picks up the tape, and deactivated when the operator puts it back.
So I used a make controller, and a sparkfun LCD screen to do the job. I built some firmware that would do the timing. I connected a light sensor so that when light was detected in the holder, the timer would start, and then stop when it went dark. See it in action below!

Wednesday, June 4, 2008

Live Floor

So recently I had an idea about monitoring production in our plant using Xbee modules to collect data from the assembly boards. For example, i wanted to be able to know if an operator was at their station at any given time, also how long it takes to build each harness, total downtime of the board, how many pieces built, etc.
So my changito and I designed and built some Xbee boards. We used the xbee board from makingthings as a jumping off point, and then drew up some plans for what you see here:
thing of beauty

Then we added the Xbee module

Here is the make controller with the receiver Xbee in place, I may look into another option for receiving the packets, possibly one of the USB xbee adapters from Sparkfun, but for now, this works.

Anywho. We then mounted it onto a prototype Assembly board that we built.

It has the 2 holders for the harness connectors. So the way it works is that when the operator is there, the movement is picked up and also as each piece is approved, a message is sent back to the receiver that talks to the PC and database.

I wrote some software that would juggle the information around a bit and keep track of things. I'll write some more about that next time.

Spoiler Alert! Barbie makes a special guest appearance...

Tape Timer

We're working on an assembly board for training operators on how to assemble harnesses. They wanted me to build a cheap timer that would output the time that a roll of tape spent away from its dock. In other words, time how long it took for the operator to use the tape. So i took some time and built this dock with an integrated sensor and indicator LED. I hooked er up to a make controller and set up the serial port to send out the time.


You can see the indicator LED goes on when the tape is removed



Right now I've got a serial cable running out from the controller that goes to the computer (which shows the time). Next week I'll be getting a little LCD screen that will show the time.
Here is the serial signal coming out of hyperterminal:




So, next i'll add this little gem here, when i get it, and we'll be rolling:

It was a pretty quick project, a little embedded light activated timer, but they wanted quick and cheap, and when we sent it of to get it quoted, the quote came back as $900 US dollars, but mine cost less than 300. Kind of a shame to use such a powerful board for such a dinky little project, it could do so much more, but maybe they'll ask for more next, who knows.

Monday, May 19, 2008

AirSoft Turrets

We went on a trip up to Tucson this weekend, and I took the opportunity to pick up some goodies. I grabbed a couple of electric airsoft guns and a couple thousand pellets from Wal-Mart, and an erector set from Target. The total set me back probably about $60 bucks, but it's in the name of science, right? That's what I told my wife.
I liked this gun because it was fully automatic, and I could see the parts from the outside, this would allow me to disassemble and reassemble it far more easily. After I got home from Walmarticus, it became immediately apparent that I would need to play with this toy a bit before I took it apart. It was also apparent that i would need to shoot someone in order to determine how bad it actually hurt (how bad the gun hurt). Much like when, as kids, I asked my brother to shoot me point blank with a slingshot to find out how much THAT would hurt.
I briefly contemplated shooting my 2 year old son, but obviously he would not be able to give me a good pain scale reaction, and I'd be needing something a little more accurate than just straight crying and screaming. I then considered shooting my wife, but I thought better of that, as I would probably end up paying for it in ways I didn't want to.
I'd have to shoot myself.
I sat down and aimed for the fleshy part of the calf where I thought it would hurt the least, and
found that it was indeed quite painful, painful enough to leave a welt. Yessssssss..
I would definately need to share this experience with someone soon.
I stowed the toy guns in the back trunk where nosy border inspectors would be unlikely to find them and we headed back home to Mexico.

When assembly time came, I first grabbed the parts from the erector set and assembled a platform. I attached the platform to a servo motor so it would move up and down, this would allow me to point the guns up at someone. Perhaps into a poorly protected, yet keenly sensitive area.
I attached the servo to my microcontroller and found that i could control the vertical movement quite nicely using the right thumbstick.
Next I used a screwdriver to carefully open the guns up and spray their spring loaded contents into my face. I followed this excellent tutorial at InventGeek which amazingly uses the same model airgun I picked up myself.
http://www.inventgeek.com/Projects/Airsoft_Turret_v2/overview.aspx
I cut off the non-essential plastic areas where there was no gearing connected so as to leave only the firing mechanism and the barrel and the feed chamber attached.
Using the green diagonal brackets in the erector set as well as a dremel, I to cut holes and attached the remaining gun mechanism to the platform, being sure to leave the cool looking sights on for effect. Unfortunately Target doesn't sell laser pens anymore, and I forgot to pick one up at Wal-Marche, so I'll have to leave that off until I find one here in el campo. Which is maybe never

I hooked 'er up to the microcontroller directly for an initial test, and found that the servo could easily lift the weight of the guns, especially since the batteries were no longer part of the gun itself and would now be powered from the RC battery itself. So the next step will be to reassemble everything and see how it works, maybe shoot some pidgeons, maybe shoot my boss. Maybe 'accidentally' shoot my wife.