In order to use our Yosnalab shopping services, you need to read carefully about our terms and conditions. If You disagree any part of terms then you cannot access our service.
I agree to pay the rental rate for the period we used the product and in transit and further agrees to promptly return the products at the end of the rental period in the same condition as received.
I will give alert to Yosnalab if my contact information changes.
I also agree to pay for any damages to, or loss of, the rented merchandise occurring during their time of possession or because of loss and or damage of the products. Upon return and inspection if any and all repairs necessary and or accessories missing that were itemized will be charged at our current rates and billed to you.
A full day rental is charged, even for a partial day use. There are absolutely no refunds for early returns.
The products can be used upto 4 weeks only, Cost will be calculated as per day of usage. We are not responsible for the damage of materials or other liability of any kind resulting from the use or malfunction of the equipment. We will not return the initial deposit of money until the product is returned back.
I am responsible for keeping track of my due dates. I understand that any notices sent out by Yosnalab are a courtesy only and failure to receive them does not excuse me from any charges.
A copy of both sides of their valid institution identification card need to be present. Depositing the money can be done only in the form of cash, not through credit/debit cards.
If you have questions or suggestions, please contact us.
By utilizing python's micro framework, Flask, we can create reliable and efficient web application and can also take control of any devices remotely. This project demonstrates how to build a web application which controlls the GPIO's (Generall purpose input & output) pins of raspberry pi or zero drone.
Flask is called a micro framework php because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide standard functions. However, Flask supports extensions that can add application features as if they were implemented in Flask itself.
Why: Problem statement
When it comes to remote access of devices most programmers and engineers often find difficult to control it. The connections which were made on raspberry pi or zero drone sometimes become laggy and dont deliver the output that we are expecting. Even a single line of wrong code can make a drastic negative impact on hardware which then causes failure.
How: Solution description
Here I used the python micro-framework tool Flask to overcome the above-mentioned problem. I created a web application using simple HTML and CSS & made to work with the python script using Flask. NOTE: In this project Raspberry pi or zero drone act as a webserver.
The first step to the project is to install the Flask and RPi Web server.
Go to the terminal by pressing ctrl + shift + t. and then make a directory RPi web server by typing "mkdir RPi webserver" (without strings).
The above block diagram shows what we accomplish in the end.
The first thing to do is to install flask on your Raspberry pi. Go to Terminal and enter. "sudo apt-get install python3-flask"
Navigate to RPi web server directory. " cd /home/Desktop/RPi webserver"
Also, make two new directories for reference namely, "static" and "Template". mkdir static && mkdir templates.
The final folder tree looks like.
The python web server application:
Now we create python web server application
from flask import Flask
app = Flask (__name__) #name of the index file
return Hello world
if __name__ == __main__:
app.run(debug = True, Port = 80, host = 0.0.0.0)
Running the application:
Go to the terminal and type "ifconfig"
Under inet, there will be ip address similar to this "192.168.0.12"
Now go to the web browser and type the exact ip.
Our web page with gpio controll loads into the screen.
Control led by turning on/off on the web interface.
How is it different from competition
The existing system uses python socket programming while I have used Python micro framework flask.
This project controls GPIO's of raspberry pi or zero drone over the internet. Turns on/off LEDs, control motor driver, remotely monitor sensors and feedback the values, etc.
Wrapping the source code as and single standalone application has been a major part of this project.
Who are your customers
Programmers who are interested in socket programming.
Software engineers & Product developers.
Electronics hobbyist & DIY makers.
Students and Innovators.
Project Phases and Schedule
Phase 1: UI design using HTML and CSS.
Phase 2: Python script using flask libraries.
Phase 3: Raspberry pi or zero drone GPIO connections.