I2C Communication in Linux based drivers

I2C is a two wire communication protocol first published by Philips, used for connecting together low speed peripherals, any of which having the ability to become a bus master. An I2C bus consists of a number of interconnected devices. There can be one or more controlling master devices and a number of slave devices. All … Continue reading I2C Communication in Linux based drivers

“Fatal: This operation must be run in a work tree” Are you facing the same problem in your Git initialization?

It is not possible to add Git init in bare repository as git add will take files from work tree and add them in an index. Now, bare repository will not have any work-tree that's why will get an error like this. Fatal: This operation must be run in a work tree Now, what is … Continue reading “Fatal: This operation must be run in a work tree” Are you facing the same problem in your Git initialization?

How to read SQLite-database via C Language ?

Many times we require to use database as a part of device development. As per android architecture it is clear that android supports SQLite database. “SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed database engine in the world. The source code for … Continue reading How to read SQLite-database via C Language ?

How to share files when ssh is being blocked at your company’s network ?

Many times we face the situation where even 'ssh' is being blocked by company's administrative staff . Correct ? It will be very difficult for us to share big files when your mailbox is over blasting with mails and by putting efforts you are freeing some space to get a new mail !! If this … Continue reading How to share files when ssh is being blocked at your company’s network ?

Intrusion Detection and Sending “Warning” Email Through Python

The components required to build this security system is shown in figure. PIR sensor is used to detect any movement around it. The moment it detects any motion within its range, it sends a HIGH signal 1 to the arduino interfaced with it. The arduino then processes the signal and detects whether is it need … Continue reading Intrusion Detection and Sending “Warning” Email Through Python

WiFi Architecture and Flow in Android

Android Wireless Architecture can be divided in three part Java Framework (WiFiManager,WifiMonitor etc..), HAL(wifi.c, wpa_supplicant) kernel space modules (Wireless stack, driver). Application Framework code for WifiManager, WifiMonitor , WifiConfiguration are in base/wifi/java/android/net/wifi folder Jni code written in “android_net_wifi_WifiNative.cpp” located in “frameworks/base/core/jni” folder. Which communicate with HAL layer. HAL layer code is written in wifi.c (hardware/libhardware_legacy/wifi/). … Continue reading WiFi Architecture and Flow in Android

How to Use Sublime Text Editor effectively With Remote Server ?

Download latest source code from this link http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3047_x64.tar.bz2 Extract tar file tar vxjf sublime_text_3_build_3047_x64.tar.bz2 Now we should move the uncompressed files to an appropriate location. sudo mv Sublime\ Text\ 3 /opt/ Lastly, we create a symbolic link to use at the command line. sudo ln -s /opt/Sublime\ Text\ 3/sublime_text /usr/bin/sublime In Ubuntu, if you also … Continue reading How to Use Sublime Text Editor effectively With Remote Server ?

Introduction To Beaglebone Black

The BeagleBone Black has evolved out of the long lineage of BeagleBoard products into the current version; a small form-factor, very powerful, and extremely expandable product that allows builders, makers, artists, and engineers the ability to create truly innovative projects. The BeagleBoard family was originally designed to provide a relatively low-cost development platform for hobbyists … Continue reading Introduction To Beaglebone Black

Automated Wheel Chair Using Image Processing In Matlab

GOALS AND ABSTRACT OF THE PROJECT: To enable a user to drive the wheelchair by performing head motion through colour detection in various directions, thereby reducing physical stress and eliminating need of an extra person https://www.youtube.com/watch?v=0FowcXVjZl8 ‘Automated Wheelchair Motion’ which suggests a wheelchair being fused with certain technology to make it automated. Here we are … Continue reading Automated Wheel Chair Using Image Processing In Matlab

Status Change of Beaglebone Black GPIO pin through Python Flask Server and Web Sockets

GPIO0_7 ON/off with status  If you have seen Simple Python Flask server creation with linux you can go further. If not please see thishttps://innovativetechspace.wordpress.com/2015/01/18/live-video-streaming-with-websockets/ Python code import Adafruit_BBIO.GPIO as GPIO import time GPIO.setup("GPIO0_7", GPIO.OUT)   from flask import Flask from flask import render_template from flask import request from jinja2 import Environment, PackageLoader app =Flask(__name__)   … Continue reading Status Change of Beaglebone Black GPIO pin through Python Flask Server and Web Sockets

How to communicate over UART in Beaglebone Black

Command to see how pins are multiplexed cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pingroups Setup UART port  echo ADAFRUIT-UART2 > /sys/devices/bone_capemgr.8/slots or >>> import Adafruit_BBIO.UART as UART >>> UART.setup("UART1")   How to check which port is working on kernel cat /sys/devices/bone_capemgr.8/slots   Test   You can easily test that everything is working, without having to code anything, or installing any … Continue reading How to communicate over UART in Beaglebone Black