Categories
Programming Taiwan

Barometric recording of Typhoon Soulik

It all started a few weeks ago with Sparkfun having “20%-off” day, when I got myself (among other things) a BMP085 barometric pressure sensor. When it arrived, I have soldered some pins on it, and set it up with an Arduino Nano, to have the readings off it easily.

View of the circuit
BMP085 barometric pressure sensor breakout board from Sparkfun

Originally all I wanted is just some laid back pressure recording, so maybe I can use that to predict the weather a bit. “Pressure falls: bad weather comes, pressure rises: things will clear up”. I was recording for about a week, and nothing really noteworthy came out of that.

Then it was the news, that the year’s first typhoon is on the way to Taiwan, and it was supposed to be a big one. Obvious that I will try to record the barometric pressure pattern of its passing, but wanted to make it more interesting and informative. More visual than just the timeseries plot of pressures.

The Japanese Meteorological Agency (JMA) is a good place to watch for information about typhoons. They list path prediction, typhoon properties like strength, wind speeds, and central pressure, have satellite imagery. Putting these together, two days before the typhoon arrived, I set up a script to download the satellite imagery as it became available.

Satellite picture of Typhoon Soulik and location of Taiwan on 2013-07-12 morning
The morning before the typhoon arrived

The JMA publishes usually 2 satellite images in an hour for our North Western Quadrant (at :00 and :30), one of them covers the whole area, the other covers just the top 80% or so, leaving a dark band on the bottom. Nevertheless, matching up the pressure reading with the satellite pictures would be a good little project for this time.

Friday came, the government gave the afternoon off, though it turned out no landfall happened till everyone supposed to be off anyways, just a bit of on-and-off rain. People stocked up on convenience store food (I now have a good supply of instant noodles:) and water, taped over their glass windows, take in their plants and BBQ equipment from outside – well, those who have planned.

Around 10pm the big rain has arrived, here’s a video of how it looked from my window. Went to sleep later, and got woken up around 3:30am by the rain having changed into pretty darn big wind. Here’s another video of the violent part of the typhoon that time in the morning, that doesn’t even really do it justice. The houses around here are pretty tall, and I wonder if they have protected from the wind, or been artificial canyons channeling it. Some things got broken, though not as much as I expected – which is a very good thing.

In the meantime by the power of the Internet I have checked out the pressure reading, how is it going a few miles away in the Taipei Hackerspace, where I have left the barometric pressure sensor (the geolocation is 25.052993,121.516981)

Here’s the entire recording of the approximately 2 days of typhoon. It was pretty okay weather in the start and end of the plot.

Plot of pressure readings
Pressure reading during the passing of Typhoon Soulik, recorded at the Taipei Hackerspace

The readings have been corrected to sea level (from about 20m height, where the Taipei Hackerspace is), should be good within 1hPa or less.

The the pressure was indeed dropping like a rock, and the dip on the graph coincided with the most violent wind that woke me up. According the JMA, the central area of the typhoon had pressures down to 950hPa, which means that core must have passed pretty close to here, having readings below 958hPa, though probably not directly, as it didn’t stay down there for long.

I made a video syncing up the pressure reading and the satellite picture. The red dot on the video marks the recording location. (Watching it in full screen and HD makes it clearer.)

I would wonder what was the flat part in the readings while the typhoon was leaving. Maybe sign of changing direction, by the look of it.

Either way, this was fun to do, and I am glad that only a few people got hurt here, much fewer then even during the less powerful typhoons. Maybe getting people scared a little (like with this “super typhoon” stuff that went on) helps them keep safe? Just don’t use it too often.

Extra material

I put almost all material used here into a gist: the satellite imagery download script, the plotting, the movie frame generation, the movie generation script, and the complete barometric recording. Because this last part is pretty big (5Mb), Github truncated the rest of the scripts. I guess it’s okay to check check it out. Will add the Arduino sketch to read the sensor and the logging script later.

The satellite imagery weighs about 60Mb, so don’t put it online, but if anyone wants them, let me know.

Keep safe!

Categories
Programming

I got my Pebble, now let’s play

Just received my Pebble smartwatch yesterday, a bit more than a year after the Kickstarter campaign has ended. Its pitch is being a watch with e-paper display, Bluetooth communication with Android and iOS, a Cortex-M3 ARM processor, with the ability to run programs that change the watch look (“watchfaces”) or provide extra functionality (“watchapps” ).

I almost forgot about that I have supported it, until my friends on Facebook started to receive theirs, and I run into a person recently wearing one (the red coloured one, mine is gray and that was manufactured later). Even if I’m not really a wristwatch person – haven’t had one for years -, I like watches in general and clever new tech all is always welcome with me. (I wonder if any of these will be  in pocket watch form some day).

Pebble watch showing the time, 2:45
Pebble watch in action. Or just chilling and showing the time anyways.

Setting it up was pretty easy, the Pebble app on Android does pretty much everything. Setting up notifications for emails, Facebook messages, calls and SMS is one of the first thing. Until I get overwhelmed them and will turn them off, probably. The app also sets up such that when my phone downloads a file with the right extension (.pbw), it will automatically sent to the connected Pebble. The updates are pretty easy and quick too. I got a bunch of different watchfaces from My Pebble Faces, an unofficial repository that has much more than the official one. Maxed out around 10 or so, then had to use the app on my phone to remove some of them. Easy, though now really feel it all depends on the phone I use as well, the watch is mostly as clever as the accompanying phone app.

Fooled around with it a bit more, checking the alarms, the automatic Runkeeper integration (pretty neat, if only I could switch from “pace” display to “speed” for the watch), some small watchapps. In the case of watchfaces, I switched back to the original “Text Watch” face, which is pretty neat and unique for non-smart-watches. If only it could be modified to write things like “ten oh seven” for “10:07” instead of “ten seven”, it would feel more natural. There’s a watchface called Words o’Date that does that, except that it also adds the date, making the front look a bit too crowded for me. So keeping the original at the moment.

With this playing around I noticed one possible strength of the display, that almost everything can be animated, and that animation is pretty smooth. [Update: it’s actually e-paper, not e-ink, so my bad, the following comparison is not really valid Thanks for the comment.] From my limited experience with e-ink in the form of reading on my Kindle Touch, Pebble is really agile. Looking in the the Software Development Kit (SDK) documentation, there is a lot of functionality dedicated to animation.

After the whole day of usage I was thinking that when I was young(er), I would start hacking on interesting things right away, would have a lot of ideas, put in loads of effort, oftentimes stay up late to make something new to work. These days it’s less like that, even if I have much more toys lying around waiting to be hacked on. Around dinner time I decided that it cannot continue like that, so before going to sleep, will have my very on watchapp done.

Magic 8-Ball

Didn’t have many ideas, though, and haven’t looked yet too much, just wanted something simple. A Magic 8-Ball came up as a possibility: an app that gives you answers to your yes/no questions. It’s pretty easy in the core: a bunch of stock answers (20 in the original case), a random number generator to choose from them, and display it. Can do just bare text for the first time.

To set up my Linux box for the development, got the latest Pebblekit from Github, which is the SDK and examples and all the tools together. Unfortunately everything inside relies on “python” being Python 2.x, and on my ArchLinux this is not the case. The quickest workaround I found was to use Python’s virtualenv. I have also needed a different version of GCC that compiles for the Pebble’s ARM processor, the arm-none-eabi-gcc, fortunately in the ArchLinux User Repository (AUR). It just took a looooong time to compile. These two steps put me right into business and been able to compile the example watchapps and watchfaces.

I don’t remember much of my C skills (never had that much), that are mostly kept alive just by Arduino programming. Fortunately the Magic 8-Ball is simple enough program that looking at the examples, Stack Overflow, and Github, I could find all the pieces I needed (array of strings, random number generator in C, text display).

The Magic 8-Ball app is showing its result to my question: ask again later.
My first watchapp, the Magic 8-Ball

By around 1am I had a working version, and it’s totally fine. It’s even fun, even if very simple. People can get it directly from its page on My Pebble Faces, and apparently while I was writing this, 3 people already did, sweet!

In the future, I would like to keep up this creative hacking. For the Magic 8-Ball I could include some graphics, maybe neater transitions, make it less an “example” app and more an app. It’s really cool, that so many of the uploaded watchapps and watchfaces on My Pebble Faces also share their source code (50% of the 500 items, can filter for it in the search form), so I can learn from that. How much better Android apps would be if they’d do the same? My code is also on Github, naturally, in the magic8 repo.

For Pebble in general, communicating with the phone over Bluetooth can be very useful, if a useful Android app complements it. Smart clothing and accessories are just going to be more prevalent. There are already “next generation” smartwatches out there, like the Agent, that will be cool in a different way (I haven’t supported yet, they got 10x funding anyways).

Also, I think I should put some effort into compiling Libpebble for my laptop, that would make it possible to cut out the phone as a middleman and make things more future proof.

And as a first priority, I should be getting used to wearing a watch again, it’s been a while.

Categories
Maker

Assembling my first 3D printer

After holding out for years, just recently made up my mind to buy a 3D printer. Before all the “affordable” models were US$2000+ or so, and even if I was really interested in them, I couldn’t make up my mind about such a big expenditure. The factors that changed my mind recently  were: hearing about Portabee, a sub-US$500 printer (that is as a kit); all the interesting things happening at Taipei Hackerspace where I wanted us to have an interesting new tool; and having acquired a brand new credit card (oops).

I ordered it in the beginning of may, from a Singaporean store called Romscraj, that seems to be somewhat affiliated with the original makers of the printer, and had better rate for shipping over here to Taiwan. (At the time of this writing, the store’s website is redirecting to a static image, though, I wonder what’s up).

The package had 3 weeks lead time. Now, having tried how long does it take to make a single print, and seeing how many self-printed parts the kit has, I’m much less surprised about that. The DHL delivery was pretty darn quick afterwards, apparently it helps to have a distribution centre over here.

Then one fine Friday noon about two weeks ago I got to open the box and unpack.

Contents of the box
Unpacking the parts of Portabee

Little packages for the different screw sizes (M3/M4/M5 and their nuts and washers), the electronics neatly packed, metal pieces that looked sturdy at first, the heated bed for the print, a bunch of tool, spools of printing materials (I ordered a few extra spools, one can never know).

I liked the included instant coffee, that felt like a nice touch, and that there were enough tools included for about 90% of the tasks I encountered later (for the screws, leveling mainly, that’s what a 3D printer assembly is mostly).

The rest of the contents of the box
More parts, mostly the printed sections and electronics

There was of course the big bag of printed parts, in nice green (still like that colour a lot, though the original website’s red prints are not bad either). Big bunch motors (or let’s count them: 5), and more electronics. It all made a happy pile, and I have also started to appreciate the task ahead of me.

I brought up their assembly manual on the screen, turned on some DJ Krush, and got to it.

Since this supposed to be a portable printer (the name alluded to that already), it has somewhat different design than the other ones I’ve seen.

Starting off with the base, it has already some fun alignment tasks and screw tightening. The latter is almost like an art: how much you tighten that you don’t break the (not totally, but still plenty) fragile plastic, but don’t let it loosen by itself either. This is something I’m still learning and I am convinced that it comes from experience, from the problems one finds doing it one way or another.

The base and the cross section assembly step
Assembly starting with the base

So far so good, making the base, then starting on the horizontal bars, and more motor mounts. All X, Y, and Z directions had these switches that would tell the controller that “please don’t come closer” and lets the machine find its home easily, and (more importantly) quite safely. The first puzzle I hit was that these switch circuits were soldered in a mirror arrangement, compared to the manual and instructions. The circuit board apparently lends itself to both directions, still it is mighty confusing. I wrote an email to the store I got my kit from, and they just told me what I have found in the manual later, that these switches can indeed be made in either direction.

Assembling the stop trigger part
One of the stop triggers

Not a big deal in the end, though I had to change a few things around and mount them differently. When the white connector is not in the way in the original design, it can be very much in the mirrored one if I don’t move it somewhere else. It was especially a problem with the X-movement (the table back and forth). Just a bit of awareness and adjustment is fine.

Got to some of the motors already. There were two different types, one with the cogs on top (2 pieces), and another without (the other 3). So far so good, those are easy to distinguish. On the other hand, I should have read the manual better (first mistake), or actually took a look at the motors (compounded mistake), in either case I would have been certain which one goes where. As it was, I kinda guessed, and while the guess worked out relatively fine, I just had to exchange one pair of motors in the end (because of the insufficient length of cabling for one). Just a bit of extra assembly in that case, but could have been worse if I had to exchange other ones.

Base motor assembly
Base motor assembly

Some of the rods were actually slightly differently sized as in the manual, and it was hard to see sometimes when they were insisting accurate measurements of some parts, down to a millimeter, that how things are going to fit together further along the assembly. For example the “250mm rod” I received was more like 265, thus they didn’t really put the kit together to the same accuracy as the original design.

The extruder head had its own separate manual, and I’m not surprised. The most sensitive part of the whole thing, but all in all it is not too bad. The manual in general does a good job, but in this case I did find some deficiencies in their graphics, not really knowing where to lead the cables for a good assembly. The cooling fan had a funny case of being oriented by the location of its sticker – while the one I had didn’t have such a sticker really, so I had to guess a bit which way does its wind blow (spoiler: I was wrong, had to reverse it later).

Extruder assembled
Extruder head assembly

Mounting it all on the top it starts to feel more solid and sturdy. Had some funs trying to insert the printing material first in the alignment stage, I am sure it gets easier in practice.

The cogwheels to drive the plastic
Cogwheel extruder assembly

For the rest of the parts I had to find a good file (the tool “file”) to make some of the holes larger, where the printing was too tight. The tool street is just next to the Hackerspace, though, so it wasn’t a big deal and was back in business in no time. Still the tight parts ment that once some of them were on, there wasn’t really any way to take them off, short of braking them.

In the end, after about 10 hours of assembly (distributed in two days), I got the whole thing up. When I realized that it took this much, the ~US$150 extra for an assembled kit starts to look much more attractive. Still, I like that I did it myself, because now when it breaks (as it so does it will break a lot) I will know more or less what to fix.

The printer put together
Completed assembly

After the hardware setup and testing, had to figure out the software to breathe some life into it. Given that I’m a Linux user, maybe I should have done it earlier, preferably before actually ordering it, otherwise I’ll end up the same way as I did with Galago – having a tool but not having a way to use it.

Fortunately the manual was very helpful, and pointed me to Cura and Pronterface to use. Strangely, Cura didn’t install well onto the Hackerspace’s Xubuntu, but it worked pretty darn well on my laptop’s ArchLinux, so used that afterwards.

One part of the software control that should put people on the edge at first for sure (and probably for a while) that it’s actually a pretty high temperature tool. The base is around 60°C, the printhead goes up to 185-225°C (depending on the material). The fan on the extruder supposed to be very important, and that can only be enabled manually in Pronterface, by sending the command “M106” to the printer. It can be tricky since sometimes the printer has to be plugged in and out to respond to commands again if I switch programs, and that would make the fan not run for a while. Might not be a big problem, but will not know until something breaks.

Another problem is the temperature stability, and in the safety point of view, even before the print quality is taken into account. The temperature is stabilized by feeding back a temperature measurement of some glass bead thermistors. So far so good, that’s similar thing to all the other temperature stabilization I had in the laser physics labs before. The part that you don’t want, though, is to have the thermistor separated from the thing it measures. Then the heating would just go up and up, since the electronics thinks it is not hot enough, while it just measures the air somewhere else. Not the mother of thermal runaways, but would still make me a sad bunny.

The thermistor here is mounted like on this picture, with a piece of silicon washer behind the brass screw.

The little pieces of the head
Extruder head with heater and thermistor

The problem is that as soon as I try to secure the thing with the screw, the turning almost inevitably throws the bead out. Even when it stays in, the increased temperature popped it out a few times that I had to initiate an emergency shut-down.

The screw hole is actually a through hole, so if I can figure out a good thermal contact inside, it would worth dropping a screw altogether and run the bead through the whole the next time.

Now, ready to print, try it first with a relatively simple model, a Make robot. Takes a few minutes to heat up and stabilize the temperature, but it’s pretty automatic.

The 3D printer software window
Cura, the software for printing

Everything is prepared, and even if it’s a bit of a mess, it made sense. Got a nice heavy flat wooden chopping block as a base. Looks pretty flat and almost 2cm thick, should be sturdy enough. It is also from the neighbouring tool street, there’s a pretty good kitchenware store I frequent.

Complete assembly with plastic source
Ready to print, just a bit of a mess

After the heating up time, everything kicks off pretty quickly. The head runs over to the middle of the board and start laying down the structure. I was actually quite surprised that it worked for the first time, but that’s just my own (non-) trust of assembling abilities. The structure felt relatively sturdy, with the exception of one of the Z-screws that lifts and lowers the head is wobbling visibly, though so far I cannot see how much effect that will have on the print quality (might need to take that one out and balance it back again.

The printer head beginning to do its work
First try, on the road to print

Well, the first finished piece is nothing to be really proud of. I actually rescaled it to 50% so it finished quicker, and also I wasn’t sure how high I could print. It is a total mess but still kinda recognizable.

Finished robot print
The finished print

No problem, however, this just means that I will have to adjust the parameters of the printer to find the right values for half a dozen to a dozen variables. Head traveling speed while printing and while not, pullback distance and pullback speed, flow rate, head temperature, these sort of things. Looking at the default settings in Cura is not really helpful, on the contrary, they are for a well calibrated Ultimaker, that feels more sturdy, eg. the recommended printing speed is almost 4 times the one in the Portabee wiki. Some experimenting times ahead.

Comparison to the original model
Comparison to the original model

Or actually it would have been experimenting times ahead, if a few hours later I haven’t had broken the printer. The main extruder motor’s cogwheel was pretty much shaved clean by the large cogwheel, thus disabling the whole extruder. This is not that much of a surprise upon closer inspection: while the large cogwheel is totally solid, the small one’s cogs are just one layer of “plastic wiggle”, barely touching the actual cog centre. I will have to print a new one, most likely making the design sturdier, and maybe even printing it in a different material.

Also, the clips that hold the table on the horizontal bars broke too, too think for the pressure they had to endure by the clipping. That needs some better solution as well.

For the time being, the printer is taking a rest, and I can reflect on “so what have we learned“.

Lessons learned

If I were to order a bunch of 3D printers, maybe I would get an assembled version. In Portabee’s case, the difference is about $150, which divided by the 10 hours of assembly time is not a bad deal. On the other hand, in retrospect the assembly was interesting and definitely required exercise to be able to fix whatever goes wrong. And feels more like the “hackerspace way”, if there’s such a thing.

It felt like as if some of the design choices were mere wishful thinking, and don’t work that well, even if at first look they are pretty clever. For example many of the hex nuts are held in place by depressions in the shape of the nut. It works well for M4 and larger, for M3 it works “usually”, and I wouldn’t really rely on it, unless the printer doing the piece is very well set up. Same verdict of “so-so” for the heater block thermistor’s assembly, the print table’s clip on, the electronics board holder. There are plenty to learn though about mechanical design through the choices, like the Z-lift screws, the translation belts, some of the smaller stuff.

Maybe the biggest lesson is to read the manual beforehand. I remember one of my friends actually asking me when I have started, “Greg, have you read the manual?” “Oh, I’ll just follow it up as I go along” was my line back (more or less). Not a good idea. No matter how good the manual looks, there are always non-obvious differences that had to be fixed, and unless one knows the outcome, it’s hard to make the required trade-offs.

I have tried some prints I got off Thingiverse while the machine was still working, and it seems to me that many of them don’t work well when rescaled, while they still should. Feels like I want to get out some 3D modeling software and make some alternate designs, filling some holes here, making things sturdier there. Google Sketchup is the most popular one I keep hearing about, though that does not really work for me in Linux. Fortunately I found that FreeCAD, that I have used for other projects and wanted to find more use for as well, can very nicely prepare the required files as well. And it’s scripted in Python, paving the way for some algorithmic design ideas.

Categories
Thinking

An entrepreneurial curriculum

The influence of the last few years kept pushing me more and more towards entrepreneurship, and learning more about startups, innovation, creativity, independence, creating value. Recently I found myself reading more and more about them, and ending up with an ever-increasing reading list as well. Never before I had so many non-fiction book waiting for me, and i want to make some notes of the ones I have read.

Books on my Taipei Hackerspace bookself
A very varied bookshelf I got

This post will be most likely a constantly updated book review collection, where I list what have I read and what have I learned from them, with special focus on research & innovation, since that’s the area where I’m most likely headed.

I know of course that reading is not substitute to action. I can still learn from other people’s successes and failures, though.

The books so far

♣ The Art of Innovation

It was an interesting collection of anecdotes. In retrospect, the title would suggest that it contain some guidelines that can be replicated to some extent by other teams and companies. The book however feels more like just storytelling how much fun people have at IDEO, with the breakthroughs and failures they had with particular projects.

Some ideas stand out nevertheless. The importance of prototyping: do things as soon as possible, try ideas out and make educated guesses based on actual experience, move fast and make things. The importance of inspiration: when there’s an ideation project, just go out and get a big bunch of items that are connected to it in any way (eg. figuring out a new bottle cap? Go out and get every possible way of closing containers, and more…). The importance of keeping discarded projects: today’s discarded project can be the main inspiration for tomorrow’s success, thus really worth keeping a log of everything. The importance of play: indirect exploration and team morale are awesome things to have on your side, and they are signs of a long term strategic thinking.

♣ Winning at Innovation: The A-to-F model

This one is much-much drier than the Art of Innovation, but also very thorough. So many intuitive things from the previous book was made completely clear because of this systematic approach. It’s good have a better understanding for the things that stick around in one’s mind.

This had some pretty good points too. Can’t innovate something while you are doing it: have to stop and look at things from the outside to see how to improve. That means it is really helpful to have some people doing the tasks, while others make it better. The importance of neighbouring industries: look at companies that serve the same target customers with different products, or serve different customers the same product as you. Mash up and create new combinations, learn from these neighbours.

♣ The Wide Lens

The premise of the book is worth an epiphany: it’s an age of ecosystems, have to think in broader terms than just your products. So often can miss critical ingredients of the the ecosystem and can fail really badly while doing the execution perfectly. Co-innovation and adoption chain risks are there quite often for quite simple teams, besides the execution risk which is the first thing that companies learn to conquer. It’s not enough to take care of the last one, have to manage the first two as well. Need to always be on top, who else is there to win besides you to make your stuff work.

Of course, the detailed look this needs can be much easier in hindsight. One of the final, big example of an enterprise that did things wiser than other was Better Place, an electric car company. I was thinking how the book’s models would apply to Tesla, while just this week I read about how Better Place just filed for bankruptcy.

♣ The Lean Startup

…coming soon

♣ Rework

…coming soon

On the reading list

There are always more books than I have time for, these are the ones that are shortlisted currently to be added to the reviews above.

If you have a suggestions what else I should include, please let me know!

Categories
Admin

Switched to SPDY and now Google’s confused

Out of interest, I recently switched this site to SPDY, party because I like to try out new things, and partly because I would want to make things be better and faster. So far it’s a mixed experience, with some puzzling changes, that I cannot make heads or tails of.

The first step for the switch was bringing everything onto HTTPS, which I have done with a free SSL certificate from StartSSL. Redirected everything from the HTTP to the secure connection, with the 301 http code so I thought Google will be able to follow it well and replace the addresses in their index. Then enabled the SPDY module in Nginx, and checking the result looked like I was in business.

Some time has passed, and a scary graph started to manifest itself in Google Analytics:

Google Analytics impression count, the site has changed around May 8.
Google Analytics impression count, the site has changed around May 8.

Right after I have made the changes, my impression count on Google dropped like a brick, now being exactly 0. That’s not really the change I wanted to see. Digging more into it, though, it looks like I still have a constant stream of visitors from Google Search:

Visitor numbers from Google Search, same time interval as the impression count.
Visitor numbers from Google Search, same time interval as the impression count.

How can I have zero impressions, but still a half a dozen visitors from Search? The results in the Webmaster Tools mirror things: dropping impression count, no crawl errors, same or even better indexed count, and relatively good stats:

Google Crawler stats, with a big spike when switched over HTTPS/SPDY when needed to reindex everything
Google Crawler stats, with a big spike when switched over HTTPS/SPDY when needed to reindex everything

The crawl seemed to have gotten a bit slower (the bottom plot of the three), but more consistent.

I wonder what could be the change, does the impression count depend on the method of access (http/https)? Or did I made some braking changes? If so, then why’s the conflicting information?

Being a scientist, my main concern is not actually the raw value of any visitor count, but understanding the reactions to my actions, and consistency of the “experimental results”.  I wonder what kind of technique I could use to debug all this?

Update 2013/May/28: 

Following some recommendations from the comments, it looks like that the https:// version of my URL has to added to the Webmaster Tools separately. Now there’s a http://gergely.imreh.net and a https://gergely.imreh.net section as well. In the latter section, I can see that there are some impressions reported. Some weird things still exist: the sum of impressions from both is less than how many visitors I reportedly get from Google Search; the crawl stats is shared between the two sections (ie. the https version reports a lot of crawl stats even from the time there wasn’t https enabled), while most other data is separate for the two sections (e.g. impression, search queries, sitemaps). Still probably this is on the right path.

The impression count after adding a https version of my site's records to the Webmaster  Tools
The impression count after adding a https version of my site’s records to the Webmaster Tools

After the Webmaster Tools changes, I have just switched the Google Analytics association from one WMT property to the other. Hopefully this will freak me out less, though it will likely take some days to see the changes in the result.