ESP12E Arduino update firmware via wifi

Sunday, June 25, 2017

This tutorial will show how to update firmware for ESP12E via wifi network, using Arduino IDE. Update via wifi helps us no need to connect anything to the board. This is especial useful in IoT project, in which the ESP12E board already installed in model/project -> so we don't need to take it out to update new firmware
What we will need:
(1) Software: Arduino IDE
(2) Hardware: USB-COM converter

We still need USB-COM converter for uploading initial code for ESP12E which will be used for next upload by wifi

Step 1. Install Arduino IDE -> Firstly, visit here to know how to program ESP12E by Arduino IDE
Step 2. Install Python 2.7 (not installed Python 3.5) -> download here
Remember to select “Add python.exe to Path”:


Step 3. Choose BasicOTA project from example list

Arduino voltage measurement

Wednesday, June 21, 2017

Analog input of Arduino can be used to measure voltage. Understand how it works will helps to design voltmeter can measure wide range of voltage, or even making an oscilloscope
What hardware need:
(1) Arduino Pro mini
(2) Volt reference circuit
(3) USB-COM converter
(4) Bread board with some electronics component

Step 1. Connection circuit
This circuit will have probe for measuring voltage. Probe connect with resistor 10MOhm to reduce current for A0 (Analog input 0) which also connect to ground, so when probe connect to no where, voltage at A0 will be 0V, otherwise, it will float with some values.
VR 5K is used for testing voltage, it can make voltage range from 5V to 0V depend on position of adjustment

ESP8266 (ESP12E) web server with ARDUINO IDE

Friday, June 2, 2017

This example is first step to make IoT project. We will make local web server for ESP12E, it will connect to Local Wifi network (let's say, your home Wifi network), then we can control ON/OFF LED (which is in GPIO16) through phone

esp12e arduino programming

Friday, May 19, 2017

This article will show how to program esp12e by using Arduino IDE. What hardware we need is:
(1) esp12e PCB
(2) Bread board
(3) External power supply 3.3V
(4) FTDI COM Port
(5) Some cable, resistor, LED

Step 1. Configure Arduino IDE
File -> Preferences -> paste link for "Additional Boards Manager URLs":
http://arduino.esp8266.com/stable/package_esp8266com_index.json

Arduino Pro Mini 328 - EEPROM

Saturday, March 25, 2017

EEPROM is an internal memory which is not disappeared (deleted) when power is out.
Arduino Pro Mini which use Atmega328 has 32 KiB of Flash program memory. 1KiB = 1024 bytes -> 32*1024 = 32,768bytes


Memory will have address and content. Address will from 0 to 32,767; in which each address is presented for each memory slot with 1byte.




Following is example code to write data from analog input to EEPROM, then read and show through COM port

Arduino Pro mini 3.3v nRF24L01+

Sunday, March 19, 2017

nRF24L01+ RF Module has small size, which can be intergrated in IoT application. This PCB operates at 2.4GHz, comnunication by SPI protocol, and power is 3.3V









This article will show how to connect it to Arduino Pro mini, make communication between 2 boards.
Hardware needed:
1. Two PCB Arduino Pro mini
2. Two PCB nRF24L01+
3. Power 3.3V

What inside Thermocouple

Wednesday, March 15, 2017

Thermocouple is used to measure temperature. A complete thermocouple will have
1. Body
2. Element

Body can be any material, this case is stainless steel 304
Elelment can be K-type or J-type or other


  






 

Search This Blog

Most Reading

Google+ Followers