How to upload code to ESP8266 using the Arduino IDE and a Serial-USB converter.
ESP8266: uploading code from Arduino IDE
This post explains how to upload code to ESP8266 using the Arduino IDE and a Serial-USB converter. We assume the use of an ESP-01 board, one of the cheapest and most used boards based on the device. Hardware configuration This tutorial assumes the use of the ESP-01 board, shown in figure 1, as the hardware. …
ESP8266: An introduction
This post briefly explains what is the ESP8266, a very cheap SoC currently used in many IoT applications.
ESP8266
This post briefly explains what is the ESP8266, a very cheap SoC currently used in many IoT applications. What is the ESP8266? The ESP8266 is a SoC that integrates the TCP/IP stack and is able to connect to a Wifi network, allowing it to communicate with other devices over the Internet. This device is made by …
Using a ULN2803A to control a DC motor
How to use the ULN2803A IC to control a DC motor, using an Arduino board.
Shorting a voltage source conceptual error
This post describes some conceptual errors with voltage sources, that arise from the definition of voltage source and short circuit. Voltage sources and short circuits As explained in this post, a voltage source imposes a voltage difference across two points, as shown in figure 1. This means that, between points A and B, there is …
Continue reading "Shorting a voltage source conceptual error"
Toggling a LED with Arduino and HC-06
Following the previous post describing the HC-06 module, this one shows how to use it to build a simple program to toggle the debugging LED of an Arduino board, using Bluetooth. This tutorial assumes the use of the HC-06 integrated in the baseboard described in the previous post. Connecting HC-06 to the Arduino Board Using the previously …
Arduino Bluetooth with HC-06
This post describes the HC-06 Bluetooth module and shows a simple app to turn on and off a lamp with an Arduino board. HC-06 HC-06 is a cheap Bluetooth module that supports SPP (Serial Port Profile), which allows the establishment of an emulated serial connection using Bluetooth. This connections is transparent for the microcontroller, since the module handles all …
Resistors calculations and voltage divider
This post explains some basic calculations with resistors and voltage dividers.
Cheap power supplies
This post lists some cheap options for power supplies to use in electronic and embedded systems projects.