Category Archives: Python

IoT Sensor Badge BLE interface with Pythonista 3

From my very egoistic perspective, the only thing truly missing in the IoT Sensor Badge is a proper iOS app (mind an Android app is available) but, as often is the case, every shortcoming can be seen as a challenge… The … Continue reading

Posted in PIC16, Python | Tagged , , , , , , , | Comments Off on IoT Sensor Badge BLE interface with Pythonista 3

Pythonista 3

Pythonista3  is simply the most fun and easiest/fastest way to develop  iPad/iPhone apps/demos (in Python) to complement your IoT demos and projects. Apparently the app has been in the Apple Store for more than three years and the author has had time … Continue reading

Posted in Languages, PIC16, Python, Tips and Tricks, Tools | Tagged , , , , | Comments Off on Pythonista 3

A (not so) Virtual Machine for Oberon 0

The Oberon 0 compiler  I recently wrote (in Python) after following the online Compiler Construction course [1, 2] included much more than a single pass compiler. In the best tradition of such courses based on the work of N. Wirth, the lexer and parser … Continue reading

Posted in PIC16, Python, Tools | Tagged , , , , | Comments Off on A (not so) Virtual Machine for Oberon 0

Compiler Construction (part 2)

As promised, I am adding a few more thoughts on my recent (re-)exploration of  Compiler design and Python programming. I had been flirting before [link] with the idea of writing a compiler in Python, using tools developed in Python (for … Continue reading

Posted in Languages, Python, Tools | Tagged , , , | Comments Off on Compiler Construction (part 2)

Compiler Construction (in Python)

Learning <insert any subject here> has never been easier! Massive Open Online Courses are a real thing, and while we can debate how high we are at this point on the hype curve, the world is a better place because we … Continue reading

Posted in Languages, Python, Tools | Tagged , , , , | 2 Comments

Who doesn’t love Pandas?

Last night I started looking into the “Analytics” of this very blog. It’s something I had promised myself to do often, but it never happened. Looking at the graphs, prepared by the online (free) tool supplied by my provider, was/is … Continue reading

Posted in Python, Tips and Tricks, Tools | Comments Off on Who doesn’t love Pandas?

An OLED Image Editor

In the OLED Click project I quickly ported the OLED driver (SSD1306) routines and packaged them with the low level SPI master drivers provided by MPLAB Code Configurator. The functionality test in itself included only displaying an image stored in an array in … Continue reading

Posted in PIC16, Python, Tools | Tagged , , , , | Comments Off on An OLED Image Editor

A Tale of Two (USB) Bootloaders

I have been looking with great interest at boot loaders design in recent months. It all started with the “Graphics, Touch, Sound and USB”  book I published last year, where I used  Mikromedia boards as my primary hardware platform to … Continue reading

Posted in I2C, PIC16, Python, Tips and Tricks | Tagged , , | Comments Off on A Tale of Two (USB) Bootloaders

Microcontroller Core Simulation Strategies

There are several reasons why you might want to write a simulator for a micro controller: education, debugging, legacy/preservation, or just fun. Over the years I have felt the need for a bit of all of the above and I have … Continue reading

Posted in PIC16, Python | Tagged , , , | Comments Off on Microcontroller Core Simulation Strategies

Python -> Nimrod

After several years using Python as my favourite scripting language I have developed a great appreciation for its conciseness and clarity. This experience though is so different and dissonant with my daily work in embedded control, where I use almost … Continue reading

Posted in Languages, PIC24, PIC32, Python | Comments Off on Python -> Nimrod