Pimp my bus: from 8-bit AVR to 32-bit ARM

LQFP vs TQFP

Going to newer architecture is unevitable evolution. ARM series is particularly good choice as knowledge of its core functionality is to large extent portable across manufacturers. While ARM Cortex-M chips are close to 8-bit AVRs in footprint size and price tag, they give more processing power and peripherals. More complex architecture and ultra-small packaging is often counter-argument on hobbyists forums. Does it really matter? Here is my subjective comparison of these vast families. Continue reading

Posted in Electronics, Software | Tagged , | 3 Comments

Unf*cking my mac

IMAG1686

Beer flushed thru air vents into Macbook mainboard killed it instantly. F-words came even faster as it was done by someone sitting next to me on the airplane from Germany to USA, a guy who called it an accident, not a fault. I was not surprised that later he did not respond to my contact attempts even though we exchanged business contacts for that purpose. What surprised me was his civil cowardice, especially contrasting to his higher rank US Army officer profile. Thuck you very much Marcus! Continue reading

Posted in Electronics | Leave a comment

Water Level Logger – Firmware over-the-air

fotaOver time firmware stabilizes but rework never entirely completes, either due to inevitable bugs or further enhancements. Manual firmware update applied to couple stations in the field has relatively low effort and is just dauting task. While number of stations grows, sparse distribution or distant locations starts to occur all that becomes significant task. Planning ahead I decided to equip the system with secure FOTA (firmware over-the-air) feature. Continue reading

Posted in Electronics, Software | Tagged , , , | Leave a comment

GSM workshop

New life of Z10

Warmed up with HTC smartphone fix among other micro repairs I decided to give a chance and fix two other phones with accidently damaged displays. Both Sony Xperia Z2 and BlackBerry Z10 were given ridiculous cost estimates by authorised service and I was given green light to mess up with both unused phones. Continue reading

Posted in Electronics | Tagged | Leave a comment

Water Level Station – field tests

IMAG0452

Solar panel, probe and main unit is part of my balcony landscape for over a year now. This setup is running from many weeks to several months uninterruptedly depending purely on firmware upgrades. Field tests being final proof are needed though mainly to simulate shallow running water in freezing weather conditions. This is why two stations were deployed before this winter. Continue reading

Posted in Electronics, Software | Tagged | Leave a comment

Micro-repairs

HOX unibody: back with antennas (left) and boards stack with display

Modern microelectronics assembly requires clockmaker or robotic precission; sub-millimeter discrete components or pinout of integrated-circuits is nothing unusual. Building such highly integration devices from scratch at home is a virtually impossible, sometimes though fixing them with entry-level tools is still feasible. Continue reading

Posted in Electronics | Leave a comment

Water Level Station – rain gauge

Davis 7658M rain gauge

Measuring water level is fundamental goal of WLS experiment, hence its code-name (Water Level Station). Early summer 2014 hardware and software system had enough base services to make addition of entry-level pluviometer easy. Prior to PCB redesing for chinese factory I blueprinted and bread-boarded extra input circuitry in couple hours. Software part took me couple more days and my balcony-mounted station started measuring precipitation mid summer season. Continue reading

Posted in Electronics, Software | Tagged | Leave a comment

Petra

petra-treasury

Visiting Jordan three years ago I was thrilled by the outstanding Dead Sea. Choosing seaside I had no time for Petra. Once I was requested to get there again I instantly knew where to go this time. Attracted by ancient city with thousands of carvings in rock with the iconic Treasure temple, place of Indiana Jones shootings, I decided to make a run through the rose red desert place. Continue reading

Posted in Places | Leave a comment

Power cycling slave on I2C bus

TXS0102 voltage shifter

With the advent of 2nd revision of WLS experimental hardware I got nasty system freezes on ported firmware. As they happened always close to power cycling of probe section I suspected new ADC chip using I2C bus. Past experience with I2C drivers freezing system led to tests revealing bus corruption caused by non-deterministic behavior of slave during transient power rail states not isolated on time by the TXS0102 voltage shifter. Continue reading

Posted in Electronics | Tagged , | Leave a comment

SIM900A fixed for Europe

SIM900A-closeup

So you got SIM900A, cheaper version of SIM900 with the same pinout/functions and 2-band instead of 4-band GSM radio, just to stumble on logging to network. While its great for Asian GSM infrastructure in different places in the world you will just get “PH-NET PIN” response meaning its locked for current network. I found that flashing SIM900A with firmware for SIM900 opens it up again to work exactly as SIM900, with slightly worse signal quality due to physical radio differences. Continue reading

Posted in Electronics | 70 Comments