Featured image of post Arduino: How to select a Sensor/Hardware Library?

Arduino: How to select a Sensor/Hardware Library?

Every Arduino programmer needs to start somewhere. The first Arduino device is a simple combination of a membrane keypad and the an 8X8 matrix. When a key is pressed, it is shown on the 8X8 matrix. Just check the API for the membrane, figure out how to process the button pressed. And then send this character to the LED Matrix. This sounds very easy, right?

Featured image of post How to Learn C/C++ for Microcontroller Programming?

How to Learn C/C++ for Microcontroller Programming?

Every Arduino programmer starts with writing the first LED blinking sketch using the C programming languages. You understand basic imperative commands to define output pins and to change pins. You also know what functions are, and how the `setup()` and `loop()` methods interact. And from there on, you can use the full power of the C and C++ programming language.

Featured image of post Tutorial: Serial Connection Between Raspberry Pi and Arduino

Tutorial: Serial Connection Between Raspberry Pi and Arduino

When you want to build complex microcontroller projects in which data needs to be exchanged between different devices, you need a fast and reliable way to exchange data. In the last article, we investigated serial UART connection, a direct one-to-one interface. This article continues the series with the I2C protocol, a half-duplex, bidirectional communication system with many-to-many servers and clients. We will see how to wire a Raspberry Pi and an Arduino Uno to form an I2C connection and exchange data between the two systems.

Featured image of post Arduino: Implementing a Simple Terminal Prompt

Arduino: Implementing a Simple Terminal Prompt

Arduinos are great microcontroller for your embedded projects. During one of my projects, I wanted to have a simple command prompt to trigger commands at the Arduino, for example to print a message on a LCD display, or to move a servo motor with attached ultrasonic sensor. It is easy enough to listen to a single char and take this as a command, but if you come from Linux or Mac, you are used to have rich CLI tools.