How to Get Started with OpenCL on ODROID-XU4 Board (with Arm Mali-T628MP6 GPU)

ODROID-XU4-OpenCL-Convolution

Last week, I reviewed Ubuntu 18.04 on ODROID-XU4 board testing most of the advertised features. However I skipped on the features listed in the Changelog: GPU hardware acceleration via OpenGL ES 3.1 and OpenCL 1.2 drivers for Mali T628MP6 GPU While I tested OpenGL ES with tools like glmark2-es2 and es2gears, as well as WebGL demos in Chromium, I did not test OpenCL, since I’m not that familiar with it, except it’s used for GPGPU (General Purpose GPU) to accelerate tasks like image/audio processing. That was a good excuse to learn a bit more, try it out on the board, and write a short guide to get started with OpenGL on hardware with Arm Mali GPU. The purpose of this tutorial is to show how to run an OpenCL sample, and OpenCL utility, and I won’t go into the nitty gritty of OpenCL code. If you want to learn more […]

CrowPi is a Portable Learning Kit for Raspberry Pi 3 B+ / Zero Boards (Crowdfunding)

Raspberry-Pi-Learning-Kit

We have an embarrassment of choices for Raspberry Pi accessories from touchscreen displays, HAT add-ons boards, sensors, breadboard, and so on, as well as good software and support from Raspberry Pi forums. This is all good, but it can be messy with all those jumper cables, and not really portable. Elecrow has a neat solution with the CrowPi learning kit for Raspberry Pi 3 and Raspberry Pi Zero that come with a 7″ display, several sensors, buttons, a breadboard, and more all packed in a small suitcase. Main parts of the kit: 7″ touchscreen display Breadboard with GPIOs status LEDs Input modules – Light sensor, IR receiver, PIR motion sensor, sound sensor, temperature & humidity sensor, touch sensor, ultrasonic sensor, NFC reader, and tilt sensor Output modules – 8×8 LED matrix, 4-digit LED display, I2C LCD1602 display, buzzer, vibration motor, relay module, 9G servo, and stepper motor. Control modules – […]

How to Install and Use Ace Stream Easily in Ubuntu / Mint Linux

Ace Stream enabling the streaming of videos using P2P (peer-to-peer) technology – specifically BitTorrent protocol – and is especially useful for live streams, but also works for Audio and Video on Demand, and IOTT (Interactive-Over-The-Top). Ace Stream is implemented in a fork of VLC (Ace Player HD) working in Windows, Linux and Android, and I’ve found Full HD quality to be higher than services like YouTube, and with less buffering provided enough users watches the stream. It’s easy to use in Windows, and there used to be an Android app installable from the Play Store but it’s been removed, possibly because of the association of the solution with piracy. But just like Kodi, it’s up to do what you want to use it for. Using Ace Player was easy in Ubuntu up to version 14.04 thanks to a ppa, but with Ubuntu 16.04 it become a little more complicated as you […]

Cloudflare Introduces 1.1.1.1 Privacy-focused DNS Service with DNS over HTTPS and DNS over TLS Support

The web is becoming more secure as more and more websites leverage HTTPS, which also improves privacy since the only nodes that know which exact page you are accessing should be your computer/device and the server running the website. If you’re using a search engine, they will also know and potentially get track of your history depending on your favorite search engine. One thing that’s still often unencrypted are DNS requests which convert a website name into an IP address. The servers are also often provided by your ISP, so they may not know which exact page you’ve accessed, but they can still keep track of the websites you’ve visited. Depending where you live, your government may also block DNS servers in your country during “periods of unstability”, so third-party DNS services can be useful. For example, using 8.8.8.8 or 8.8.8.4 from Google, and now 1.1.1.1 or 1.0.0.1 from Cloudflare, […]

How to Run Linux on RISC-V with QEMU Emulator

Linux-RISC-V-QEMU

RISC-V open-source architecture is starting to become more and more interesting thanks to the growing RISC-V hardware & software ecosystem, and with the recent release of HiFive Unleashed, we even have a board capable of running Linux. The only problem: it costs $999. But luckily, it’s possible to experiment with Linux on RISC-V without extra hardware, just using your current PC. Imperas offers a commercial solution working on both Windows and Linux that relies on busybear-linux RISC-V Linux root filesystem comprised of busybox and dropbear SSH server. The rootfs also works with QEMU, so I tried it in Ubuntu 16.04. The instructions on Github are quite easy to follow. My computer is powered by an AMD FX8350 processor coupled with 16GB RAM, and the whole process took around 2 hours, so better use the fastest computer possible. It also requires around 26 GB of storage on your build machine. First, […]

How to Use 3G and GPS on Raspberry Pi with ThaiEasyElec 3G HAT Expansion Board

Venus Supply is an embedded systems company based in Bangkok, Thailand that sells products through their ThaiEasyElec website/brand, as well as a act as a local distributor for popular DIY electronics items. I previously tested their ESPino32 ESP32 board, and the company has now send me another of their new product called “3G HAT Expansion for Raspberry Pi” and based on Quectel UC20-G that support 3G and GPS/GLONASS connectivity globally, meaning it should work in any country with 2G or 3G coverage. After listing the specifications, going through unboxing and assembly with a Raspberry Pi 2/3 board, I’ll write some quick start guide to show what I had to do to use GPS and connect to 3G with a Hologram SIM card. 3G HAT Expansion for Raspberry Pi Specifications Quectel UC20-G wireless module supporting Cellular 3G – UMTS @ 800/850/900/1900/2100 MHz 2G – GSM @ 850/900/1800/1900 MHz Data – HSPA+ […]

Getting Started with IkaScope WiFi Pen-Oscilloscope, and ScanaQuad SQ50 USB Logic Analyzer & Signal Generator

A couple of weeks ago, I received IkaScope WS200 pen-like WiFi oscilloscope, as well as ScanaQuad SQ50 USB logic analyzer & signal generator, and I’ve already checked out the hardware both both in a aforelinked unboxing post. I had also very shortly tried IkaScope with GOLE 10 mini PC, but just to showcase potential use case for a Windows 10 mini PC with an inclined touchscreen display. But at the time I did not really a proper measurement, as it was more to test the mini PC than the oscilloscope itself. I’ve now had time to test IkaScope desktop program and mobile app in respectively Ubuntu 16.04 and Android 8.0.0, as well as ScanaStudio for ScanaQuad USB device using Ubuntu 16.04 only, since there’s no mobile version of the program. While I’ll focus on Ubuntu and Android, most of the instructions will be valid for Window 10 and Mac OS X […]

Getting Started with TinyLIDAR Time-of-Flight Sensor on Arduino and Raspberry Pi

TinyLIDAR is an inexpensive and compact board based on STMicro VL53L0X Time-of-Flight (ToF) ranging sensor that allows you to measure distance up to 2 meters using infrared signals, and with up to 60 Hz. Contrary to most other VL53L0X boards, it also includes an STM32L0 micro-controller that takes care of most of the processing, frees up resource on your host board (e.g. Arduino UNO), and should be easier to control thanks to I2C commands. The project was successfully funded on Indiegogo by close to 600 backers, and the company contacted me to provided a sample of the board, which I have now received, and tested with Arduino (Leonardo), and Raspberry Pi (2). TinyLIDAR Unboxing I was expecting a single board, but instead I received a bubble envelop with five small zipped packages. Opening them up  revealed three TinyLIDAR boards, the corresponding Grove to jumper cables, and a bracket PCB for […]