Archive for the 'hackteria' Category

dusjagr is back to cellsbutton

Niiiiice, I am back to cellsbutton#04, organized by HONF... the best festival ever!

The first few days were already busy, lots of interesting workshops, parties and discussions. also i met a lot of people, both new but also good old friends. I already got some first soldering action, and tried ways to make a diy version of the diy makeaway bitbadge. sadly i got the wrong site of pcb and cant use the shim for screen printing the solder paste. but with some patience we managed to get a few going...

also had some talks and workshops about new hackteria tools, such as the hacked optical mouse and the hacked PS3 eye mounted on an old microscope stage. i worked with akbar, a young microbiologist from UGM, on it and tested the DIY3 eye microscope for use with a haemocytometer to count yeast cells, which we then presented at the workshop at UGM later.

I was also happy to finally meet Georg Tremel again, from biopresence. He got some great recent work on DIY plant tissue culture and uses it with a blue flower, which is genetically modified for aesthetic reasons. He also did a workshop at UGM and hopefully the "Moondust" will grow there soon... and we got to have him collaborating for hackteria soon!

Talk about "Hackerspaces" @ plexwerk

Today I had a talk at the Plexwerk Tagung 'transfer' in Basel, where I presented some ideas about hackerspaces between digital- and biotechnology.

the slides can be downloaded dusjagr_plexwerk_hackerspaces_draft_2

I also wanted to show this movie about design of cellular patterns...

DIWO_chip Hackteria, Bio-Inspired Arduino Clone

New results on worm detection by hacked optical mouse

For more information about this project check the recent posts on this blog.

I just updated the pd-patch and the serial communication with the arduino. it now allows the frame-grabbing of the full 18x18 pixels from the mouse sensor, adns2610, with a reasonable framerate of 8fps. see download link below.

in addition i used the hacked optical mouse to detect the motion of nematodes, anguila aceti, and got some really clear results, both in the quality of the image and a substantial change in the SQL value. due to some grabbing issues when recording the screen the values are a bit delayed in the image above.

Download new code
worm on mouse 2 pd v1.1
worm_on_mouse2pd_v1.1

update for adns5020_datasheet, 15x15 pixel, 7 bit

Motility detection of microorganisms using a hacked optical mouse

Just done further experiments with the hacked optical mouse sensor, in this case a Avago ADNS2610, from a cheap wired logitec optical mouse. So i managed to connect the optical sensor to the arduino and send all the data, including the image from the 18x18pixel sensor, through a serial connection to puredata (pd). The sensor is a real high-end device, it calculates the optical flow, thus gets out motion and the speed of the mouse, it detects focus by a SQL-value, which is proportional to the number of features the sensor detects on a surface. and other values such as maximum and average pixel and shutter speed can be read from the registers.

The frame rate of the transmitted image is sadly relatively low, cos the ADNS chip is not meant to present this info at higher speed. still its reasonable, when reading all 18x18 pixel a framerate of roughly 5 fps is feasible, if you only dump the first couple of lines you can increase it to higher framerates.

After building a patch to visualize all these data from pd, i started experimenting with placing microorganisms on top of the sensor, keeping the optics intact, but replacing the LED with an RBG, so i can control illumination.

I got some really amazing results, it seems i can detect single cell microorganisms using just the mouse sensor and an arduino. see the movie below. while the sensor only detects motion if the whole image is shifted, it seems that when a microorganism (Blepharisma Japonicum) passes the field of view, there is a substantial change in the SQL-value.

further i will try to do some simple image processing on the arduino directly, such as simple background substraction.

Download Code
The code for the arduino and puredata can be found here (work in progress):

worm_on_mouse2pd

* The arduino code, uses two libraries: pitches.h and SimpleMessageSystem.h. the first is just used to play a nice little welcome melody, the second is only needed to communicate back from pd to change the dumpWidth of the frame. copy them to your libraries folder.

* The pd patch uses two externals, "convert" to communicate with SimpleMessageSystem" (again only from pd to arduino not vice-versa) and a second one, "pd_fire_grad" to apply a look-up-table (LUT) to the pixels for better visualization.

New Animals and hacked PS3 Eye microscope

Easy modification of a Playstation 3 Eye, high-speed camera, optimized for low-lighting and motion detection. Thanks to Alejo Duque for coming up with the idea and prototyping the setup.

Step 1 - Open it up, f**k warrany
Use a small screw driver and open up the case of the PS3eye. The screws are hidden under the small black caps, which can be snapped out easily. Twist open the casing and then unscrew the pcb from the rest of the case.

Step 2 - Remove the optics
Unscrew the small screws which hold the optical parts. Remove it completely and inspect it. The bottom part, obviously has a threaded interior, but sadly the top, optical part is usually glued into it. try scratching off the glue. otherwise carefulle cut through the bottom piece until you can snatch it open and remove the top, optics.

Step 3 - inversion of the optics and positioning
The easiest way to tranform the PS3eye into a microscope is by just flipping upside down the optics. Remount the bottom part back onto the pcb and just tape back the optics upside down on top of it. For different magnifications you can also readjust the position/distance of the optics to the chip. the included switch in the optics to choose 2 different field of views (FOV) turns out to be really useful for microscopy applications.

Step 4 - build a stable setup for inverted light microscopy
tba