Read smartphone accelerometer data on a website

Almost everybody has one nowadays: A smartphone. But how often did you come across a website that used the phone’s tilt sensor? More than often enough a website only changes the layout if tilt your phone. How cool would it be, if the background would move around slightly when you tilt the phone? This short article will show you how to read the phone sensors and how to process the data with JavaScript!

Continue reading Read smartphone accelerometer data on a website
Advertisements

Introduction to Tinkercad and 3D printing

When you build custom projects you eventually get to a point where you want to design a custom case for your product. If you are not interested in learning complicated and expensive CAD software, Tinkercad is the way to go. It’s super easy to learn and to use and it has all the basic features needed for designing custom enclosures for your electronic projects.

Continue reading Introduction to Tinkercad and 3D printing

C sockets – A hello world introduction

While sockets are no new concept for me, I recently had to write an application in C that uses sockets to communicate. And while trying to figure out, what the best way of doing so is, I came across a lot of tutorials. But most of them either completely missed the point, were too complicated or used obsolete functions in the code. In this article, I want to try to give you a simple and short overview of sockets and an up to date ‘hello world’ example for a client and a server application. Continue reading C sockets – A hello world introduction

Raspberry Pi 3G using a Huawei E303 modem and DynDNS (English)

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!

Introduction

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)

Nixie tube thermometer – Part 3

In the third part of this series, I want to talk about the PCB design and the custom case for the electronics. I’ll also revisit the transistor array, which I didn’t finish in part 1 of this series and I test the completed project and show it in action. Continue reading Nixie tube thermometer – Part 3

VGA signal generation using discrete electronic components

It’s been a while since I published this series of articles on nerdhut about monochrome video signals for an old Macintosh CRT. I wanted to post a short follow-up article about VGA and how to generate such signals. This article will also be a follow up to the custom CPU series and it will be another step towards the custom computer, I always wanted to design and build.

However, in this article, I only want to take a look at how the standard 640×480@60Hz VGA-Signal can be created using a screen testing device, made from discrete electronic components, which can be used to test monitors without the need of a computer being around. Continue reading VGA signal generation using discrete electronic components