A Quick Look at the M5Stack ESP32 Development Kit

I recently received an M5Stack ESP32 development kit from Banggood. Although I have not used any ESP32 based development boards before, I have heard many good things about the ESP32 platform, especially for its rich feature set and versatile connectivity.…

Read More →

MCP2210 Library Reference

I have created a dedicated page for the MCP2210 library documentations. An link to the reference can also be found on the side navigation pane. The Doxygen generated project documentation can be viewed directly here.

Read More →

MCP2210 Library — MCP3204 SPI ADC

During the past few weeks, I have shown many examples (see 1, 2, 3, 4) of using the open source MCP2210 Library with SPI devices under Linux. In this post, I will conclude this series with one more example: interfacing…

Read More →

MCP2210 Library — SPI EEPROM

So far, I have shown examples of using the open source MCP2210 library with MCP2210 GPIO, MCP23S08 and TC77 temperature sensor. In this post, I will show an example of interfacing the chip with an SPI EEPROM using the library.

Read More →

MCP2210 Library — SPI Example Using TC77

A couple of weeks ago, I showed an example of using the open source MCP2210 Library I created earlier to communicate with the MCP23S08 port expander under Linux. In this post, I will provide another example of using the library…

Read More →

MCP2210 Library

After a couple of weeks’ coding and testing, I finally finished the initial version of the MCP2210 C++ library for Linux. This library utilizes functions from Signal 11‘s HID API (hidraw) to communicate over the USB HID interface.

Read More →

Troubleshooting USB Circuit

I have built some circuits that interface with computer USB ports. On several occasions, I had built the circuits but for whatever reason they did not seem to work. Since most USB firmware is rather complex in nature, it is…

Read More →

Brother MFC-7340 Setup Under Linux

I just bought a Brother MFC-7340 multifunction laser printer to replace my old Lexmark Optra E310 which I have had for about ten years. Lexmark Optra E310 has excellent Linux support and I have been using CUPS to make it…

Read More →

Apache2 Logrotate

Whenever I setup a new web server, I always like the idea of keeping the Apache logs roated on a daily basis. While the procedures for changing the log rotate frequency is pretty straight forward, I have seen a lot…

Read More →

Timing Methods in C++ Under Linux

Measuring the execution time for code sections can be done in multiple ways in C++. Except for the time resolution issue, different timing methods worked relatively the same in single processor environment. As multi-core processors become more prevalent however, we…

Read More →

On Default Linux IO Priority

If there is any thing I think Linux distributions can definitely improve upon is to reduce the default IO task priorities while running a Windows manager (e.g. GNOME or KDE).

Read More →

An Image Class Based On IPP

A couple of weeks ago, I wrote about how to interface Integrated Performance Primitives (IPP) with Magick++. While IPP offers excellent performance advantages, it does not come with the easiest programming model. Fortunately, it is easy enough to create a…

Read More →