welcome to pi3g

your european partner for raspberry pi & machine learning

We are a Raspberry Pi approved industrial reseller, for Germany, Austria and Switzerland. With our strong technical background we are a solid choice as your partner for anything Raspberry Pi related in Germany, Europe and beyond.

Starting in 2020 we have also become one of Google's select worldwide partners for distribution of their Coral.AI lineup. We believe artificial intelligence / machine learning is the way forward in the future.

Get in touch with us today, to see how your business can benefit from single board computing and machine learning on the edge - go beyond and way ahead of your competition.

the story behind pi3g

Back in 2012 the story of Maximilian and the Raspberry Pi started. He was excited when he got his first Pi and also saw the great potential for further development in it.
Then PiCockpit was born to make using and managing the Pi easier and more accessible for everyone.
Maximilian has always been interested in computers and believed that they are a lever to improve everything in the world - for example in medicine.
Over the years, Maximilian's work has grown and new fields of expertise have emerged...

Seperator

In our blog you can expect blog posts about technology and business topics, of course about the Raspberry Pi, but also a wide variety of topics related to Industrie 4.0, IoT, and machine learning - for example about the popular MQTT protocol, Python and Linux embedded development, and much more. Blog entries are not scheduled and not in particular order - the topics are an eclectic mix of what comes up in real life of a company engaged in machine learning & Raspberry Pi embedded adventures.

We are happy to write about special topics that are not so well-documented elsewhere.
If you have any suggestions, we are happy to discuss current topics with you and are always ready to brainstorm workable solutions with you.

Please feel free to contact us 🙂

Using nuitka compiler for python3 on Alpine Linux ARMHF (musl)

By Maximilian Batz | 2019-01-31

Motivationpidoctor is written in Python (as there was no easy way to get Crystal to work on ARMHF / musl). This means a dependency on Python – which adds overhead. I suspect that this overhead is the reason that pidoctor will not run on 256 MB Raspberry Pi’s – because the RAM is exhausted by…

read more

Debugging the Alpine boot process

By Maximilian Batz | 2019-01-22

As discussed in my previous post, Alpine Linux goes through several stages when it boots. Just after mounting the boot media, and scanning it for apkovl’s (with nlplug-findfs), there is an option for you to get a console, by setting $SINGLEMODE to yes. Setting SINGLEMODE to yes is easy, you simply add the word “single”…

read more

kemal-session does not persist data

By Maximilian Batz | 2019-01-22

https://github.com/kemalcr/kemal-session Analyse what is happening with your session cookie. In my case, the session cookie was reset everytime I went to login. I realized, that my idea of cleaning up the old session as a first statement after successful login, before setting up the new session is not a good idea. I suspect, that the…

read more

Using modules in crystal

By Maximilian Batz | 2019-01-22

As your application grows, you would like to move from one big .cr file to separating your code into smaller files. You can use require from your main .cr file to add code from other files: require “./tools/*” This statement will add code from the tools directory, relative to your main .cr file. This will…

read more
Seperator