Tue, 21 May 2013
Cell Phone Operators
Few weeks ago I have moved my cell phone number to a different phone operator (don't ask :-). Today, I've got an interesting call:
Caller: "Hello, I am a representative of $my_new_operator, do you have a minute or two?"
Me (thinking about possible problem with $my_new_operator, with payments, or whatever): "Well, only a minute."
Caller: "OK, then. We have a great offer for customers of $my_old_operator. If you move to $my_new_operator, you can save much money."
Apparently the $my_new_operator's representative does not know that I am already their customer.
Fri, 26 Apr 2013
Tinyboard: ATtiny universal board
Having learned how to design PCBs, how to solder SMD components, and how to work with Atmel microcontrollers, I wanted to use this knowledge in more projects. I have thought about two or three things which I could do with ATtiny MCUs, but I didn't want to design a single-purpose board for each of them. Let me introduce Tinyboard, a multipurpose 24x50mm printed circuit board for 8-pin ATtiny MCUs (Tiny25/45/85, or Tiny13). The list of features includes:
A Tinyboard with a single step-up converter, MCP1703AT voltage regulator, USBasp programming connector, and unstabilized power input. The MCU itself is on the bottom side.
- Each of the five data pins can be repurposed as digital input, analog input with low-pass filter, output, MOSFET-driven output, etc.
- Up to two Boost (step-up) converters with current feedback measurement can be built on Tinyboard, for example for driving a string of LEDs.
- The board can use on-board voltage regulator, or use externally stabilized power.
- Each ATtiny data pin has its own three-pin header on Tinyboard, with one pin for GND, one pin for Vcc (stabilized or unstabilized), and one pin connected to ATtiny pin.
More details are described in the Tinyboard project page. So far I have built a step-up converter with it, and I am considering using it together with 9V battery (the size is about the same) as a lighting solution for my kids' bikes. The PCB fab allows boards up to 5x5cm size, so I have put two Tinyboards in a single design, receinving a total of 20 tinyboards. So I definitely have spare Tinyboards. If you have a project using 8-pin ATtiny and you are near Brno, let me know.
Tue, 23 Apr 2013
LinkedIn Endorsements Again
A while ago, I wrote about the new feature of LinkedIn - endorsing skills of each other. I have publicly stated that this is a nonsense, and that I didn't want anyone to endorse me, and I would not endorse the skills of my connections. Half a year later, I have to say I was right:
My public profile contains several endorsements for things I barely know they exist, for example for a programming language which I didn't write a single line of code in.
Moreover, I have discovered that I am supposedly "following" several things like "higher education", "computer software", or "Masaryk University". I am not aware that I have willingly decided to "follow" these things, maybe LinkedIn has added them by itself (I have clicked on "unfollow", so I don't follow them anymore). Apparently this is another misfeature designed to make it look that LinkedIn network is big and deeply interconnected.
What do you "follow" on LinkedIn?
Tue, 22 Jan 2013
New GPG Key (please re-sign it!)
My PGP key is almost 16 years old now - it has been created on 1997-03-15. It is a 1024-bit RSA key, which is not so strong by today's standards. So I have generated a new GPG key 4096R/A45477D5. I plan to phase out my other two keys, 1024R/D3498839, and 1024R/F0BEFD45 in the near future, and publish revocation signatures for them. My new GPG public key signed by both old keys is available at the following locations:
https://www.fi.muni.cz/~kas/pgp-A45477D5.txthttp://pks.gpg.cz:11371/pks/lookup?fingerprint=on&op=vindex&search=0xA45477D5http://pgp.mit.edu:11371/pks/lookup?fingerprint=on&op=vindex&search=0xA45477D5http://stinkfoot.org:11371/pks/lookup?op=vindex&search=0xA45477D5
The fingerprint of the new key is: B634 17E5 731B 4F42 69FA 57FF 9453 3581 A454 77D5
I hereby ask everybody who has signed some of my previous keys, or who has any means of verifying the above fingerprint by an independent channel (e.g. over the phone) to sign my new key and send me a signature. It is possible to do this in Linux using the following steps:
1. Obtain my public key
gpg --keyserver pgp.mit.edu --recv-key A45477D5
or use another keyserver instead of pgp.mit.edu, or get the key from our webserver
wget -O - https://www.fi.muni.cz/~kas/pgp-A45477D5.txt | gpg --import
2. Display the fingerprint
gpg --fingerprint A45477D5
Verify the fingerprint (should be the same as above; you can also call me over the phone).
3. Sign the key
gpg --sign-key A45477D5
4. Export the key
gpg --armor --output A45477D5-signed.txt --export A45477D5
Now send the resulting file A45477D5-signed.txt to me. Thanks!
NOTE: The plain-text version of this blog post, signed by my old key
1024R/D3498839, is available here.
Wed, 02 Jan 2013
PF 2013
I wish happy year 2013 to everyone who reads this blog.
Tue, 20 Nov 2012
SMD Soldering
For the first time in my life, i have tried to solder SMD components (as I have written before, I am working on DYI LED lights for my bike). The component side looks OK, and soldering through-hole components went without problems. The SMD parts were a bit tricky, though.
I have used an ordinary soldering station with temperature regulation, but the results are not pretty. I wonder what is required to achieve this level of quality (watch from 14:10). One possible problem might be that some components on my board (especially the smallest sensing resistors) are connected to the highest-current and thus thickest paths, which suck great amounts of thermal energy when soldering.
Anyway, from the preliminary testing, it seems that my board works. So far I have found the following problems:
- The programming connector is bigger than I expected. I have solved this by using the angled variant instead, and adjusting it using knife :-)
- The silk layer labels marking the polarity of components (electrolytic capacitors, diodes, etc.) can be placed under the components, except for the labels of connectors, which are needed even after the components are soldered!
- I should have added low-pass filters to the A/D converter inputs, at least for the feedback of the PWM-regulated converters. I think I would be able to overcome this in the firmware, though.
- Next time, I would probably design the board with round corners :-)
Now it's time to finish the firmware and to start adjusting the mechanical parts. I have already made the front spotlight and rear spotlight, and I want to make a LED string. Any tips about making a waterproof LED string out of 3mm through-hole LEDs will be appreciated. Should I use silicon, shrink-wrap tube, or what?
Thu, 15 Nov 2012
Printed Circuit Boards
For my bike lights I needed a PCB. Out of several services for manufacturing PCBs, I have chosen Itead Studio PCB prototyping service (the other candidate was Seeed studio). Here are the preliminary results:
I have placed my order on October 29th evening (Central European Time), according to Hong Kong post, the package was received by them on November 7th, it left Hong Kong on November 11th, and I have received it today, on November 15th.
They also have an interesting "Open source" program - the customer declares that his design is open source (mine is anyway), they make few more boards in addition to those the customer has ordered, and they send them to their other customers. The original customers gets his orderd boards, and in addition to that, two more boards from other open source projects. I have in fact got their demo board (on the right side), and one open source board (the white one). Apparently, it is Arduino 512KB SRAM expansion board. I currently don't use Arduino, so if any Arduino user is interested in this PCB, just let me know.
Okay, now it's time to take a soldering iron and play more with the hardware :-)
Tue, 06 Nov 2012
DNS Lookup :-)
It seems my registrar will
discontinue their "free" hosting (as in "bundled with the domain
registration") soon,
so I will have to move my domain yenya.net mail and WWW servers
elsewhere. There is no problem with that - I have a 24/7 running computer at
home with good connectivity. There is one challenge, though:
The new DirectNIC service allows only one A record in the registered domain, when the domain is hosted on their DNS servers (no AAAA and no DNSSEC). So I am considering running my own DNS server in addition to mail and WWW servers. This would allow me to have A and AAAA records, SSHFP, and possibly the new DANE records. So I need someone to host a secondary DNS server. The requirements are:
- Static IP address, running 24/7
- IPv6 connectivity, if possible
- DNSSEC enabled
- Hourly update interval if possible
- Preferably outside the SmartComp/Nebox network
Of course, I am willing to provide the same service to the other party. Is anybody interested? Thanks in advance.
Tue, 30 Oct 2012
Bike Lights
I have a new personal project: I am trying to build a set of lights for my bike. So far my setup is quite simple: I use a 700 mA Buck Puck current regulator to feed a front Cree XM-L white LED and three rear 350 mA red LEDs. It can only be switched on or off, and cannot blink at all. So I wanted to make something more sophisticated.

I have been playing with electronics many years ago in my teen-age years, but I have been doing only software since then. So I have taken this as an opportunity to find out what progress the world of DYI electronics has made, and to learn programming of microcontrollers. I want the resulting electronics to have the following features:
- LED drivers for high-power LEDs:
- Atmel AVR Tiny CPU, programmable in-system (various blinking modes, etc.).
- Power: 7 to 12 V battery pack (either lithium or NiMH).
- Ambient light sensor (for automatically setting the mode depending on the conditions).
- Battery voltage monitoring.
- Cycle computer illumination LED.
- Two status LEDs.
- Two buttons for adjusting modes, switching on/off, etc.
- Software on/off.
- High-power software switched output driven by a MOSFET transistor (I don't know the purpose yet, I just had a spare pin and MOSFET :-).
I have managed to learn how to use the gEDA suite of tools, and created my first PCB with it. Yesterday I have sent the result to the fab. Anyway, I have made the Project Bike Lights page for my project, where it is possible to watch the progress or look at the firmware code, schematics, and PCB design.
Sat, 13 Oct 2012
Those Annoying Endorsements
Recently LinkedIn has added a new feature, endorsements. The most annoying thing is that the requests for endorsements are now near the top of the page, and people are clicking on it. So I have several mails each day saying "$somebody has endorsed you!" (with an "and you are expected to return the favor" subliminal message). So, my dear LinkedIn contacts: feel free to not endorse me and don't bother to write recommendations, as I don't plan to do the same either.
Tue, 09 Oct 2012
Zacyklení 2012
I like outdoor puzzle-solving games, and last weekend I managed to take part in a really special kind of puzzle-solving competition:
Zacyklení is a puzzle-solving outdoor game for cyclists. And what is even more interesting, we have managed to create a purely recumbent team for this game. Those who can read Czech, here is the report from the game. Those who can't, follow the link anyway for more photos :-). We have not made it in time, but among all the teams we have finished somewhere around 5th place. Congratulations to the winners, and thanks to the organising team!
Thu, 20 Sep 2012
Hanwag Boots
Afters about 10 years, my Hanwag Alaska boots have disintegrated while I've been walking in the forest during this year's Svíčky. I will need a new boots. Which boots do you recommend, my dear lazyweb?
I have been satisfied with Alaska, and I have chosen them because the big part of the boot is made from one piece with only one seam i the back. However, the middle part of the sole has completely disintegrated. The consipration theory follows: I wonder whether it could be intentional from the manufacturer, in order to not allow their customers to use the product for more than 10 years. In my opinion it should be possible to find a material which lasts almost indefinitely. That said, from my previous experience the sole was the weakest part of all my previous boots in terms of endurance. So maybe it is perfectly OK to expect the boots to last only 10 years. What do you think?
Wed, 19 Sep 2012
Playing with Prezi
A while ago, I've came across Prezi presentation tool. It is completely different approach to presentation than slides with bullet-points. I didn't like the dependence on either the on-line access with Flash, or on the Windows executable (with embedded Flash, of course). Today, I did my first presentation using Prezi (together with Šimon).
We have been given 10 minutes to present our approach to two sub-tasks of the Plagiarism Detection task of PAN 2012. We used Prezi in order to be able to focus on explaining our approach without devoting too much time to explaining the structure of the talk to the audience. I think this is a great strength of Prezi, if used correctly.
So, my dear readers, do you think Prezi can be a useful tool, or do you instead agree with Peter (in Slovak), that it is just an over-glorified eye-candy? You can see our presentation here. Thanks to Yuri for the photo!
Sat, 14 Apr 2012
My New Bike
Several months ago, I have written about choosing a new bicycle. Here is the outcome:
Introducing my new AZUB Apus. I have rented and extensively tested several recumbents from AZUB (20" Eco with above-seat steering, 24" Max with under-seat steering, and 26/20" Apus with above-seat steering), and I have decided to go for Apus with under-seat steering.
The next thing to decide was gearing. After testing 24" Max with 48-38-26 chainrings and 11-34 sprocket (about 570% ratio) I've got the feeling that I could occasionally use even slower gear (and with 26" rear wheel of Apus the 26/34 gear would be a bit faster than on a 24" wheel), and I can definitely use more faster gears. Recumbents are fast, especially going downhill, because of lower aerodynamic drag. So I wanted gearing with ratio larger than 570% and with the slowest gear slower than 26/34. This is hard to achieve with current components, so I went for triple gearing: I have got SRAM DualDrive in-hub planetary gearbox (three speed gearbox and 8-speed derailleur), combined with tree chainrings, giving me 3x3x8=72 gear combinations and over 920% ratio. One of the biggest advantages is that the gearbox gears can be changed even without pedaling, for example after having to stop unexpectedly.
After five months with Apus, I am still excited with it. I really enjoy being faster on flat surface and on downhills, being able to pedal even while turning, having excellent view with zero neck, wrists and backbone pain, being able to brake without the danger of falling ahead, sitting lower in case of fall, and so on.
The drawbacks are worse view when entering street crossings, being slower uphill, and not being able to jump over obstacles higher than about 10 cm). And the front suspension of the SASO carbon fork is not as good as I expected. I plan to try softer coil spring.
If I had to choose again, I would buy the same bike, possibly with not-so-steep sprocket (11-28 instead of 11-32). Also, having used really narrow tyres on my previous (road) bike, I did not pay much attention to the brakes - I have got V-brakes on my Apus, and I am not able to make the front wheel slip even when braking really hard (on asphalt roads). So probably next time I would get disc brakes instead (at least on the front wheel). Anyway, watch this guy's commute riding Apus on forest paths:
Mon, 18 Jul 2011
Which Bike?
The 30 years old frame of my bike broke several weeks ago, so I will need a new bike. We have already decided to buy a new bike for my wife, so I have took the frame of her present bike, and remounted some components of my former bike to it. So I don't need a new bike right now, and I have more time to decide what I want.
My previous bicycle was road bike with drop handlebars. I ride on paved roads mostly (altough many roads in Brno resemble off-road riding :-), and we occasionally do touring as well. I am considering the following options:
- Using the frame of my wife's bike until it breaks :-)
- Buying a cyclo-cross bicycle, which is essentially a road bicycle with hardened frame and different tires.
- Buying a touring bicycle, something like Author Avion, which even has a carbon frame.
- Something really different. Last week I rented a recumbent bicycle, AZUB ECO. It was really interesting, very comfortable, yet a bit difficult to drive. I would like to try a bigger one with under-seat steering, like AZUB 5 as well. The only problem with recumbents is that it is not possible to use them with trail gator tow bar.
So, my dear lazyweb, do you have anything to recommend?




