How to calculate a first order IIR filter in 5 minutes

Recently, for my IMU (Inertial Measurement Unit) project, I had the necessity to add low-pass filter, in order to reduce the noise on the accelerometer sensor signal. For this purpose, I decided to use a 1st order IIR (Infinite Impulse Response) filter, because it is easy to implement and run on a microcontroller. In general, … Continue reading "How to calculate a first order IIR filter in 5 minutes"

Tokyo Motorcycle Show 2017 event pictures

Today I have been to the Tokyo Motorcycle Show 2017 (東京モーターサイクルショー2017). This event takes place every year, at the end of March, in Odaiba (お台場), an artificial island located close to the Tokyo Tower. The place of the location is called Tokyo Big Sight (東京ビッグサイト), and it is a common space for fairs and events. … Continue reading "Tokyo Motorcycle Show 2017 event pictures"

How to run a C++ TCP/IP server on Raspberry Pi

This guide will explain how to create a TCP/IP Server on Raspberry Pi 3 B, running Raspbian (or Raspbian Lite). The source code file is written in C/C++ language. The source code is very simple and short. The code below is available on this website, and uses Linux sockets to create a TCP/IP server on … Continue reading "How to run a C++ TCP/IP server on Raspberry Pi"

Arduino Nano sketch flashing with Arduino IDE

This guide simply explains how to flash an "ino" sketch on your Arduino Uno/Nano or similar, using Arduino IDE. For this guide, I used a chinese Arduino Nano clone equipped with CH340 USB-to-UART adapter. This guide is also applicable for flashing Fuelino software into Fuelino hardware (such as Fuelino Proto3). Before performing the following steps, … Continue reading "Arduino Nano sketch flashing with Arduino IDE"

Flashing Arduino with avrdude using Raspberry Pi shell

Recently, I found a method to flash a "hex" file into Arduino Nano, by using "avrdude" running on a Raspberry Pi. In my case, I have an Arduino Nano connected, via USB, to a Raspberry Pi 3 B. The Raspberry Pi is connected to my home network using an Ethernet cable. I am developing the … Continue reading "Flashing Arduino with avrdude using Raspberry Pi shell"