Tuesday, September 26, 2017

How to Install ESP32 Board in Arduino IDE ( Ubuntu /Debian )

How to Install  ESP32 Board in Arduino IDE ( Ubuntu /Debian )

Now a days ESP32 become more popular than NodeMCU.

ESP32 board is not available in Arduino IDE.

For Adding ESP32 Board in Arduino IDE

First you have to install the latest Arduino IDE from arduino.cc

Run the following commands in a terminal

sudo usermod -a -G dialout $USER && \
sudo apt-get install git && \
wget https://bootstrap.pypa.io/get-pip.py && \
sudo python get-pip.py && \
sudo pip install pyserial 
 Now make a folder espressif in your arduino/hardware folder and change to that directory
 mkdir -p ~/Arduino/hardware/espressif 
cd ~/Arduino/hardware/espressif  
now run the following command
git clone https://github.com/espressif/arduino-esp32.git esp32 && \
cd esp32/tools/ && \
python get.py
Copy and paste the above all commands in a terminal. 
It will download and install all the required files and settings.

Restart Arduino IDE.

Thursday, September 21, 2017

How to Run 720p and 1080p mkv files Raspberry pi

VLC and other common video players  in Raspberry pi not support GPU.

You can use Omxplayer a text based video player for running 720p and 1080p mkv and almost all other video formats.

for installing omxplayer

sudo apt-get install omxplayer

omxplayer is a textbased player , so it is very difficult to use.

you can provide a graphical front end by using tboplayer


Download the zip file from above site

run the following commands
sudo su
unzip tboplayer-master.zip
cd tboplayer-master

This will take some time to complete

now run the following
python /opt/tboplayer/tboplayer.py

if any python module missing issue

pip install


raceback (most recent call last):
  File "/opt/tboplayer/tboplayer.py", line 65, in
    import pexpect
ImportError: No module named pexpect

Solution :  pip install pexpect