For a current project of mine, I had to evaluate how high the latency is when using websockets. In my case, I wanted to use a small single board computer as the server and any device, that can run a web browser, as the client. This tutorial illustrates how a Raspberry Pi and an ESP8266 can be used to act as a websocket server that can be controlled with a standard webbrowser.Continue reading How to use Websockets to control an ESP8266 and a Raspberry Pi with a web browser
More than often enough parts of projects will have to communicate with each other or external devices. This can either be done by directly connecting the devices with cables but sometimes it’s more convenient to wirelessly connect the different pieces of hardware. This article will show you how to use the ESP8266 and it also includes two examples for using it with a Raspberry Pi and Arduino boards.Continue reading How to use the ESP8266 for wireless communication
I just saw that two very good sources, that both had an article about this topic, have gone offline without an archived version. And because I continued my work on a robot that is controlled by a Raspberry Pi, I had to figure out how to create a low latency and high FPS stream from the Pi’s camera that can be viewed in a web browser again.Continue reading Low latency and high FPS camera stream with a Raspberry Pi
Update: It seems like this method got irrelevant over the years because the Raspberry Pi 4 now seems to detect the correct mode of the USB modem on its own!
Long-time readers of this website might recognize this article. It was the first article, I published on nerdhut. As of today, this is still one of the most popular articles on the page and because of that, I decided to shorten it a bit and translate it to English.
However, the original German version remains online here!
Due to my work on a remote-controlled unmanned ground vehicle, I searched for a way to control it anywhere in the world. Because I wanted it to have a high range and reliability, I decided to communicate with it over the internet, which should be available almost anywhere on the planet. Continue reading Raspberry Pi 3G using a Huawei E303 modem and DynDNS (English)
Oh yes, Christmas! It’s almost that season of the year again. And to shorten the time between the 1st of December and Christmas Eve’, I thought about a bit more interesting advent calendar than one, that only has chocolate in it. This electronic advent calendar offers a riddle that you can create for a loved one or a friend and give it to them so they can try to solve it before Christmas arrives. It offers a clue every day and it presents all unlocked clues on a website that runs on the device itself. The only two things it needs to work is a power supply and a WiFi network it can connect to. And the best thing is: It is really simple to build and it can be re-used every year and it can also be used for other occasions (for example Valentine’s Day)! Continue reading DIY electronic riddle advent calendar
English version available here!
Fortsetzung von Teil 1!
In diesem Teil der Miniserie geht es nur darum, einen DynDNS Dienst auf dem Raspberry Pi einzurichten. Das ist, je nachdem welchen Dienst ihr gewählt habt, ein recht trivialer Vorgang. Ich verwende für meine Zwecke DuckDNS, ganz einfach aus dem Grund, weil das Einrichten schnell von der Hand geht und ich Enten mag.
English version available here!
Update: Diese Methode scheint über die Jahre irrelevant geworden zu sein da der Raspberry Pi 4 den korrekten Modus nun scheinbar von selbst erkennt!
Für meine Arbeit an der ferngesteuerten Drohne habe ich bereits vor langer Zeit angefangen, eine einfache Möglichkeit zu suchen, diese praktisch weltweit ansprechen und steuern zu können. Da die Reichweite und Zuverlässigkeit der Kommunikation bei dem Projekt an oberster Stelle stehen, kam mir schnell die Idee, die Kommunikation über das mobile Internet laufen zu lassen. Dieses ist doch grundsätzlich überall dort verfügbar, wo Menschen Handys benutzen. Also (fast) weltweit. Continue reading Raspberry Pi 3G mit Huawei E303 und DynDNS (Deutsch, Teil 1)