Archive for category Hobbies

Wire size calculations ;)

Q: Given a single 0,35mm² copper wire, how much current it will handle?
A: ~60A

Stupid me. Used DIY regulated transformes to start my Alfa Romeo today and hooked on the wrong connector. Alfa started. The insulation on the wire made a blue smoke, but … still working ;)

Anyway, got 6mm² wire for replacement.
It’s time to replace car battery too, i think. Or check the generator.

PCB for Atmega

515

As promised earlier, i started the temperture controll project.
The last Atmel AVR in DIP package i had went to some ‘black box’. Have no sources for firmware, so i don’t want to touch it now.

It happens i’ve got Atmega8 in TQFP package. The only problem is the connection of TQFP to veroboard is either complicated or expensive. Read the rest of this entry »

Home automation: temperature sensor

Brrrr… Too cold.
Ever had a cold shower in (almost) winter time?

This is because the boiler behaves strangely. Although the it’s full of hot water, cold water is going out.

So, the pile of details gave me: MCU Atmega8, by Atmel; some LM335, temperature sensors by National.com. A pair of CD4051 will allow to use up to 16 analog inputs to the Atmel MCU.

Also, schematics at
http://www.geocities.com/vk3em/avr-tempc/avr-temp.htm
. It has some weird details, anyway i will try to master some kind of temperature sensor for the boiler. Just to make sure the will be enough hot water when i’m going to the shower.
Brr…

Colorization

505510

Quite interesting article on image processing. The MatLAB source, presented on the site, need some minor enhancments. Authors may contact me, if they want ;) .
Attention: the program is really slow. I used ‘direct solver’, and it took almost 10 minutes to proceed the image.

JPEG-2000 in MatLAB

Any idea how to produce and read the JP2 file in MatLAB?
The easiest way should be writing middleware in Java to specific library. The things are complicated, as i need to get and modify data from every stage of encoding/decoding, like color space transformations, quantization, EBCOT (including bit-plane decomposition, bit-plane processing, encoding) and rate-encoders. Read the rest of this entry »