Decode or Generate QR Codes in Ubuntu with QtQR and zbar-tools

Sometimes I’ve found myself having to decode a QR code on my computer, and usually I’d just get my Android smartphone, use a QR code app to decode it, and send the results to my computer by email. It works, but wouldn’t it be better to simply do this straight from my computer instead? After a few minutes searching, I eventually found out QtQR graphical utility that can both generate and decode QR codes. In Ubuntu and Debian, you can install it as follows:

You can create a QR code with a given pixel size and level of error correction for text, URL, bookmark, email, phone number, SMS/MMS, WiFi network, and so on, and then use the Save QRCode button to save the resulting picture. If instead you simply want to decode a QR code from an image or your webcam use the Decode button, and the tool will […]

RPi-Monitor is a Web-based Remote Monitoring Tool for ARM Development Boards such as Raspberry Pi and Orange Pi

It can be pretty useful to monitor the CPU load, memory and storage usage, and network traffic of your boards, and they are already graphical tools like System Monitor on Ubuntu providing most of the information, and monit can be used on server, but I’ve recently been introduced to RPi-Monitor utility for Raspberry Pi and Orange Pi boards (patched version), that very easy to install, and provide neat chart of many different variables. Since I’m currently playing with Orange Pi One board running armbian, so that’s the platform I’ve used to run RPi-Monitor (OPi-Monitor). The usage should be exactly the same on Raspberry Pi, but the installation steps are little different. To install RPi-Monitor on Orange Pi One, open a terminal or access the serial console, and you can install and start the service with a single command line:

It actually took around 8 minutes on my board, as […]

Using a Cheap USB Microscope To Read IC Part Numbers

It’s not always easy to read the part number on IC you find on boards, and some time ago, I watched a video where Lady Ada used a USB microscope to demonstrate how to solder some components, and probably using that 5.0 MP model sold on Adafruit for about $80. But I found a similar looking USB microscope with a 2.0MP sensor and 1000X magnification on Ebay for $16.59 shipped, so I bought it, received it today, and I’ve given it a try. Such microscopes can be used to inspect skin and hair, PCB, textile, bank notes, jewelery, and so on. There are apparently other models based on the one I purchased with useful features like auto-focus, wireless support, different levels of magnification, and different colors. Supported operating systems include Windows and Linux, Android, and Windows 8 according to the package. The microscope comes with a stand, a CDROM with […]

GNU Complexity Command Line Tool Measures Complexity of C Code

GNU complexity is a command line tool that computes a complexity measure of C source code, similar to pmccabe, but with a different method of calculating results with short functions scoring lower than pmccabe and highly nested functionality can score considerably higher. It can be useful to locate suspicious areas in unfamiliar code, get an idea of the efforts required to either understand the code or test it, or self-assess your own code. Bruce Korb, the maintainer, has just released version 1.5 with some bug fixes, so I’ve given it a quick try. We’ll need to get the code, build and install it first:

The user’s manual provides some insights and an example, which I’ve used against a directory in Linux source code:

The resulting table shows six information per line: the computed score, the number of lines between the opening and closing curly braces (ln-ct), the number […]

Hexiwear is an Open Source Wearable Development Kit Expandable with Add-on Boards (Crowdfunding)

MikroElektronika has designed Hexiwear, a wearable development kit that you can wear and hack as a smartwatch thanks to an (optionally) included wristband, or use a an IoT development kit thanks to its docking station taking up to three “Click” boards among a choice of over 180 modules. . Hexiwear hardware specifications: MCU – NXP Kinetis K64x ARM Cortex-M4 MCU @ 120 MHz with 1MB Flash and 256KB SRAM Storage – 8 MB Flash memory Display – 1.1” full color OLED display with capacitive touch Connectivity – Bluetooth 4.0 LE and 802.15.4 via NXP Kinetis KW4x Cortex-M0+ wireless MCU Sensors -3D accelerometer and magnetometer (NXP FXOS8700CQ), 3-Axis gyroscope (NXP FXAS21002), pressure sensor (NXP MPL3115A2R1), light-to-digital converter, humidity and temperature sensor, heart-rate sensor (HRM) USB – micro USB cable for power and charging Misc – RGB LED, haptic feedback engine, docking connector Battery – 190 mAh 2C Li-Po battery; 600 mA […]

Microchip Introduces MPLAB Xpress Cloud-based IDE and MPLAB Xpress Evaluation Board

Microchip has just launched MPLAB Xpress online IDE with some of the most used features of the company’s MPLAB X IDE, as well as a free – in limited quantities – MPLAB Xpress evaluation board based on a PIC16 micro-controller. Let’s get through the development board specifications first: MCU – Microchip PIC16F18855 MCU with 14KB flash, 1KB SRAM, 256 bytes EEPROM USB – micro USB port for power and programming Expansion Headers Unpopulated mikroBUS header supporting one of 180 Click boards Unpopulated 2x 14-pin header with GPIOs, I2C, SPI, UART, ADC, etc… Misc – Reset button, user button, potentiometer Dimensions – N/A Playing with hardware is always more fun, but if you just want to evaluation the online IDE, you don’t even need the board. Visit MPLAB Xpress Code Examples page, load one of the example, possibly log-in if you want to save changes to the 10GB free online storage […]

STMicro Releases Linux based STM32 MCU Development Tools

Until a few years ago, most development tools for micro-controllers were only available for Windows, but as Linux gained popularity among developers and engineers, community of developers designed development tools running in Linux, but only a few companies are providing tools that run on Linux operating systems. The good news is that STMicro has just announced the release of STM32CubeMX configurator and System Workbench for STM32, for both Linux and Windows, with Mac OS supporting coming on Q2 2016. Developped by Ac6 embedded systems company, System Workbench for STM32 relies on Eclipse IDE, supports the ST-LINK/V2 debugging tool under Linux through an adapted version of the OpenOCD project, and can be used with various STMicro STM32 boards including Nucleo boards, Discovery kits, and other Evaluation boards. You can give it a try by visiting OpenSTM32 Community, but for some reasons they ask you to register before accessing the installation instructions. […]

How to Resize Android’s Internal Storage Partition in Rockchip Devices

I installed Light Biz OS firmware on GeekBox yesterday, but I’ve quickly realized many applications such as Gimp Inkscape would not install due to the small 1.94GB “internal partition”, so I asked how to increase the partition size in GeekBox forums last evening, and got an answer overnight from “dewet”. The good news is that it worked so I’ll share the steps I followed in a computer running Ubuntu 14.04. It might also be possible to perform the same tasks within a Windows machine with Rorkchip’s Factory tools First let’s download the utils with relevant scripts and binaries:

Now copy your device or board’s firmware file “update.img” to the working directory, and unpack it:

The output should look like:

The files will be in the “output” directory. For our purpose “parameter” file, and especially the last line (CMDLINE) where we will want to adjust the userdata partition […]

EmbeddedTS embedded systems design