Compiling Qt 4.8.5 for Arietta G25

Arietta G25

On my way building an automated wireless home automation system I have been finally been drawn to Embedded Linux. It just makes sense. Driving Internet of Things devices based on Arduino or other directly programmed MCUs is not very efficient. You will have so much work with just building up a network stack for example based around a CC3000 (Available as a nice breakout board from Adafruit). And you will just redevelop what is available for linux for decades. But: Embedded Linux is a beast of a monster. It’s just a whole different universe.

There are so many devices to choose from, the most prominent example being the Raspberry Pi of course. But I wanted a solution that I can use for a final product. For my work I need a very small device and I don’t need all these connectors (Ethernet, HDMI, etc) so I have been searching the large catalog of SoMs (System on Module) and found “Arietta G25” by Acmesystems. I really love this little device and Acmesystems provides a lot of tutorials and help documents to get started quickly.

Find more infos about their great product line-up here: acmesystems.it.

After I had attached a 3.5 TFT (acmesystems has a well written tutorial on how to do that) I wanted to use it for a great User Interface. As you don’t want to build your own UI-System you will most likely find Qt. Qt is more than just a UI frameworks. It’s awesome as it features more or less the same as the whole Apple iOS system. It features it’s own (great) IDE, Interface-Builder for doing design work the WYSIWYG way and features an almost complete Framework with hundreds of C++ classes for all kinds of stuff. They even have a well written network stack helping a lot in doing IoT stuff.

But: Getting Qt to run on an embedded linux device is not that easy. It’s hard work. Requires hours of hours of your time building stuff. Of course there are systems like Yocto and Buildroot – I just got started with them and so far I don’t see it’s easier. As acme systems provides a few images to get started, I wanted Qt installed based on the acme systems solution.

(more…)

Read More

Custom LCD Controller for Printrbot Simple (Metal)

In order to print with the Printrbot Simple Metal you have to connect your computer with your printer via USB and make sure that the computer continuously sends data to the printer. If your computer crashes, your printer stops and your maybe long hour print is a piece of chunk. If your computer goes into stand by the result is the same. And there are various other reasons like energy consumption. The way to go is untethered printing.

The Printrbot Simple Metal is capable of that in two ways, both of them require a Mini-SD card inserted into the printer. The first way is to write the G-Codes generated by your Slicer, typically Repetier Host and Slicr to the SD-Card. Name it auto0.gcode, insert the card into the printer. Shut it down and on again. The printer should now start to print. But you will not know if it works for a couple of minutes as it’s first heating up. Nothing moves, etc. I tried that a couple of times and found the procedure to be very annoying.

The second method is using the Addon LCD Controller sold by Printrbot.

Getting your hands on a LCD Controller

Your Printrbot is already capable of displaying a nice LCD-Menu with all kinds of options and the option to browse the SD-card and run any print from it untethered from your PC. All that is needed is a Standard 20×4 LCD Display and a rotary encoder. A rotary encoder is a special kind of input sensor that sends signals when it is rotated.

Printrbot sells these LCDs for $65 in their store. But they still have that wood look. It does not match the Metals Design. And, as I am living in Germany you will have to wait a few days for it to arrive and you will likely have some issues regarding customs. I did not found a german distributor a few weeks ago so I wanted to built my own. A few days ago I have found 3ddinge.de selling the LCD Controller in Germany for €70. That’s a lot of money and by doing it yourself you will end up with 30-40 Euros for the LCD Controller.

(more…)

Read More