Sunday 18 December 2016

Lamp Sequencer | LM393 | Arduino

          Howdy, today we are going to do the Lamp Sequencer project which takes sound as input and respond to it. It's easy, funny and lovely. Let's get started.

Hardware Required

Arduino IDE

Wiring Diagram

Let connect the peripherals as described in the table below
Pin outs
Note: If you are using 5V relay, the above pin out is acceptable. If you are using (12 or 24)V relay, Use separate (12 or 24)V DC supply and do common ground.

Looks sick 😊

Schematic

Let's code 💪

          Uff.. It's time to code our controller board. This is pretty long here due to sequence switching. But don't worry. Copy paste the code in your Arduino IDE. After done it, compile check and upload the program. Ensure you have selected the specified board and port.

IDE-Code

Prototype GIF

GIF

Thank you
Issues, suggestions, complaints: Drop mail

Wednesday 7 December 2016

Security System #02 | SW-420 | Arduino | GSM

          Howdy. Today I came up with the another method of Security System which detects the vibration and sends the Alert through message and Even do calls. Check out the #01 of my Security System. Alright, let's do this. Before begin the work you might need to configure your GSM.

Hardware Requirement

Arduino IDE

Let's do Wiring

          To communicate with the sensor and to trigger the GSM at the right time. We need the do the wiring connections as shown in the Fig.

Schematic

Coding time

          Alright. It's time to control the body by it's soul. Copy paste the Code in your Arduino IDE, compile and upload the code. Make sure you have selected the right port and the board.

Code Upload

Working of Prototype

I believe in pictorials rather than words. So here I shown the working pictorial


Thank you

Suggestions, quires, complaints? Drop mail

Tuesday 6 December 2016

Real Time Sensor Data | Email | Raspberry-Pi

          Raspberry Pi is an single chip tiny computer board which comes up with the several internal features. It's been used for several purposes. Today I came up with the Idea of Sending the Real Time Sensor Data via Gmail. Work begins... Before jumping into it. Setting up of your pi is important

Hardware Required

Required Items

Software Required

  • Python Interpreter   (No need any Special Download. Built-in with Raspbian)

Pi - Python

Wiring to Sensor

          As mentioned earlier I used HC-SR04 Ultrasonics sensor to read it's data. The connection between the sensor and the R-pi is shown.

Pin Connections

 Coding Time...

          We are going to write the code in Python. Make sure you have an updated version of python in your jessie of your R-pi. If you don't have, do this

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install python3

after this is done, just copy the code and paste in your python Editor window not in Interpreter window. Save the file.

Note: For the sender's mail, the less security app should be allowed in the Gmail to access it through Python

Coding

          After this, the code is complied and Runned by either simply pressing F5 or from the Terminal window of your R-pi. Save the file in the home directory so that we can run from multiple windows.

Running From Terminal

python filename.py

Terminal Run code

Received Mail

          Wow... Worked. Here we go.. I got a mail from the Sensor.

Mail

Prototype

          The below shown is my prototype. If you develop one. Share your prototype design also in the comment below.

Prototype

Thank you

Suggestions, quires, complaints? Feel free to drop mail

Friday 2 December 2016

Security System #01 | HC-SR501 | Arduino | GSM

         Security System is the degree of resistance, to other to access our belongings. Today I came with the Intelligent Security System which makes alert when the Intruder enters in your home or Industry. Let's make it.

Hardware Required

Hardware

Software Required

Arduino IDE

Work begins...

          Before entering into building the prototype, GSM module should be set up in a way to transmit and receive the signal.  To set it up, click here

          After setting up your GSM module. Remove all the previous connection and make the new connection as shown figure.


Circuit Connections

Time to code

            After all done, Just copy and paste the code to your Arduino IDE. Check for proper board and port selection. Compile your code and upload it. While uploading your code disconnect the TX and RX. After successful upload of your code connect TX and RX and press the RESET button once.

Coding Window

Deployment

         Eventually you made it. It's an security system to protect your belongings from the III person.

Deployment of our Design

Human Trace

           When sensor detects the human trace. Immediately generates the Alert message and after a minute. It generates the Call.

Alert Signal


Thank you

Don't forget to raise your Thumb's Up

Got hit by Issue, feel free to drop mail

Wednesday 30 November 2016

Global Systems (GSM) AT Commands

       Global System is a Protocol which is developed by the European Telecommunication Standard Institute(ETSI) to describe the II-Generation digital cellular devices. After a successful test in Finland. It is deployed to replace the Analog Communication (I-G) to the digital communication (II-G). Over 90% of mobile communication uses the GSM protocol to communicate and transfer the data.

GSM Module

              GSM module is a mobile communication modem, GSM is an open and digital cellular technology used for transmitting mobile voice and data services operates at the 850 MHz, 900 MHz, 1800 MHz and 1900 MHz frequency bands. In India the network providers almost provide in the frequency of 900 MHz.


GSM MODEM

AT Commands

               AT commands which is traditionally called as ATtention commands which is used to communicate with the data transferring modules (Say: WiFi, Bluetooth, XBee, and of course GSM). It uses the two wire serial communication protocol.

Modes of Communication

 There an two modes to communicate with the devices with the AT commands.
  • With Controller Board
  • Without Controller Board
Now we are communicating with the Controller board technique.

Hardware Required

Hardware

Software Required

Arduino IDE

GSM Setup

                   GSM module should be set up properly with the Valid SIM card. After locked up, fire up your GSM. The green LED indicates the power. The continues blink of SIG LED denotes that it is ready to capture the signal. After a mean time (Say: 60 Seconds), SIG LED blinks continuously in the rate of 3 Seconds, it denotes that it established the connection to the satellite.

SIM Lock


Troubleshooting 

If the 3 seconds blink is not appeared, check the mentioned things
  • The Voltage (12V) and Current (1A) rating of your Adapter
  • Use only the Valid SIM card
  • The Antenna wire in the GSM module (Extend it)
  After all set, as the initial test. Call the number in the GSM module from your phone. The RING LED glows as the indication of perfect working of GSM.

All Set

Pin Connection

Wiring between the Arduino and the GSM module should be done to establish the communication. GSM module should be powered separately by 12/1 (V/A) adapter. The 3 wire configuration is used to communicate the PC with GSM.
  • RX-11
  • TX-10
  • GND-GND

Pin Connection

Programming

             After completing the task in the hardware section, now it's time to coding. Just copy paste the code to complete the task. Paste it in the Arduino IDE. Chose your Arduino board and select the proper COM port and upload the code. After this open your serial monitor and communicate with GSM.

Serial Monitor
There are several set of AT commands are available. Ubinetics have them, i shared it for you. That's all for today. Hope you enjoyed it.

Thank you

Got Hit by issue ? Feel free to drop mail

Friday 17 June 2016

Remote Obstacle Finder | Raspberry-Pi.

            Obstacle detection is an important aspect in an Automotive and Automobile System. The basic obstacle detection is already done. Check here. Now, moving on to the next level. The detection and the range of the obstacle is identified remotely. Let us see how it works.

Hardware Required
  1. Raspberry-Pi ( Refer the first booting of pi here )
  2. HC-SR04 (Ultrasonic Module)
  3. WiFi Adapter (If R-pi2 is used)
  4. LED
  5. Hookups
  6. Protoboard

List of Hardware 



Software Required
      
          After booting up your Raspberry pi with Raspbian. The application software which is required to run the program is Python. Python is pre-installed in OS. If you did'n have it do the following. Open Terminal Window and type the following...
  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install python3-picamera
After setting up your Raspberry pi. Move to the Wiring of sensor and Pi.

Wiring Method 

         Connect the Sensor LED and the R-pi with the help of Hookups and protoboard as shown. 

Circuit Schematic

            After finishing the wiring. This body has to be soul with the help of python programming. The soul helps the body to work perfectly.

Being Soul the Body
         
              Python is an most effective and reusable programming which is having an advanced features than other languages.

Python (Editor & Execution Window)

            I make it easy for you. Just copy and paste the code in Editor window form here. Run the code to test it with the help of F5 key.

Remote Access
       
           Here is the best part of the project. The remote access of the system. You could access and run your program from PC, Smart phone or Tablet. All you need to do is connect your R-pi and your control device (PC, Smartphone or Tablet) in a same network with the help of WiFi Adapter.

For Android : Mobile SSH

For PC         : PuTTY

For Window's phone : SSH

For iOS : SSH

          Download and Install the compatible app for your device and connect your device as the same IP of your R-pi.

Here I showed example for Android Devices.

                                                                    Check your R-pi IP address

R-pi Window

Android device connection Method

Steps to be followed

Login with your own user name and password. Once the connection is established successfully, we need to run the python program which is already located in the system. For that type


python yourfilename.py


Execution of Program

Hardware Output




Feel free to post your doubts and questions

Ping me @ Abu Taj

Sunday 27 March 2016

First Booting : Raspberry Pi

          Today, there are lot and lots of Development Boards are available in the home market. I picked the Raspberry Pi for several reasons.

Raspberry Pi

             Raspberry Pi (often called as R-pi) is the single board credit card sized computer with have a single System on Chip (SoC) board with the basic inbuilt computer features. It was developed by the Raspberry pi foundation in England.

R-pi 2 model B

          There are series of R-pi boards are available like(A/A+/B/B+/Zero/pi3) every new design overcomes the bugs in the older model.

       Now I'm going to show how to setup your first Raspberry pi and loading the boot window.

Hardware Required
Required Hardware 


Software Required
        NOOBS is an New Out Of the Box Software which is an easy installer for the Raspbian Operating System which is based on Debian to work with R-pi.

Hardware Installation
  • Plug the Micro SD card in the Micro SD slot. 
  • Connect your USB Keyboard and Mouse. 
  • Plug your monitor via HDMI Port. 
  • Power up your Pi with Micro USB port. 

Pi with External Hardware


Software Installation
                 
               There is an simple procedure is to follow to install the OS in the SD card.

  • Download and Install the SDFormatter from the above link and RUN it. 
  • Plug your Micro SD into your SD adapter and insert it in your PC. 
  • SDFormatter will show the Drive letter, Size and the label. Check and modify it. 
  • If everything is all set. Click Format. 

           After formatting your Micro SD card with your SDFormatter. Extract the NOOBS. After extracted open the NOOBS folder and copy the files and paste it in your SD card. If everything gone good. Insert your micro SD card into your R-pi. It will ask for the Installation of the Raspbian OS

Installation Window

In my case I'm already installed it. You can check the box and click install to install it. It will take 40 minutes (apporx) to complete the installation.

Wow.. You are almost done. After installation, The new Raspberry pi boot up window will appear with the hell lot of texts.

First boot of R-pi. 

      After completely booted. It'll login into the Default pi account. And the home window will appear like the below pic.


Pi Home 

                        Hooo.. Your Raspberry pi is booted up successfully.


Thank you

If you have any negative issue. Feel free to contact :Abu

Wednesday 17 February 2016

Arduino Chatting...

                   Networking is the one the most effective mode and medium of Intra communication Technique which is used to communicate the people connected into the Intranet. But chatting with your colleague is possible with using Arduino? Yeah. Of course possible. Today we are going to discuss about it.

Hardware Required...

  • Arduino mC.                                  x2
  • Hookups                                            x8

Required Hardware.

Software Required...



                       Arduino IDE is an Integrated Development software to edit, debug and run your Embedded C program. Download the latest version of the IDE from above link.

Working...
             I'm going to use the Technique of Master-Slave operation of HC-05 module. The master device is going to connect with slave device to share the data.

Move on to Wiring...
      Before moving on to Wiring the HC-05 and Arduino. We have to configure our BT-module as such meet the specification. The configuration of HC-05 is already been discussed. Check it out here.
       
           After entering your HC-05 into the AT commands. You have to perform such operations to setup the Master and the Slave device.


Wiring Shematic


Slave Setup
         
   After entering in to the AT Commands. Do the following step to setup the Slave device.


Slave Setup command
Master Setup
         
                   After entering into the AT commands. Do check the following AT commands to connect the slave with the master device. Note down the Slave devices address and connect it to the master device using the link command.


Master Setup Command.

                      After configuring your master and the slave devices. Disconnect all your wiring and reconnect it as shown. For both master and Slave devices..

Schematic for Both master and Slave


Getting connected..
             The continues blink show the device is ready to pair. The one second blink indicates that the master and the slave devices got connected to each other.

Paired Indication



Programming...
      
           Its almost simple. Just copy paste the code into your IDE and check the port and board's version and upload the program.

         And open your serial monitor. And type the message to send to connected device. And enjoy the chatting with Arduino.

Typing the message...
           
              Open your serial monitor and type the message you want to sent to the connected users.

Message sharing in Serial Monitor.


Thank you

If you feel any difficulties for forget to contact : abu786sagar@gmail.com

Find out the PDF of this article here.

If you like it. Raise your thumbs up :-)