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
https://www.teamviewer.com/en/download/linux/

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 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
 

Search This Blog

Most Reading

Google+ Followers

...