Direkt zum Inhalt springen und Lesemodus aktivieren

Content Nation Suche

49 Suchergebnisse

Sortieren nach

Creating an algorithm for string art

Grumpy Developer Lesezeit: ca 6 Min Datum: Sprache:englisch
An article about string art. What it is, why it's cool and how one algorithm works. Including source code.

Play "Music" with stepper motors Part 1

Grumpy Developer Lesezeit: ca 2 Min Datum: Sprache:englisch
Have you ever dreamed of creating an instrument that combines art and technology? I recently set out to build a motion control project that plays music using stepper motors, and what started as a crazy idea turned into a fascinating journey. In a world where others had already explored this concept, I found myself without any guides or tutorials. But I'm a DIY enthusiast who loves challenges, so I decided to create my own version from scratch. The result is a system that can play music using midi commands sent through a USB serial interface, and it's all powered by an Arduino microcontroller. In this project, you'll learn how to bring your creative ideas to life with motion control, and how to create a fully functional music player using stepper motors. From the hardware plans to the software instructions, I'm sharing my entire process so you can replicate it and start creating your own unique soundscapes.

Using the Path Animator tool in Blender

Grumpy Developer Lesezeit: ca 6 Min Datum: Sprache:englisch
If you're fascinated by the magic of Blender's advanced features and want to unlock its full potential for creating stunning animations like this one, then keep reading! In this tutorial, we'll dive into the world of texture mapping, displacement, and shader effects to bring your circuit board design to life. From setting up the initial model to animating the "laser effect", we'll cover everything you need to know to achieve a professional-looking result. Whether you're a Blender newbie or an experienced user looking for tips and tricks, this tutorial is designed to be easy to follow and packed with valuable insights. So, if you're ready to take your Blender skills to the next level, let's get started!

Das Belichtungsdreieck

Fotografie erklärt Lesezeit: ca 4 Min Datum: Sprache:deutsch
"Das Dreieck der Lichtgestaltung: Wie Blende, Belichtungszeit und ISO deinen Bildstil bestimmen" Entdecken Sie die Geheimnisse hinter den drei entscheidenden Werten für Ihre Fotografie. Lernen Sie, wie Sie mit dem Dreieck umgehen können, um Ihre Bilder zu optimieren und Ihre kreativen Träume zu verwirklichen.

CIMDIT part 4: Profiles

Grumpy Developer Lesezeit: ca 14 Min Datum: Sprache:englisch

CIMDIT part 3, the hardware abstraction layer

Grumpy Developer Lesezeit: ca 12 Min Datum: Sprache:englisch

CIMDIT part 2, the electronics

Grumpy Developer Lesezeit: ca 2 Min Datum: Sprache:englisch
The author describes four modules of a keyboard project: 1. The brain, which is an Arduino Pro Micro providing USB connection. 2. A rotary encoder board featuring a CD74HC4067 breakout board for analog input. 3. A key matrix module with a 64-button capacity, requiring diodes to prevent ghost buttons when multiple keys are pressed simultaneously. 4. An analog multiplexer board using the CD74HC4067 chip. The PCB layouts and electronics designs are available on the author's git repository, with updates including corrected schematics and compact versions of the rotary encoder and key matrix modules.

Introduction to "CIMDIT" the "completely insane multi device input thingy"

Grumpy Developer Lesezeit: ca 3 Min Datum: Sprache:englisch
Imagine having one device that combines the functionality of a macro keyboard, a joystick, a 3D mouse, and even a music instrument - all in one! That's what I'm trying to achieve with my latest project: a single, modular input device that can be customized to fit various needs. I've been searching for a replacement for my old joystick, which is on its last legs, and also wanted a macro keyboard for video editing. But then I stumbled upon an idea - why settle for four separate devices when you can create one monster? I'm talking about a device that can send MIDI, be used to create music, and even control multimedia functions. The project, dubbed CIMDIT (Multiple Input Device), aims to achieve this by integrating various modules, including a base module for PC interface, key-matrix modules, rotary encoder modules, analog input modules, and even the possibility of adding SPI. The beauty of it all lies in its modularity, allowing users to plug in different modules as needed and recompile the software. In this series of blog posts, I'll be taking you through the process of building CIMDIT, from the electronics to the software and 3D printing. Don't worry if you're not an electronics expert - it's not rocket science! You can expect to learn about minimal previous knowledge required and how to bring this project to life. So, are you ready to join me on this exciting journey and create something truly unique? Let's get started!

Der Programmzähler

8 Bit Computer from scratch (DE) Lesezeit: ca 2 Min Datum: Sprache:deutsch
"Der Programmzähler: Der Schlüssel zum schnellen Ausführen von Befehlen. Doch wie funktioniert dieser wichtige Teil der CPU? Entdecken Sie die Komplexität hinter dem einfachen Namen!"

Play "Music" with stepper motors Part 3

Grumpy Developer Lesezeit: ca 5 Min Datum: Sprache:englisch
In this third installment of the mini series, we're diving into the nitty-gritty details of controlling multiple stepper motors with precise timing and frequency accuracy. The key to achieving this lies in understanding how to efficiently handle interrupts, utilize internal timers, and minimize clock cycles. The author breaks down the implementation into manageable chunks, starting with the initialization process, where they configure the output pins and set up the interrupt system. The use of a 48000 Hz timer call results in an extremely accurate representation of the desired frequency range, thanks to the internal pre-scaler. However, it's the main interrupt function that showcases the real complexity of this project. Here, we see how the author employs local copies of port pins to speed up operations and mitigate potential race conditions. They also utilize a clever trick to reduce instruction cycles by using a register instead of accessing RAM. The final piece of the puzzle is the `setChannel` function, which allows users to adjust the frequency and enable/disable specific channels. This function cleverly incorporates a formula that calculates the new counter value based on the desired frequency, ensuring smooth transitions between states. With this code, you'll be able to experiment with various configurations, including reducing maximum frequencies and expanding the system to accommodate more stepper motors. If you're interested in exploring further possibilities, feel free to reach out to the author for more information.