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"

How to connect Arduino and Raspberry Pi using USB and C++

Recently, I wanted to connect my Fuelino Proto3 to the Raspberry Pi 3 (with Raspbian Jessie Lite) which I bought some weeks ago. The Pi has a very interesting feature: same as for a normal PC, it has USB ports which can be used to both communicate and power any device. In order to connect … Continue reading "How to connect Arduino and Raspberry Pi using USB and C++"

Fuelino proto2 PCB mounting

Some weeks ago, I received at home the second prototype of PCB for the Fuelino shield (compatible with Arduino Nano r3). Since all components are "through hole mount", and there are quite many, the soldering and testing phase required about 1 h. First of all, I decided to solder the resistors (they are the components … Continue reading "Fuelino proto2 PCB mounting"

How Atmel Studio converts C language code into Assembly

This article has the purpose to explain how Atmel Studio converts C/C++ language software into Assembly code, and then into a HEX file. In a previous article, I already explained how to compile a simple C program using Atmel Studio, and flash it on an Arduino Nano equipped with Atmel ATmega328p microcontroller. The "Hello World" … Continue reading "How Atmel Studio converts C language code into Assembly"