MicroPython Experiments Python is an incredibly productive language and when applied to tiny systems like the ESP32, it is a real joy to work with. MicroPython is a reimplementation of the Python language for constrained systems, to be exact. In the following detailed article, we see how to get MicroPython up and running and then we go on to explore support it has for various hardware peripherals on the ESP32 in a series of simple “experiments” that build on one another. Although I’ve provided schematics separately for…Continue Reading “Eight MicroPython / Python Experiments for the ESP32”

There are a couple of ways to get this done. Ubuntu now has BCC and its related tools right in the official repositories. Ubuntu Official Packages You can install like you would any other package: Here are links to file lists for bcc and for bpfcc-tools. IOVisor Repository Just like how you might have got it done in Ubuntu 16.04, you can install it via Iovisor’s Ubuntu repository. See the following session:

ESP8266 based development boards are available for as little as $3. The great thing about the ESP8266 is that it packs enough punch to handle the crypto required to work with an IoT backend like AWS IoT Core. In this video, I explain a full, end-to-end IoT project where we will hook up the ESP8266 to AWS IoT Core. We will be running Mongoose OS on the ESP8266. Since the ESP8266 has WiFi hardware built in and can be operated off a USB power bank,…Continue Reading “Build a 5$ IoT Thing with ESP8266, Mongoose OS and AWS IoT Core”

OpenCV is pretty powerful in that, it does not stop with computer vision related functionality. It has this, very powerful DNN (Deep Neural Network) module that can parse and use pre-trained models from several popular deep learning tool kits. In this video, I explain how we can take a popular deep learning based, pre-trained Caffe model and use it in OpenCV. While doing so, we will use OpenCV’s HAAR Cascade module to detect faces and send the age and gender detection model just the cropped…Continue Reading “Age and gender detection with OpenCV on the Raspberry Pi”

Installing OpenCV on Raspberry Pi can be an intermediate challenge, but the rewards can be great! In this video, I show you how to install OpenCV step by step on a Raspberry Pi running the Raspbian operating system. This article is a companion article to the video of the same title on YouTube, which you can watch below. I recommend you start with a fresh install of the latest version of Raspbian and on boot, update the system. Install the package debian-goodies and see what…Continue Reading “Installing OpenCV on the Raspberry Pi”

There are a lot of nifty things that machine learning can do now and it can only get better. With pretty much everyone and their mother sporting smartphones, machine learning on smartphones is most certainly a match made in heaven. There has been a lot of talk about machine learning on the “edge”. This means smartphones and IoT devices being able to run machine learning algorithms directly without them having to ship data to servers and get inference results back. Think of an IoT smart…Continue Reading “Machine learning on iOS with Keras and CoreML”