Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

Python web server in Raspberry Pi

There are many ways of serving web pages from Raspberry Pi. One of the ways is to install Apache webserver software. This is still a standard solution for most of the purposes. These things require quite some performance, and this is not always an optimal choice. If you need a simple web server for your home project that would efficiently work with GPIO you could try a Python web server. Are you interested to learn the most trending programming language ‘Python’? Then Intellipaat ‘Python Online Training‘ is for you. Python web server relies on flask – an extension that provides web microframework. It allows building and rendering webpages with few lines of code. Sankar has written a short tutorial on how to start with a simple static webpage from Raspberry… Continue reading

Setting up WEB server on Raspberry Pi

Raspberry Pi is a Linux machine, so it meant to be web accessible. One thing is to connect to internet from it and another is to run web server on it. Depending on what WWW features you want there are many options to do so. But probably most common way of serving websites is with PHP and MySQL. To get all of this working, there are several preparations required on Raspberry Pi. Drcurzon have shared his experience on instructable. He thought that Raspberry Pi is low power device, so it can be turned on all time and serve as small webserver for non heavy loads. After initial RasPi setup he installed all component including Apache with PHP then MySQL and FTP for easy access and update web contents. phpMyAdmin for… Continue reading

Controlling lamp over Internet using Raspberry Pi

Raspberry is a great small computer that allows us easy control and internet access with just few lines of code. Jack wrote a pretty simple project where he switches objects from anywhere in the world. For his implementation he uses a remotely controlled outlet where his lamp is plugged. So he hooks Raspberry Pi to remote control by using standard 2N2222A transistors as switches. The rest is done within Raspberry Pi software. First of all he made a simple web template for turning ON and OFF. Then he set a web-server using Flask – a web development framework based on Python. It turned out pretty simple and effective solution. He set control page as home page on his Android device so he could instantly access and turn ON and OFF… Continue reading

A web server for every cat!

pipurr

Cats love when you take care of them. It is better not to forget feeding time. Another question is what cats do when we are not home? Tris found this interesting topic and so he started a PiPurr project. This is a Raspberry Pi based webserver which allows taking care of cat when you are away. Even more it gives a visual feedback of what’s going on around. Python based webserver gives access to webcam. You can capture a picture at any time and see on your screen. This is achieved using OpenCV. Also it is possible to play sounds remotely. This gives cat some attention. And lastly treat. Cats love treats. So there is a stepper motor controlled treat dispenser. Tris developed a special Android client app which allows… Continue reading