welcome to the world of…

Looks like a small bulb used to indicate something unusual, like a malfunction.

OSH Park PCB prototyping

Filed under: Uncategorized — Tags: , , , , , , , , — admin @ 2014-03-01 14:48

I’ve sent a little LED dimmer PCB to OSH Park service. For 4.6 USD it is a great deal. Vias are 0.8 mm in diameter and 0.3 mm drill. SMD components are 0805. The result? Very good. (more…)

Single button push on push off

Filed under: Uncategorized — Tags: , , , , — admin @ 2014-02-02 16:11

Turning circuits on and off by a toggle switch is so old school. Today devices have a single push button and that button can power up or down the device with a single push without much force applied. (more…)

Transistor power dissipation

How to choose the right switching transistor for my application? It must withstand the current, generated heat and applied voltages. Current and voltage does not pose any problem. You have to use some calculations about the power dissipation. (more…)

Don’t be afraid of a long learning curve

Filed under: Uncategorized — Tags: , , , , — admin @ 2014-01-31 00:12

This post is a little bit different. It does not contain any how-to, know-how or data. It is a little thought that I came to after a recent experience. (more…)

PCB footprint dimensions

Filed under: Uncategorized — Tags: , , , , , , , , , , , , — admin @ 2014-01-22 14:39

Do you like DIY and default footprints in PCB CAD programs are not satisfying? Create your own. But what are the dimensions and placement positions? Datasheets and some calculations can help a lot. (more…)

Run complex command/process with killing previous

Filed under: Uncategorized — Tags: , , , , — admin @ 2013-11-07 11:05

When I run a Django testing server in a terminal it sometimes gets stuck and it can’t be killed with CTRL+C. Or I’m using SSH client in background mode for a secure proxy tunnel and I need to restart it from time to time. Searching manually for PIDs with ps and grep and killing them is a lengthy process. (more…)

OpenCV – convert projection matrix to maps

Filed under: Uncategorized — Tags: , , , , , — admin @ 2013-07-12 11:22

I created an application for a target hit evaluation using a webcam. The camera is never vertical to the target so there is a significant perspective distortion and I need a bird’s eye view. Fixing this with getPerspectiveTransform() and cv::warpPerspective() is easy but cv::warpPerspective() is very slow (at least for my purpose). (more…)

Compile optimized Debian packages

Filed under: Uncategorized — Tags: , , , , , , — admin @ 2013-04-09 10:51

Do you envy Gentoo users their tuning? Debian packages are mostly shipped only with a basic optimization (-O2) and for more generic CPUs. How about fine tuning for your CPU? (more…)

Fixing Ubuntu “Open with”

Filed under: Uncategorized — Tags: , , , , , , — admin @ 2013-03-03 21:01

First there was the annoying default “Wine Internet Explorer” for opening images. Why? I found the default source, I deleted it and then it was “Firefox”. Why??? I have different image viewers. Linux distributions are starting to behave like MSW. (more…)

« Newer PostsOlder Posts »