Page 1
more
Standard

MATLAB® and Objects

Working with objects once a project becomes sufficiently complex makes it much easier to keep track of things. MATLAB® (a.k.a. MATrix LABoratory) is a nice product by a company called MathWorks that makes matrix manipulation incredibly easy. For us engineers and academics it is the standard goto, regardless if we need to rapid prototype some functionality or develop a complex and convoluted system. Only recently did I discover a whole hidden side of  MATLAB®: classes! And because I am an incredibly big fan of those beasts I decided to write a quick summary of how to use them.

Continue Reading →

more
more
Aside

ESP8266 file transfer - the post I forgot...

In all my excitement about getting MicroPython running on the ESP8266, and then to get it talking to a ST7735 driven TFT LC display, I completely forgot to explain how I get the code saved on the little chip. It is very possible to write all the code in the terminal using picocom, minicom or screen. Yet this approach is very tedious, prone to errors, and if you do mistype something you'll have to start from scratch. Luckily, the MicroPython image allocates some space for a local file system (around two frecking Mega-Byte on the ESP if I'm not mistaken!), and you can write files to it and read them back using the built in webrepl module.

Continue Reading →

more
Standard

TFT display for ESP8266 - shapes

Programming is awesome! Having gotten to grips with the ESP8266 on the HUZZAH board from Adafruid made me appreciate this even more. Back in my "wild" embedded-C days I was under the impression that programming a microchip was only for the hardcore geeks (myself included) and really difficult to grasp. How wrong I was! The object orientated platform MicroPython makes this little ESP an amazing platform for learning to code and getting immediate results. Only one thing is missing is a screen: or is it?

Continue Reading →

more