As part of project integration management knowledge area and processes tutorial we have see that the process have 7 processes as listed below and Perform integrated change control is one of the processes.

  • Develop project charter
  • Develop project management plan
  • Direct and manage project work
  • Manage project knowledge
  • Monitor and control project work
  • Perform integrated change control
  • Close project or phase


In this tutorial we will look deeper in to integrated change management, the importance of integrated change control and what are the main objectives of integrated change control?. Before we start lets understand what is change management.

What is Change Management?

What is a change ? A change is an act or process through which something becomes different, in IT terminology any change in infrastructure, software, processes, etc . Change is inevitable and companies, projects, programs undergo changes.

Change management is the system approach in dealing the changes using the tools and techniques for efficient and prompt handing of change requests in the IT infrastructure. This is the minimize the impact of the change on organizational goals, deliverable, service.Change management can ensure standardized methods, processes and procedures which are used for all changes, facilitate efficient and prompt handling of all changes, and maintain the proper balance between the need for change and the potential detrimental impact of changes.

Change Management

What is Integrated Change Management?

Integrated Change Management is to achieve the desired target state by integration of the organizational and individual change processes. What is integrated change control? Perform Integrated Change Control is the processes in Project integration knowledge area and it is the is the process of reviewing all change requests, approving changes and managing changes to deliverable s, organizational process assets, project documents,  project management plan and communicating the decisions to stakeholders. Project change management process reviews all change requests , evaluate the risks associated and determines the resolution of the change request.

Perform integrated change management is conducted from start of the project and Project Manager is complete responsible for it. Change requests can impact the scope, project management plan, project documents etc. Changes are required to formally controlled after the baselines are defined.

Change Control vs Change Management?

We cannot differentiate much on change management and change control. We could say Change Control is a subset of the Change Management process. As per ITIL Change Management aims to control the lifecycle of all Changes. Refer the below figure for understanding process overview of ITIL Change Management .

Change Control Board Process Flow

Change control is an important and it effectively emphasize assessing the business impact and ramifications of a change and the communication and coordination activities involved in evaluating, approving and implementing a change.Change control is all about critically evaluating each suggested change to ensure that it is the right thing to do.

Any proposed change must be approved in the change management process. While change management makes the process happen, the decision authority is the Change Advisory Board (CAB), which generally is composed of people from other functions within the organization. The main activities of the change management are:

  • Create Change Requests
  • Managing changes and the change process
  • Approval from CAB and the CAB/Emergency committee
  • Reviewing and closing of Requests for Change (RFCs) post implementation.
  • Reporting and communicating information to stakeholders.

Perform Integrated Change Control Inputs:

Change requests and Project management plan is one of the major inputs for this process. Below are the inputs listed.


a)Project Management Plan. The sub documents in PP are

  • Change management plan
  • Configuration management plan
  • Scope baseline
  • Schedule baseline
  • Cost baseline

b) Change Requests - Change requests can be updates, changes to deliverable, corrective actions, preventive action, defect repairs, new scope etc.

c)Project Documents - like estimates, traceability matrix. risk report etc.

d)Work performance reports - this include schedule, cost data, earned value reports etc. 

Perform Integrated Change Control Outputs:

The main output of this process is approved change requests. The change requests are approved by CCB or change control board. Below are the outputs listed.

  • Approved Change Requests
  • Project Management Plan Updates
  • Project Document Updates.

This tutorial gives you what examples are inputs to the perform integrated change control process and respective outputs of the process. Also you should be able to relate your change process in your company to standard process.


We have seen few IoT projects in my previous tutorials like Lighting LED with Raspberry PiHome Security email alert using Raspberry PiSecurity System Using Raspberry Pi With Motion Detection Camera in which we have not yet used any AC devices. We have controlled DC devices in the home automation projects. I would like to share home automation's for AC devices in my coming tutorials, however before that I would like to introduce you to the device 5 Volt Relay Module which is an necessary part to control AC device as Raspberry Pi  cannot control high voltage . In this section we will understand how to control Relay switch via GPIO, which is the first step of interface a Relay with Raspberry Pi and see how to setup a 5V Relay with the Raspberry Pi.

What is a Relay?

A relay is an electrically operated switch.Relays control one electrical circuit by opening and closing contacts in another circuit.Many relays use an electromagnet to mechanically operate a switch, but other operating principles are also used, such as solid-state relays.Relays are used where it is necessary to control a circuit by a separate low-power signal where the output is a high voltage, or where several circuits must be controlled by one signal.In our IoT home automation projects using Raspberry Pi it can control ow voltage devices of 3.3 V, however when we speak about 220 V of AC Raspberry Pi cannot handle it. So we uses a Relay switch which have Normally Open (NO) and Normally Closed (NC) Pins which is controlled by low voltage. Refer the below diagram to understand Raspberry Pi Relay Control.

1) Normally Open (NO) : The circuit is disconnected when the relay is inactive.

2) Normally Closed (NC) : The circuit is connected when the relay is inactive.

Relay

The relay switch is utilized by means of a low-voltage to control the AC connected in NO or NC pins. Since the Pi only tolerates a maximum of 5V and the GPIOs only 3.3V without relays the Pi could burn out if you use direct connections to GPIO pins. We will not controlling ac with raspberry pi in this relay raspberry pi tutorial tutorial however we will be controlling led with relay and raspberry pi.

How to use a relay with a Raspberry Pi:

This will be the base for your home automation using relay and raspberry pi, as part of home automation's you may want to control an electrical load like a light bulb or a ceiling fan or a water pump etc. Once you know the control of Relay we will implement the same in the upcoming projects.

The components needed:

  1. Raspberry Pi
  2. 5V Relay Module
  3. LED
  4. Connecting wires
  5. Power supply for Pi
  6. Bread Board
  7. Resistor -220 ohm

Connection:

The connections is pretty simple refer the below simple Relay circuit. Connect the VCC of the Relay to GPIO Pin 2 and Relay GND to GPIO 39 which is GND in Pi. Connect the Raspberry Pi GPIO Pin 19 to Relay IN pin which will control the NO and NC connection of Relay .

Connect the 5 V from GPIO Pin 2 to the Normally Open connector in Relay and connect the Common port in Relay to the LED Anode. Connect the 220 Ohm resistor from cathode and other end of the resistor to the GND.



Lets write a simple script to bring the GPIO PIN 19 to high and low so that Relay will get activated when the voltage is high.

Raspberry pi relay python script:

import time

import RPi.GPIO as GPIO

GPIO.setmode(GPIO.BCM)
GPIO.setup(19, GPIO.OUT)
GPIO.output(19, GPIO.HIGH)

time.sleep(1)
GPIO.output(19, GPIO.LOW)

time.sleep(1)

GPIO.output(19, GPIO.HIGH)

time.sleep(1)
GPIO.cleanup()


I have used Raspberry Pi for most of my IoT projects. Both arduino and raspberry pi is used for Home automations and IoT projects, I got of lot of queries on why not using Arduino boards. In this post I would like to cover difference between Arduino and Raspberry Pi, what differentiate between Arduino and Raspberry Pi.

Arduino and Raspberry Pi are the most popular IoT devices among the students, professionals and IoT project DIY peoples.Are you confused between them, like which board is easy to learn or which board to use for what projects or why should they use Arduino over Raspberry Pi? when to use Arduino vs Raspberry Pi?.In this article we will discusses all the features that can make you easy to choose the decision over Arduino and Raspberry Pi, Arduino vs Raspberry Pi which is better for your projects.

What is Arduino?

An Arduino is a simple micro-controller board which is capable of running a simple program to accomplish a desired function. Arduino runs on "bare metal". That it runs its software without an operating system.The Arduino boards are micro-controllers, not a full-fledged computer. simply write the code and execute as their firmware interprets it.

Arduino is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs - light on a sensor, a finger on a button, or a Twitter message - and turn it into an output - activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board.

Arduino Uno

Arduino was born at the Ivrea Interaction Design Institute as an easy tool for fast prototyping, aimed at students without a background in electronics and programming. As soon as it reached a wider community, the Arduino board started changing to adapt to new needs and challenges, differentiating its offer from simple 8-bit boards to products for IoT applications, wearable, 3D printing, and embedded environments. All Arduino boards are completely open-source, empowering users to build them independently and eventually adapt them to their particular needs. The software, too, is open-source, and it is growing through the contributions of users worldwide.The Arduino Software (IDE) allows you to write programs and upload them to your board.

Find the step-by-step instructions to Install the Arduino Desktop IDE select one of the following link accordingly to your operating system.

What is a Raspberry Pi?

The Raspberry Pi is a small computer that can do lots of things. You plug it into a monitor and attach a keyboard and mouse. Raspberry Pi is the third best-selling computer brand in the world. The Raspberry Pi is a credit card–sized computer that plugs into your TV or display, and a keyboard and mouse. You can use it to learn coding and to build electronics projects, and for many of the things that your desktop PC does, like spreadsheets, word processing, browsing the internet, and playing games. It also plays high-definition video. The Raspberry Pi is being used by adults and children all over the world to learn programming and digital making. You can learn how to set up and use your Raspberry Pi here.

Raspberry Pi 3 Model B+

Pi 3

 

Where can I buy a Raspberry Pi, and how much does it cost?

The following are the prices list.

Product Price
Raspberry Pi Model A+ $20
Raspberry Pi Model B+ $25
Raspberry Pi 2 Model B $35
Raspberry Pi 3 Model B $35
Raspberry Pi 3 Model B+ $35
Raspberry Pi Zero $5
Raspberry Pi Zero W $10
Raspberry Pi Zero WH $15

 

You get the Raspberry Pi board itself. The official power supply and an SD card are not included, but they can be purchased at the same time from most places that sell the Raspberry Pi. You can also purchase pre-loaded SD cards.

Why Arduino and key features of Arduino ?

There are many other microcontrollers and microcontroller platforms available for physical computing. Arduino also simplifies the process of working with microcontrollers,  it also offers some advantage for teachers, students, and interested amateurs over other systems. Below are advantages of Arduino.

  • Cheap and less cost - Arduino boards are relatively inexpensive compared to other microcontroller platforms
  • Cross-platform - The Arduino Software (IDE) runs on Windows, Macintosh OSX, and Linux operating systems.
  • Simple, clear programming environment - The Arduino Software (IDE) is easy-to-use for beginners, yet flexible enough for advanced users to take advantage of as well.
  • Open source and extensible software - The Arduino software is published as open source tools, available for extension by experienced programmers.
  • Open source and extensible hardware - The plans of the Arduino boards are published under a Creative Commons license, so experienced circuit designers can make their own version of the module, extending it and improving it.

Why Raspberry Pi and Advantages of Raspberry Pi:

  • Easy to connect to the internet - Comes with inbuilt WiFi adapter.
  • Runs on Linux operating system - Fully installed operating system in Pi.
  • Can be programmed using a variety of programming languages - Can create own program to run on Python and other languages.

When to Use & Not Use Arduino and Raspberry Pi:

Choosing which IoT board completely depends on the type of project you want to make, and your experience in programming. If you have no experience in programming or electronics, you will find the Arduino easier to learn than the Raspberry Pi.

If you want to make a hardware project, then the Arduino is the best choice,If the project requires you to interact with a lot of external hardware, sensors, analog devices, then you should consider using Arduino.

If the project requires a lot to write a complex software code and complex requirements, then Arduino may not be the best options.


I hope you got a good understanding on arduino vs raspberry pi for IoT and you can also refer some of the discussion in raspberry pi vs arduino quora for more details.


You want to host a website and don't want to spend much money. Yes it is possible, setup a web server with raspberry pi using word press to create a website for free. We have seen Setting up an Apache Web Server on a Raspberry Pi in the tutorial Raspberry Pi as Web Server . We will be extending it to add wordpress on raspberry pi and how to create a website for free.

How to create a wordpress website for beginners:

We will be learning how to create a website using wordpress and below are the step need to be followed to set up a LAMP Linux, Apache, MySQL, PHP stack on your Raspberry Pi and configure it to work as a web server.

Step 1: Set Up Apache Web Server
Step 2: Install PHP on Raspberry Pi.
Step 3: Install MySQL on Raspberry Pi.
Step 4: Download WordPress on Raspberry Pi.
Step 5: Configure MySQL and setup wordpress database.
Step 6: Configure WordPress

Components Required:

  1. Raspberry Pi ( Zero or model B+)
  2. A Micro USB Power supply
  3. Micro SD Card ( Recommended 8 GB)
  4. TV or Computer Monitor ( it is possible to setup raspberry pi without monitor , for now we will connect the pi to monitor)
  5. HDMI cable
  6. Ethernet Cable ( If don't have wireless)
  7. Keyboard and Mouse

I would recommend Raspberry Pi 3 model B+, which is the latest Pi available in market & this is having good specifications as listed below for good raspberry pi web server performance.

First need to install raspbian operating system on raspberry pi and have it ready to install the web server.

Follow the tutorial Setup Raspberry Pi 3 for the details. Now lets work on how to setup Webserver on Raspberry Pi.

Apache is a popular web server application you can install on the Raspberry Pi to allow it to serve web pages.

On its own, Apache can serve HTML files over HTTP, and with additional modules can serve dynamic web pages using scripting languages such as PHP.

How to create a wordpress website with raspberry pi:

Step 1: Install apache on raspberry pi

First, update the available packages by typing the following command into the Terminal:

sudo apt-get update

sudo apt-get upgrade

Next install apache2 package with this command

sudo apt-get install apache2 -y

By default, Apache creates a test HTML file in the web folder /var/www/html/index.html. To test the web server enter http://localhost/  or the ip address of pi  eg: http://192.168.1.xx in the web browser.  You can run the ip address of pi  eg: http://192.168.1.xx from another computer on the network.

The default web page either on the Pi or from another computer on the network when you browse to http://localhost/ or ip address of pi  eg: http://192.168.1.xx  will be as below.

This means you have apache working! and your web server is ready.

You will also be able to open this web page from any other computer on your network using the IP address of your Raspberry Pi, e.g. http://192.168.x.xx.

To find out your Raspberry Pi’s IP address, type hostname -I into the terminal window. Your Raspberry Pi’s IP address is a really useful and will allow you to remotely access it.

Lets try to change the default web-page now we received to some content we would like to show in the web page.

The default web page HTML file is located at /var/www/html/.Navigate to this directory in a terminal window and have a look at what's inside

cd /var/www/html
ls -al

This will show you:

total 12

drwxr-xr-2 root root 4096 Jan 8 01:29 .


drwxr-xr-12 root root 4096 Jan 8 01:28 ..


-rw-r--r-- 1 root root 177 Jan 8 01:29 index.html

The default HTML file is called index.html and it is owned by the root user. In order to edit the file, you need to change its ownership to your own username using the below command.

sudo chown pi: index.html.

Pi is the default username. change it with your own if you have setup different user name.

You can edit this file using leafpad and make the changes in html page.

sudo leafpad index.html

If you make a change to the file, save it, and refresh the browser, you will see your change appear.

Step 2: Install PHP

Install the PHP package with the following command

sudo apt-get install php libapache2-mod-php -y

Test php by removing index.html located at /var/www/html/and creating a php file.

sudo rm index.html

sudo leafpad index.php

Add some php content on the index.php file and save it.

<?php echo "hello world"; ?>

Now save and refresh your browser. You should see "hello world".

If you dont see “hello world”, reload and restart Apache like so:

sudo service apache2 restart

Step 3: Install MySQL

MySQL is a popular database engine. we will Install the MySQL Server and PHP-MySQL packages by entering the following commands.

sudo apt-get install mysql-server php-mysql -y

Now restart Apache:

sudo service apache2 restart

Step 4: Download and install WordPress on Raspberry Pi

You can download WordPress from wordpress.org using the wget command. The latest version of WordPress is always available at wordpress.org/latest.tar.gz

Change directory to /var/www/html/ and delete all the files in the folder.
cd /var/www/html/
sudo rm *

Download WordPress

sudo wget http://wordpress.org/latest.tar.gz

Download WordPress

Extract the WordPress .tar file to get at the WordPress files.

sudo tar xzf latest.tar.gz

Move the contents of the extracted wordpress directory to the current directory.

sudo mv wordpress/* .

Running the ls command now will show you the contents of a WordPress .This is the source of a default WordPress installation.

Now change the ownership of all these files to the Apache user.

sudo chown -R www-data: .

Step 5: Configure MySQL and setup wordpress database.

To get your wordPress site set up, you need a database, we are using Mysql/MariaDB for this.

Run the MySQL secure installation command.

sudo mysql_secure_installation

You will be asked Enter current password for root (enter for none): — press Enter.

Type in Y and press Enter to Set root password?.

Type in a password at the New password: prompt, and press EnterImportant:remember this root password, as you will need it later to set up WordPress.

Type in Y to Remove anonymous users.

Type in Y to Disallow root login remotely.

Type in Y to Remove test database and access to it.

Type in Y to Reload privilege tables now.

When complete, you will see the message All done! and Thanks for using MariaDB!.

Create the WordPress database

Run mysql using below command:

sudo mysql -uroot -p

Enter the root password you created.

You will be greeted by the message Welcome to the MariaDB monitor.

Create the database for your WordPress installation at the MariaDB [(none)]> prompt using:

create database wordpress;

Note the semi-colon ending the statement.

If this has been successful, you should see this:

Query OK, 1 row affected (0.00 sec)

create database

Now grant database privileges to the root user. Note: you will need to enter your own password after IDENTIFIED BY.

GRANT ALL PRIVILEGES ON wordpress.* TO 'root'@'localhost' IDENTIFIED BY 'YOURPASSWORD';

For the changes to take effect, you need to flush the database privileges:

FLUSH PRIVILEGES;

Exit the MariaDB prompt with Ctrl + D.

Reference: https://projects.raspberrypi.org/en/projects/lamp-web-server-with-wordpress/7

Step 6: Configure WordPress

We have downloaded word press and will see how to install wordpress on raspberry pi and configure now.  Open the web browser on your Pi and goto http://localhost, you should see a WordPress page asking to pick your language.

WordPress select language

Select your language and click Continue.

Next the WordPress welcome screen will be displayed.

WordPress welcome screen

Click on the Let’s go! button and fill out the basic site information as follows:

Database Name:      wordpress
User Name:          root
Password:           <YOUR PASSWORD>
Database Host:      localhost
Table Prefix:       wp_

Click Submit to proceed and Click the Run the install button.

WordPress Welcome screen

Fill out the information: give your site a title, create a username and password, and enter your email address. Hit the Install WordPress button, then log in using the account you just created.

Now you have completed the site set up, you can see the website by visiting  http://localhost/wp-admin


Thanks for the wonderful and easy documentation from https://projects.raspberrypi.org/en/projects/lamp-web-server-with-wordpress.

As part of this tutorial you have seen how to host wordpress site on raspberry pi and I am sure you can just do it yourself now easy and quickly. Host your website, add pages, posts, try out new themes. As of now this website wi be accessible with in your home network however we can make if accessible using pubic IP of your network . We wi do it in the next tutorial.

What is a Project Charter ?

A Project Charter is a document that describes the purpose of a project and its scope, it legally authorizes the beginning of the project.It provides a preliminary delineation of roles and responsibilities, outlines the project objectives, identifies the main stakeholders, and defines the authority of the project manager. It serves as a reference of authority for the future of the project.

A project charter includes:

  • The essence of the project.
  • Provide a shared understanding of the project.
  • Act as a legal agreement between the project sponsor, key stakeholders and the project team to start the project.

The purpose of the project charter is to document:

  • Reasons for undertaking the project
  • Objectives and constraints of the project
  • Directions concerning the solution
  • Identifies the main stakeholders
  • In-scope and out-of-scope items
  • High level Risks identified
  • Target project benefits
  • High level budget and spending authority

Who creates the Project Charter or Who signs the Project Charter?

The project charter is a document that officially starts a project or a phase. It formally authorizes the existence of the project and provides a reference source for the future.It explain the business need that lead to the project being taken up.The project charter is signed by the sponsor.The charter is usually created by the sponsor or the initiator along with the project management team, however the task can be delegated to project manager.

Project Charter vs Contract

Many people do not understand the importance of a Project Charter. They believe that Project Charter does not serve any specific purpose.They do not realize Project Charter and Contract serve different purposes. They believe when contract is available project charter is not needed.

A Project charter recognizes & authorizes the project within an organization and  authorizes the start of the project whereas a Contract is a legally binding agreement between two different organizations (the Buyer and the Seller). A document issued by the Project Sponsor to the Project Manager that formally authorizes the existence of a project and provides the authority to the Project Manager to use organizational resources for the completing the project.

The Project charter is issued by the Project Sponsor whereas the Contract is negotiated & signed by the the buyer and the seller.Project charter gives the commitment from the Sponsor and other stakeholders to provide support to the project team.

Project Charter vs Statement of Work

We have seen the different between project charter (PC) and contract, lets talk about project charter vs sow.

To reiterate project charter formally authorizes the existence of a project and provides the authority to the Project Manager to use organizational resources for the completing the project.This is mainly used for internal project management.

Statement of work is a part of project charter, however in project charter it will be very short and crisp as at the time of initiation of project you may not have the detailed information of scope.The primary function of the SOW is to specify the deliverable or deliverable's that a vendor or internal department is responsible for. It must also specify timelines and define reporting responsibilities.

The SOW begins with the Scope Statement that describes the complete requirement of  project and goes on to provide detailed information on the deliverables.The sow will consist of scope of work, deliverables, due date, task responsibility, acceptance criteria, milestones etc. The SOW will describe the project manager, clients and stakeholders how the work will be tackled.

SOW is a part of panning process group, where as project charter is done in the initiating process group.

Project Charter Elements/What Is Included in the Project Charter?

The project charter includes fundamental information used to authorize and establish the basis for a project. We can say a simple project charter includes the below contents. These are required in a project charter template.

  • Project Title
  • Project Description
  • Business Case
  • Project Manager Assigned and Authority Level
  • Stakeholders
  • Resources Assigned
  • Deliverables
  • High Level Project Risks
  • Signature and Approval

Refer the project charter sample from below..

Project charter template word download or project charter template free download from here Project Charter.

 


We have spoken about Cayenne, Blynk and other open source IoT platforms in other tutorials. We saw in the tutorial how to setup cayenne app builder with raspberry pi. In this tutorial we will work on Blynk setup with raspberry pi.

Blynk was designed for the Internet of Things. It can control hardware remotely, it can display sensor data, it can store data, visualize it and do many other cool things.

There are three major components in the platform:

  • Blynk App - allows to you create amazing interfaces for your projects using various widgets we provide.
  • Blynk Server - responsible for all the communications between the smartphone and hardware. You can use our Blynk Cloud or run your private Blynk server locally. It’s open-source, could easily handle thousands of devices and can even be launched on a Raspberry Pi.
  • Blynk Libraries - for all the popular hardware platforms - enable communication with the server and process all the incoming and out coming commands.

Blynk IoT Platform

 

Blynk can work with Arduino, Raspberry Pi, or a similar development kit. Blynk works through internet, the hardware you choose should be able to connect to the internet through ethernet of wifi. The Blynk App works through smart phone , It works on both iOS and Android,.

Blynk works with any model of Raspberry Pi over WiFi / Ethernet. Blynk doesn't support Bluetooth connection to pi.

How to install Blynk on Raspberry Pi:

For connecting blynk to raspberry pi, first we need to install blynk libraries in raspberry pi and also need to use use Node.JS or C++ for writing apps. For install blynk libraries on raspberry pi you need to install the required components git core and wiringPi. Follow the below commands to setup blynk raspberry pi server.

Make sure your Pi is up to date with the latest versions of Raspbian

sudo apt-get update

If you do not have GIT installed, you can install it with

sudo apt-get install git-core

Install WiringPi using GIT

git clone git://git.drogon.net/wiringPi

switch to wiringPi and run the buid.

cd wiringPi

./build

To install blynk globally run the below commands:

git clone https://github.com/blynkkk/blynk-library.git

cd blynk-library/linux

make clean all target=raspberry

Now you have blynk library for raspberry pi installed . To start working with blynk and raspberry pi we need to install blynk app on smart phone.

Another way is using Node.js and Blynk Installation

Check if Node.js is installed,

Run the command in terminal on your board

node --version
or
nodejs --version

If you get the version then Node.Js is installed.
If not you can insta Node.Js using the below commands.

Add repositories:

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -

Install Node.js:

sudo apt-get update && sudo apt-get upgrade
sudo apt-get install build-essential nodejs -y

Install Blynk globally

sudo npm install -g npm
sudo npm install -g onoff
sudo npm install -g blynk-library

How to connect Raspberry Pi and Blynk:

Download blynk app and create an account by entering email address password and click on sign up..


Blynk application can be found from the following links -

1. Android Blynk App

2. IOS Blynk App

Click the “Create New Project” in the app to create a new Blynk app. Give a name and select device Raspberry Pi and connection type WiFi ( if pi is connected through WiFi), click create .

The Auth token will be assigned and this can be send to the email. The Auth token will be used for connecting from raspberry pi to the new project widget.

Open the blank project and add widgets. Lets add a button for led.From the widget box select button and give the name as LED. Select the pins ad digital pins and the pin number in Raspberry pi to which the led is connected.

 

You have the widget ready now.

Connect the raspberry pi to the blynk widget running the Auth token command.

blynk-client "your auth token"

This should print out something like below.

Connecting to SSL: cloud.blynk.cc 8441
Connected, authorized
Blynk ready.

Raspberry pi is connected with your blynk raspberry pi projects. Click the “Run” button in the top right corner of the Blynk app and press the button on Blynk app and watch the LED.You can add more widget to the project.