Category Archives for Programming

Write an integer to the Arduino EEPROM

Today I faced the problem that I wanted to write an int (integer) to the integrated Arduino EEPROM. The Atmel ATMega328 chip has an address space of 0-1023 and each of these slots can save 1-Byte or 8-Bit (which is … Continue reading

11. December 2016 by Marius
Categories: Arduino, Programming | Tags: , , | Leave a comment

How to avoid delay() – create a custom Arduino class – Part 2

In the previous blog post we learned how to avoid delay() if necessary. It would be very convenient when we are able to add a layer of abstraction to this code so when can easily reuse it if we need … Continue reading

15. November 2016 by Marius
Categories: Arduino, Programming, Tutorials | Tags: , , , | 1 comment

Arduino and how to avoid delay() – Part 1

The main problem with using delay() in your Arduino sketch is simply: it will block the whole system for the amount of time you specified. Since your microprocessor is pretty fast compared to most of the delay() time he is … Continue reading

14. November 2016 by Marius
Categories: Arduino, Programming, Tutorials | Tags: , , | 1 comment

Freeware OLED Pixel generation software “OLED Pixxler”

I started a little Arduino project involving an OLED (SSD1306) display using the u8glib library. I faced the issue that I wanted a few custom pixel / bitmaps for the project and also wanted to propably animate the grafics… and … Continue reading

29. October 2016 by Marius
Categories: Arduino, Programming, Software | Tags: , , | 1 comment

C++ Template Arduino investigation

I tried to simplify and refactor some of my code for a new Arduino project lastly and came up with some interessting programming concepts in C/C++ I never heard of before my Arduino adventures. The Problem At first I wanted … Continue reading

26. November 2014 by Marius
Categories: Arduino, Programming | Tags: , | Leave a comment

CNC speed calculation

This formula is nothing very special but I had to think some time about it. 😉 For my CNC I need to calculate the speed of the machine in mm/min (seems this is the standart measuring unit at least in … Continue reading

04. August 2013 by Marius
Categories: Programming | Tags: , , | Leave a comment

Linear interpolation

As I researched about my own custom G-Code interpreter on the Arduino I realised that it was neccesary to interpolate between two points in space. Thats because when both stepper motors step at the same time at the exact same … Continue reading

15. July 2013 by Marius
Categories: Programming | Tags: , , | Leave a comment