Brushless motor L298 Arduino

Tuesday, January 9, 2018

This project uses L298 (known as H-bridge) to run brushless motor (taken from HDD) via Arduino Pro Mini. By this project, we also know how brushless works
Hardware needs:
1. PCB H-bridge L298 (2pcs)
2. Arduino Pro Mini
3. Brushless motor (take from HDD)

dvd stepper motor arduino

Thursday, December 28, 2017

DVD stepper motor is bipolar type. Using H-bridge L298N to be as drive.
This project will make stepper motor run -> this is a basic step to make CNC machine.

This project will need:
1. Arduino Pro Mini
2. H-brige L298N
3. Stepper motor

Make smart socket wifi ESP8266

Monday, December 25, 2017

Inherit "DIY wifi light switch" project, I continue making wifi outlet 220V, using arduino ESP12E to control it. "Wifi outlet" is also called as smart power outlet, which is sold a lot on internet.

Let's see result first:

What all we need:
1. ESP12E
2. A normal outlet
3. Power adapter 220V to 6VDC

DIY - Wind power car project

Sunday, December 10, 2017

Making a toy car can run by wind power, it run upward to wind

Just modify a toy car: use paper fan to rotate inertial gear box, which helps car can run upward to wind
See all process of making the car by this video:

Yokogawa Centum VP R5 installation

Saturday, November 25, 2017

This article is aimed to show how to install DCS software Yokogawa Centum VP R5 by our experience, in short time, and legal way using license which is already installed in the factory system.
In fact, it is can be called as "back up" installation ENG PC which is already installed in your factory
What need:
1. ENG PC which installed Centum VP R5
2. CD with Centum VP software
3. CD with Key code (come along with factory's project)
Those 3 things are already existed in your factory. We will need one new computer, which we will install Centum VP with license. This computer is seen as backup ENG PC which can be used if your current ENG PC can't run.
Centum VP R5 system - with ENG spare

Install opencv Raspberry pi

Sunday, November 5, 2017

This procedure will show how to install OpenCV which can use C++ and Python for programming.

$ df -h

Filesystem      Size       Used        Avail Use% Mounted on
/dev/root        13G        7.4G         4.9G  61% /
devtmpfs        363M      0              363M   0% /dev

OpenCV will need about 2Gb for installation. If not enough space, delete other files or use USB stick to extend memory

Raspberry remote desktop

Tuesday, October 17, 2017

Remote desktop is useful when Raspberry can be in normal operation when NO monitor, keyboard, mouse connected to.
Of course a laptop or PC is needed to connect to Raspberry. High speed of laptop/PC will help us to search on web faster than using in Raspberry.
Using Teamviewer is a good way for remote desktop

Step 1. Install Teamviewer in Raspberry
Go to Teamviewer website to take installer to Raspberry

Install Teamviewer by going to Download folder and lick to it for installation

Step 2. Open Teamviewer to take ID and password

ESP8266 wifi light switch

Saturday, July 8, 2017

This IoT project will guide making ESP8266 wifi light switch on wall, which uses relay 5VDC to control lamp remotely.
The lamp can be turned on/off by phone (via wifi) or by local switch. In case no phone, we still control it by phone. In case of ...lazy, we can control lamp via local wifi network.

ESP12E Arduino update firmware via wifi

Sunday, June 25, 2017

This tutorial will show how to update firmware for ESP12E via wifi network (esp8266 OTA tutorial)  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 (ESP8266) 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":

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


Search This Blog

Most Reading

Google+ Followers