Mastering Arduino Programming: Tips and Tricks for Efficient Coding [shorts #7]

Arduino, the open-source electronics platform, has revolutionized the world of hobbyist electronics and DIY projects. With its user-friendly interface and vast community support, Arduino has become the go-to choice for beginners and experts alike. To truly harness the power of Arduino, it is essential to master the art of efficient coding. In this article, we will explore some valuable tips and tricks that will help you write clean and optimized Arduino code.

Continue reading Mastering Arduino Programming: Tips and Tricks for Efficient Coding [shorts #7]

A Brief Introduction to Analog Signals on Arduino Boards [shorts #5]

Some Arduino boards, like the MKR Vidor 4000, come with built-in digital-to-analog converters (also often simply abbreviated to DACs). With other popular development boards, for example, the Arduino UNO, you’ll have to live with a PWM pseudo-analog output. Or do you? This short article investigates the difference between true analog outputs and PWM pseudo-analog signals, and what you can do to get a true analog signal without having to own one of the more expensive Arduino boards.

Continue reading A Brief Introduction to Analog Signals on Arduino Boards [shorts #5]

Serial to parallel and parallel to serial conversion with shift registers

Shift registers can be used in a wide variety of applications. You can, for example, use them to convert multiple parallel data lines to a single serial line and vice-versa. This technique can be used to extend the number of available in- and outputs of a microcontroller and this article will show you how you can achieve this.

Continue reading Serial to parallel and parallel to serial conversion with shift registers

How to use the ESP8266 for wireless communication

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

How to use an EEPROM to permanently store data with your Arduino

Some Arduino boards have a built-in EEPROM that can be written to and read from in your programs. I not only want to discuss how that’s possible but I also want to show you an alternative while talking about EEPROMs and memory in general.

Continue reading How to use an EEPROM to permanently store data with your Arduino

Low latency and high FPS camera stream with a Raspberry Pi

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