Dejan Levec


Compiling OpenSSL and OpenSSL.Net for Windows

If you need fast way to hash passwords with MD5/SHA1, or to encrypt and decrypt data with AES I recommend OpenSSL library. This library supports more than 25 algorithms for ciphering, hashing and public-key cryptography. It’s open source and supports most platforms, including Linux, OS X and Windows. To use OpenSSL from C# you need […]

Monitoring electricity consumption

I was always interest in knowing how much energy am I using and have been experimenting with different approaches to measure consumption. My favorite way to measure electricity consumption is the use of current transformers/clamps around wires coming into the house. Sadly, I don’t have any space left in electrical box to p ut them in. About […]

Ubuntu 13.04

Recently I have been working on some personal projects where I need to use Linux – from building OpenWRT packages to programming apps with libraries that are Linux only. Sometimes I just work on Linux because it’s easier to set up any kind of libraries, doesn’t matter if it’s for C/C++ or Python development, in […]

Pan & Tilt Servo bracket

Recently I bought Pan & Tilt Servo bracket set that looks like this: Servo motors are not robust as I am used to them, but they will be good enough to hold a light web cam. Servos are controlled by PWM (pulse width modulation) and they need special hardware support. Thankfully, ordinary Arduino supports 6 […]

Old Epson “Printer”

Today I was searching for something at home and stumbled upon old printing calculator, that hasn’t been in use for a few years. Firstly, I plugged it in the wall socket and tried pressing different keys to see what it can do. Since I don’t really know how to use it, only thing I got […]

WiFi Car

I have been planning to make Wi-Fi enabled car for quite a while (from last October/November), and I have actually done something to get to that goal. The point where I stopped was when I was trying to use my old iPhone as car controller. I tried for a while, and I got to the […]

Need to start reading datasheets

I have been wondering for a while how to measure household electricity consumption. Usual candidates are photoresistor for detecting LED’s flashes or current transformer, but since I can’t use either of them, I need something different. A while back I tried using webcam mounted to the electric box which contains electricity meter, which worked pretty […]

Water Usage Meter

I needed a way to measure water used outside the house. There are some commercial products, like Gardena Smart Water Flow Meter, but they are not cheap and can’t draw nice looking graphs. This seemed like a good weekend project and I can finally use XRF wireless modules, that I bought a few weeks ago. XRF […]

Amblight part 2: Controlling LEDs

After figuring out how to control LEDs with microcontroller I wanted to try controlling it from PC. Firstly I thought of USB via V-USB framework, but I quickly found out that I cannot update LEDs’ color in interrupt routine, because it would interfere with USB data transfer. Since I had additional unused AVR on my […]

Ambilight part 1 & Netduino

I always liked Ambilight feature, but our TV doesn’t have it. I have seen some home made look-alikes on the Internet, however, I never really thought about buying it until I’ve seen Ladyada’s strand of 25 RGB LEDs and instantly wanted to build it myself. Since I have 42″ TV I decided to buy 2 […]

Previous Posts