Saturday, April 12, 2014

\m/ rock on rave helmet for electric run, electro dance music

\m/ rock on rave helmet
Sick of generic off the shelf item for events such as electric run or electro dance music festival????
Make an customized item!
Earlier, I have devised a wirelessly charged RGB LED fiber optic bangle for the missus. She is going to be my pacer, thus when we go for a run and assumed we run close enough to each other, there will be LIGHT.  Just come to realised I have no missus, and the bangle size was not designed for a bloke, I had it shelved. Therefore I devised this helmet specifically for the events above. This rave item is sort of a motivation factor for yours truly the fatty bom bom to flex some muscle besides juicing the grey matter. I am also partially motivated after seeing Natalina’s Fiber optic dress; it is incomplete without a blinking rave head gear of some sort. 

Bills of material
1. Programmable RGB LED light source of some sort using an MCU. I have used my custom PCB for RGB LED to use with ATTiny85. Details of designing the PCB is available here, close up of the assembly of the contraction is available at my earlier instructables.
2. Light Diffuser of some sort. I have devised and 3D printed a \m/ rock on insignia in natural PLA with 5% fill and 2shells.
3. Side glow fiber optic cables.
4. Helmet.
Acquire the components and decide on how to route the fiber optics and measure the length needed. Assemble the programmable RGB LED light source PCB. The final assembly should look something similar to the following pictures. I have some surplus through hole LED diffuser lying around, so I have repurposed them to hold the RGB LEDs.
3D printed a \m/ rock on insignia in natural PLA with 5% fill and 2shells. The 3D model of \m/ rock on is uploaded to thingiverse. Feel free to download. Assemble the contraption as per the following picture. Insert the 5mm fiber optic cables and it should fit snugly.
Program the MCU. In this case, it is an ATTiny85.  The public domain RGB LED spectrum fading source code is available here.  
Fingers crossed. Plug in a 6v supply. Igor, PULL THE SWITCH!!!

A video will follow later once I find a human willing to wear it. I find it very difficult to take a selfie with my overgrown smart phone while wearing my new contraption.
Wearing my new rave helmet, I was prancing to the venue for electric run but only to realized it is an paid event. I thought it is FREE.... silly me. From public domain info, apparently early birds that book the run enjoy a huge discount as compared to late bird like me that try to sign up late. So, I decide to keep the cash for some Mackey Ds’ and continue to be a fatty bom bom.

Saturday, April 5, 2014

Repurpose old hard disk as centrifuge

Repurpose old hard disk as centrifuge
Sambal, one of my favourite condiment; technically, it goes well with ANYTHING. Did I said ANYTHING?! YES, ANYTHING! Not surprisingly, in the cold, wet, and miserable winter in London; the thought of having sambal served over nasi lemak lingers. But the exorbitant price of 12quid per pathetic serving at a nearby stall really puts me off. It is the state of the mind when it is to overcome hunger and bad weather.
Usually, sambal is prepared in big quantities and distributed to the family members. Having been familiarized with the tedious operation of preparing sambal and the amount of oil used, I do wonder if the oil content in a sambal is removed one way or the other, will it still taste the same? Several ways I have experimented. The most classic method is to let the sambal sit for several hours, until a layer of oil surfaced and then siphoned off. Being the geek one, I wonder if having sambal applied with centrifugal force to separate the solid from the liquid; does it matters at all to the taste, texture, and most importantly to the health conscious ones.  
Knowing that I have a zero chance of getting my paws on a centrifuge without cutting the red tape and overcome the bureaucracy, I have decided to make one myself. Having considered the relationship between the materials to be separated react differently to the amount of time, RPM, centrifugal force applied to it; I need a mechanism that spins at high RPM, and a mechanism to computerized the parameters to be applied to the centrifuge. So I started by making the mechanism that spins, just for the instant gratification of looking at something that spins. The computerized portion, I have thoughts of using an optical encoder to calculate the RPM, and an ESC motor controller to regulate the RPM, and also a computerized timer. This make will come at a stage after the spinning mechanism is done.
Bill of Materials: You will need the following to make a mechanism that spins at high RPM.
  1. Unloved old hard disk drive. I am using WD400EB.
  2. Custom Laser cut acrylic disk to fit the spindle of the hard drive
  3. Custom laser cut acrylic hub to fit an eppendorf or two
Having the long history of extracting rare earth magnets from many hard disks from different manufacturer; I find the WD400EB is the easiest to dismantle. My criterion of a good to dismantle hard disk is as follow: no quirky proprietary screws, no screws secured with torque that a human powered muscle cannot handled, and simplistic “clam shell” design.
WD400EB with innards removed. Note the M2 screw size used on the spindle is arranged at 60degrees a part, relatively to the spinning axis.
First iteration of the custom laser cut acrylic disk to determine the right fit. The exact measurements of the screw size, the location of the screws, the diameter of the disk, and the location to place the hub need to be determined. The diameter of the disk is 90mm, 6x M2 screws positioned at 60 degrees apart relatively to the axis.
This the following diagram with the exact measurement is sent to the laser cutter to be cut on 3mm thick acrylic. Thanks to my kaki asri and syazwan for manning the laser cutting!
Subsequent iteration of custom laser cut disk and hub to secure 4 eppendorf is assembled on the hard disk.
Spin baby spin!!!
Till last Friday end of office hours I can’t get my hands on an Eppendorf to carry out the sambal experiment. So I decided to pull a scrambled egg prank on the missus (yeah, I know april fools day is over few days ago). I would devise a contraction to spin an egg in the shell at 5400RPM. the content inside of the egg will be scrambled after subjecting to centrifugal force. Put that egg back into the fridge at the exact location where she will take an egg to make a sunny side up the next morning. Then, SURPRISED!!! I did have the thought of scrambled all the eggs in the fridge, but egg omelette, egg custard,  chawanmushi for the next few days?! no way!
This is how an undisturbed egg looks like under LED light. Once the egg is applied with centrifugal force, the content will be cloudy because the content is scrambled.
The egg does not fit the Eppendorf hub snugly; hence need a contraction of some sort to hold it in place.
After some design considerations, it is best to secure the egg in a plastic bag for insurance. The cable ties are meant to hold the egg in position.
When doing at experiment, it is very important to consider all the safety aspects; especially on the issue of failed experiment due to the malfunction of test equipment. In the case of dislodged parts at high RPM with respectable amount of centrifugal force, the projectile can be deadly. I have used one of my ex-project’s container turned upside down to contain any possible projectile and splatter. Of course, the material strength of the container need to be proportionate to the force going to be applied. I would definitely use my 20mm thick polycarbonate container if it is available, but it was discarded as junk when i was away.
Fingers crossed and let’s get started!!! Igor, pull the switch !!!!!!!!!!!
The aftermath of spinning at 5400RPM…. The egg splattered because the shell is acting against the cable tie at high G and gave way. The good thing is, at design stage I have considered the possible outcomes and decide to place the egg in a plastic bag for insurance. My insurance paid off! No messy aftermath to clean up!!! The down side, missus will not be pranked until I devise a better contraction to hold the egg.

Oh wait….. I forgot that I don’t have a missus yet.

Monday, March 3, 2014

Project you are the ONE. a Wireless powered fiber optic side glow diffused bling

Project you are the ONE. a Wireless powered fiber optic side glow diffused bling
When I was kid, I was fascinated by the world where Tesla and Edison live in. What intrigued me most was the constant debate of AC and DC (at that time), and Tesla’s vision of having power transmitted wirelessly. No cables necessary, no copper mined unnecessarily and friendly to all humans. Wireless power transfers (inductive charging) at that time are pretty much far fetch idea. Nonetheless, the man himself went tirelessly (and possibly drove penniless) to prove his “thing”. Tesla’s destitute demise contrary to Edison’s prosperous life strikes me really hard. I nearly gave up on the dreams to study engineering; thinking I should be a business man or middle man making the in-between of deals.
While growing up, I did get my stab at making a wireless power transfer kit; reading up various recipes from various sources such as text books, “cook books” from BBS etc. , proving the materials read. At that time, I can’t even differentiate the difference between a normal copper wire and enameled wire. Both look the same to me. Without a master to guide in the field of making wireless power transfer (inductive charging) works; many failures afterwards, I came to a conclusion that probably I am better off hitched to my computer (intel 486).
Recently, while doing some read up on “Qi” the inductive power (wireless charging) standard for smartphones, suddenly I realized this might be the perfect time where the inductive charging technology has matured for end users like me to toy on the idea.
I have this idea of making novelty jewelry for the missus: wearable electronics of some sort with wireless power transfer aka inductive charging. The concept story board goes this way: At a seeming random event, I would have a little girl present her with a nicely decorated box that contains the novelty jewelry I made, with a message asking her to “follow the rabbit”. Hopefully the design of the jewelry would be very tempting such that she would put on straight away. Then a rabbit inspired character would walk pass her and hopefully, she would pick up the subtle message of following the rabbit. While following the rabbit, she will come across a few interesting characters that are staged, and the last character to appear will be me. Naturally, we would reach out to each other. Me, being the techie would have the transmitter end of inductive charging well hidden in my hand, and hook up to a ubiquitous disguised mobile power supply that supplies 12V, 1A.
Out of sudden (it is just a matter of time/distance for the EM fields to resonates between the tx loop and the rx loop), her novelty jewelry will light up and the light intensity grew greater as we are moving closer to touch! YESS! You are the one! Both of us will proclaimed. That’s the perfect time for me to take a knee, standby with a unique marriage proposal ring. 

What else? Propose to her!! this engineered piece of art definitely will work. Trust me, I am an engineer.
Oh waittttttttttttttttttttttttttttttttt…………I don’t have a missus/wife/GF yet.
This instructables assumes the following parts.
1x wireless charging kit. I got one set that is Chinese made at 13USD from aliexpress.
1x apparatus with RGB LED fading PCB of some sort, which consist of a microcontroller such as Arduino or ATTiny85, a RGB LED and a custom PCB or veroboard. A tutorial to program ATTiny85 with Arduino is available and the necessary ATTiny ISP shield can be made too.
There are many derivatives floating on the Internet. I have used my own recipe of ATTiny85 with RGB. The
step by step guide of “cooking” a PCB of your own is available here.
1x 5mm side glow fiber optic sufficient to cover the perimeter of the wearable apparatus of choice.
1x 3D printed custom made jewellery to hold the electronics, rx loop, and fiber optic. I have chosen to use a 3D printed bangle. The STL is available here. Print it twice. The two halves are snap fit. It was done in sketchup with the help from xinteng a DCPE yr1.
Step1: Assemble the RGB fading PCB, program the ATtiny 85 and mount it onto the PCB. Fiber optic cable is then inserted into a 5mm heat shrink tube. The contraption is then inserted to the 5mm RGB led.
Step2: the assembled contraption in the earlier step is then assembled with the 3D printed bangle. The fiber optic cable are is elastic, and should not be bent at sharp angles. It keep slipping out of the 5mm gap designed to hold it, so I have to resort to cable ties to hold them in place.
Step3: Test the contraption with 3V battery to test for functionality
Step4: Assemble the contraption with the RX induction coil and PCB. I have to resort to use some masking tape to keep the wires in place.
Step5: Test the contraption with TX loop connected to DC power supply. The power supply is set to 12V, 1A.
Step5: final check before turning on the DC supply. After turning on the DC supply, observe the behaviour on the EM fields w.r.t to the tx and rx loop. Note: No wireless transfer if the rx and tx loop are orthogonal to each other. The EM fields just cancel each other off.

Look! No batteries needed!

here comes the video

Saturday, March 1, 2014

Fujitsu E8410 laptop LCD panel LT154P3-L02 with LCD controller A.VST29.01

Fujitsu E8410 laptop LCD panel LT154P3-L02 with LCD controller A.VST29.01
Couple of weeks back I gave my well-deserved Fujitsu E8410 laptop a break, with it broken down into parts level. The LCD controller A.VST29.01 I ordered arrived early last week. It is Chinese made, and I can even find a data sheet for it on the Internet. With proper documentations, gone are the days we have to make some educated guesswork on unknown PCB. The price is USD29.9 without the AC adapter (12V, 4A); USD 51 for the complete set.
My schedule is still as hectic as hell, at the office and during office hours I am distracted with human presence, spent most of the time solving other human’s problem. Only at the weekends in the dead silence of my office, I am highly productive. In this precious undisturbed time I get things done.
In the comment post some ask why I would take all the trouble to fix instead of buying new laptop. 99% time these are the trolls that are trying to promote their business on blogs that allow for comment.  My answer: Re-purposing old electronics will reduce human’s dependency on Mother Nature’s generosity. 
The boom in electronics driven by capitalistic consumerism has humans scrambling to mine lithium to be used in rechargeable batteries, fossil fuels, precious metals to be used in producing electronics circuit boards and more. It is just a matter of when natural resources will be depleted, and I am dead sure I will not survive to see discarded electronics in the landfill takes it natural cause to be turned into resources again. Prolonging the EOL of electronic products by repurposing into other usage should reduce electronic waste. Some might argue that using another piece of electronics to prolong EOL (End Of Life) is also capitalistic consumerism and driving consumption. True, but to a certain extend. I do not have the exact quantitative data to retort this rhetorical statement. Nonetheless, qualitatively, if 100 units of resources are used to manufacture a laptop and deliver it to end user, contrasting it with 10 units of resources are used to manufacture an electronic circuit and delivered to end user to prolong it; the projected 90 units of unconsumed resources would stay unmolested in the sacred earth reserves.
Major manufacturing house would love to silence disapproving voices like mine that might hurt their profit base line by not consuming/buying new stuff. The power is to the people with a choice, liberated with domain knowledge shared by inhabitants on the Internet. We are not alone.
Let the transmission of how-to begin.
The package comes in 3 PCBs. The largest piece is the LCD controller, the larger rectangle shape PCB is the Inverter, it’s purpose is to power up the LCD panel’s backlight. Warning: the inverter contains high voltage during operation. Even it is disconnected from the supply, ensue safety precautions such as disconnecting from the mains, wear rubber sole shoes, not touching any bare metal area (soldering on the PCB are exposed to touch) are taken before handling the inverter PCB. There is a clear plastic surrounding the inverter. That is not meant for decoration, but prevents accidental in contact with the exposed area. DO NOT REMOVE THIS PLASTIC COVER! The smaller rectangle PCB is the panel where there are push button switches to control OSM (On Screen Menu).
The how-to is simple. Merely dismantle the LCD panel to the bare component level, remove the original LVDS cable and replace it with the one that comes with the LCD Controller. Some are weary of carelessness of flipping the connector and make a blunder out of it. No fret! The LVDS connector only goes in one direction, due to the design of it as depicted in the picture below from the LCD controller. Well, forcing the reversed connector definitely will damage the LCD panel and LVDS connector. The LVDS connector is replaceable, but not the receiving side on the LCD panel.
The following diagrams depict the original cable in 3 states. “A” is written to depict the direction and also the orientation of the connector. Just my handy way of labelling things I am opening up for the first time and ensuring I can put it back as per the original state later.
After assembling the LVDS cable, this is how it is look like.
The bird-eyes view of the connection.
Circle in red is where the LCD panel’s back lamp is connected to the inverter. Square in red is the LCD controller’s LVDS cable connecting to the LCD panel. Some scotch tape is used to secure the wiring at a convenient location.
The E8410 laptop boasts a magnesium alloy casing on the LCD (that’s the reason I choose the model!!), and it is difficult to cut through metal with my bare minimal tools. So I have made an inconspicuous  incision at the plastic area of the front cover to allow wiring to pass.
A final check before turning it on! This step is very crucial! Do not skip the final check before turning on!!!
Turning it on, and familiarising with the OSM.
Connecting it to the vga of my gaming rig (i7, 8GB ram, 128GB SSD, GTX 550Ti, win7x64), it works at 1280x720. One short note, I connected it to the VGA of my office laptop (i7, 500GB,8GB ram, win7x32{I know, this is a piece of joke. Stop making fun of it}) prior to my gaming rig. I have tried a myriad of resolution from 640x480 to 1280x720. Unfortunately, office laptop decides not to co-operate. Luckily I have my gaming rig in my office to offer a second opinion. Otherwise, I would have to hastily conclude my weekend project in my office a failure. Oh, did I mention that my gaming rig is in my office???!!

This weekend is the IT show in Singapore and I am such a cheapskate to spent very little $$. LOLx

Monday, February 3, 2014

Breaking down a laptop for tasty spare parts

Breaking down an E8410 laptop for tasty spare parts

What better to do on an off day in-lieu and long weekend for the Lunar New Year??? Doing my back log/computer stuff of course!!

Some years back in late 2007 I bought my full specs laptop, the
Fujitsu E8410. By full spec, it is one of the heaviest contenders in the heavy weight category. This truly sturdy work horse of mine survived many of my computing abuses, stressed under tremendous computing intensive loads (read: playing game that demands lots of CPU at ultra high graphics).  E8410 survived logically. Physically, E8410 was put under extreme body alteration one such is modifying with 500GB worth of HDD . Due to BSOD and core dump in Feb2012 E8410 was put in the reflow oven to reball the onboard graphics card Balls Grid Array (BGA) connector. It worked for about 4 months or so, until it took an arrow in the knee and sent for the reflow oven again. It went unloved since then, as I got myself a Dell XPS14, and we eloped to London.  Silently, like a lover that truly loves me first, E8410 faded in the background, hiding in a dark corner. E8410 throws tantrum too.... this was in 2007

It is not coincidence for me to recall the excitement with this old horse of mine. So, I pulled it out from the bottom of the abyss, and blew it with a kiss. But E8410 reciprocated with 1 long beeps and 3 short beeps; the beeps of a missing graphic card.
E8410 might be gone, but the legacy remains. Who doesn’t want an extra 8GB worth of DDR2 667 rams, 500GB of HDD, dvd writer, and the crown of all spare parts: the ultra responsive 15.4” WXGA LCD screen. The parts come in handy; reviving dead laptops, and continuing the legacy where the stories of E8410 continue.
WARNING: GRAPHIC CONTENT AHEAD. Breaking down of a laptop
Remove all visible screws from the bottom plate.
Rams and HDD are extracted first.
Under the hood.
500GB HDD and 8GB worth of RAMs.
Circle in red is a screw that is hidden beneath a piece of stopper. Crucial step is to uncover all of these hidden screws prior to dismemberment.
Circle in red is one of the many hidden screws that secures to the hinge of the LCD. Proceed with care.
Carefully pry/lift the diagnostic LCD face plate. Disconnect the ribbon cable circle in red.
Circle in red is the proprietary connector to the LCD+microphone+camera. the top plate an be used as an in situ replacement for similar laptop with damaged screen, thus extra effort needed for not damaging the connector. Triangle in red is the hinge of the LCD panel. Box in red is the WiFi PCI-E mini, note the 3 little connectors on the RHS to plug in the pigtail (wire to an antenna). WiFi card comes in handy in the absence of USB WiFi.
Size of pin compared relatively to a screw driver
Oh, did I mention that my work horse was enhanced with 2x WiFi adapter?! Only those that needed it will know the convenience of embedding an extra hardware.
Ahhhhh, the crown piece, savour the moment.
Laptop facing up, carefully lift up the keyboard from the side groves. The keyboard is snapped together by plastic hinges to the bottom plate. Red box is the connector for keyboard, red circle is the connector for mouse pad. Take extra precaution not damaging the connector. The keyboard and mouse will come in handy
Circle in red is metal piece that is connected to the LCD panel’s antenna.  
Carefully lift the plastic plate that consist of the speakers and mouse pad from the side groves. You have come that far of lifting the hood. Observe a moment of silence please….
An insert and latch type connector that is used by the mouse.
Fancy some stereo miniaturized speakers?
Unscrew, lift up and then disconnect to save the WiFi cards for later use.
Remove the copper pipe heat sink.
 Box in red is the T7300 C2D 2GHz CPU; circle in red is the NVidia graphic card that is giving me the problems. Too bad the graphic card is non-upgradable.
Protect the CPU pins with foam or better an ex cpu tray holder. Any bent pins on the CPU will render it useless and defeat all the efforts put in to break down the laptop.
Breaking down the LCD panel of a Laptop
The following steps are optional. I am breaking down the LCD panel for the same of finding the part number. I have a plan to revive the legacy, by making the E8410 15.4” laptop LCD panel as a TV, secondary monitor or even a photo frame (ok, this might be an overkill for the time, $$, and effort).
circle in red are the hidden screws on the LCD panel itself.
Take upmost care when removing the front plastic panel. Aesthetics is the must for a repurposed LCD panel. It will be such an eye sore staring at an asymmetrical, dented or chipped LCD panel. Circle in red is the proprietary connector to the microphone and camera. Notice it is much smaller than the one connected to the mother board showed earlier. Box in red is the connector is form the inverter to the backlight of an LCD. Most unloved LCD monitors have a malfunctioned inverter/backlight. If you saw one BIG A$$ LCD at the rubbish bin, pick it up quickly and hurry to your techno lair to assess the situation. Replacing the backlight/inverter is a fraction cost of the LCD monitor your just picked up!
microphone and camera can be repurposed too. Making the camera to work as a USB webcam is a challenge to boot!
circle in red is the antenna for WiFi adapter
Carefully lift up the LCD screen and backlight from the bottom cover. DO NOT attempt to touch the electronics covered by the transparent insulation. Working on power electronics without proper rubber sole shoes risks electrocution. Now the moment of truth, Circle in red is the LCD panel part number. It will come in handy while looking for a LCD panel driver from friendly internet sources. Box in red is the LCD panel’s data connector. This connector must be preserved at all cost, otherwise, it cannot be repurposed as a standalone LCD monitor.
Guess the manufacturer of this LCD panel?
Now, the making of a standalone LCD monitor by repurposing a laptop’s LCD screen is worthy of a post by itself. Akan Datang…………….
If you wonder how I keep the screws.