Browse Author: dayz

Hey welcome to my lab!My name is Kamil and I do a lot of repetitive things when it comes to my projects. I decided to make a blog about the things I do, so that I can find the things I do constantly easier. Since this is on the web you all will be able to benefit from this and learn news things as I learn them.The site will focus on arduino and raspberry pi tutorials as well as some basic hacking and programming. Thanks for visiting!

How to Setup a Raspberry Pi SFTP Server

SFTP stands for SSH File Transfer Protocol and is a secure way of remotely transferring files between 2 computers. It is a more preferred way of transferring files over the standard FTP protocol because it uses a secure connection meaning all your data is encrypted. FTP is an insecure way of transferring files and can easily be monitored over your network to intercept and see what files are being transferred, like secure bank information.

SFTP runs on port 22, the same standard port as a regular SSH connection, and FTP runs on port 21. It is advised that you change your SSH Port to improve security on your network. You can also port forward port 22 on your router to allow access to your Raspberry Pi server over SFTP from anywhere outside your network, but make sure you change your SSH port if you will be doing this to reduce the amount of attempted hacks on your Raspberry Pi SFTP server.

Today I will be showing you how to setup a Raspberry Pi SFTP server so that you can easily access files on your Raspberry Pi. This can be very useful if you are using your Raspberry Pi as a Network Attached Storage device or simply as a web server. Transferring files over SFTP will allow you to quickly download or upload multiple files with no issues and make changes to your web server on the go.

Objective

To setup our Raspberry Pi as a SFTP Server

Material

You will need the following:

Instructions

Setting up your Raspberry Pi SFTP is very easy and all we need to do is basically enable the SSH server on our Raspberry Pi because our SFTP server will be transferring files over SSH. Open a new terminal window on Raspbian desktop and type the following command to open the Raspberry Pi config tool. Continue Reading

How to Build a Raspberry Pi Security Surveillance Camera with MotionEye

Turning your Raspberry Pi into a security surveillance camera is a cheap alternative to setting up a security system in your house or office. The Raspberry Pi 3 is more then powerful to capture video with the Official Raspberry Pi camera. Today we will be installing MotionEye on our Raspberry Pi to turn it into a security camera. We will be able to view live video in our browser as well as auto record videos when motion is detected. This is great for saving precious space on our microSD card and only keeping the videos we need. We can also save the videos and delete them after a set amount of time. Setting up a Raspberry Pi security camera with MotionEye is very easy and works right out of the box with the default settings.

We will also be able to setup a network of security cameras with multiple Raspberry Pi’s and monitor all of camera over one interface. If cost and space is an issue it is possible to upload all our videos to your Dropbox or Google Drive account for easy access anywhere. This is a great low cost solution to building a security system in your house and you can also use it as an outdoor system as well to monitor your front door. There are a ton of Raspberry Pi compatible cameras you can use for the Raspberry Pi security camera and the choice is your’s depending on your needs. You can use the official Raspberry Pi camera that plugs into the camera port or you can use an old webcam that you have laying around and plug it into the USB port.

Objective

To build a Raspberry Pi security surveillance camera system that is run and controlled over your own network

Material

You will need the following:

Instructions

Let’s get started. We will first need to install our camera onto the Raspberry Pi by plugging it into the camera port. I am using the official NOIR Raspberry Pi camera in this tutorial, however you can use whatever camera is compatible with the Raspberry Pi. Plug your camera’s ribbon cable into the camera ribbon slot on the Raspberry Pi board, the camera ribbon port is the one located behind the Ethernet port. You your fingers to pull up on both sides of the connector to open it up and insert the ribbon cable with the metal leads facing away from the Ethernet port. Once the ribbon cable is seated all the way inside the connector you can push down on the connector to lock the camera’s ribbon cable in place. It is important that the metal leads face away from the Ethernet port or your camera may not work or even worse it can be shorted. Continue Reading

5 Best Raspberry Pi Zero Cases

If you are one of the lucky ones to get your hands on a Raspberry Pi Zero then you will mostly likely need a case for your Pi Zero to protect it from getting damaged, you know it will be a pain trying to get another Raspberry Pi Zero with how quick they are to come by, especially at the $5 price tag. I have compiled a list of the best Raspberry Pi Zero cases that will protect your investment and give your new Raspberry Pi Zero some sweet style. The list I have compiled is not in any particular order and the cases themselves are all top quality builds so let’s get started

1. SB Raspberry Pi Zero Case

SB Raspberry Pi Zero Case

This is just your standard plastic black Raspberry Pi Zero case. The issue right off the bat is that this case will not fit the latest Raspberry Pi Zero 1.3 which has the camera connector. You can modify the lower part of this case to fit the connector however if you have one of the original Raspberry Pi Zero’s then this case will work for you. It features a three-piece injection molded ABS to create a tight fitting case.

A great feature of this case if that the GPIO cover can be removed and you can have the case open or closed depending on if your Zero is getting overheated, which it really shouldn’t. The case does allow easy access to the GPIO pins if you do use them so have the removable cover is a plus. The case is also wall mountable which is great if you are using your Raspberry Pi Zero as a server or storage device and you can hang it up behind your TV.

There really isn’t anything bad or good to say about this case other then it is a plain basic black plastic case. If you have no style or don’t care about the look of your Zero because it will be tucked away in the corner or out of view then I would definitely check this case out.

Click here for more information about the SB Raspberry Pi Zero Case

2. Black Ice Raspberry Pi Zero Case

Black Ice Raspberry Pi Zero Case

Now this is a transparent Raspberry Pi Zero case with style. It is a sandwich designed which means that your Raspberry Pi will be sandwiched between two pieces of high quality acrylic. This case will fit the newest Raspberry Pi Zero 1.3 and will give you easy access to the camera connector if you do decide to connect a camera to your Pi. Its a sleek compact design that really makes your Raspberry Pi look modern and slick.

This case comes with the GPIO cutout if you plan on using them. The cutout gives you more then enough room for you to access your GPIO with nothing in the way. The case itself doesn’t come with any instructions but it should be fairly easy to assemble with just a few screws and plastic washers to go in between your Raspberry Pi and the case. The Raspberry Pi fits perfectly in this little case and is very sturdy, the Pi doesn’t move around and the USB connectors are hidden by the case to protect your Pi in case it is dropped.

Overall this is a greatly quality case that is designed and built in the USA. It has a great simple design that makes your Raspberry Pi Zero look slim and elegant. If you are looking for a plain transparent Raspberry Pi Zero case then this is it.

Click here for more information about the Black Ice Raspberry Pi Zero Case

3. Wooden Raspberry Pi Zero Case

Wooden Raspberry Pi Zero Case

This Raspberry Pi Zero case is a made out of solid wood and gives your Pi a touch of class. It really makes the Pi look beautiful and elegant and makes you want to sip some Scotch as you assemble it. The wooden Raspberry Pi case will fit the newest Raspberry Pi Zero 1.3.  It is another one the classic sandwich cases and is easy to put together with just 4 screws on each corner. Even though this case fits the Raspberry Pi Zero 1.3, the camera connector sticks out slightly so keep that in mind.

The GPIO pins aren’t easy to access if you plan on using them, it is still possible but will require you talking the case apart for easier access. This case would be more practical if you plan on your your Zero as a media server or to install Kodi and use it to stream movies and shows. The Raspberry Pi Zero fits perfectly inside the case and will be protected with the wood surrounding it. The color of the case is stained and polished well and is very smooth to the touch.

This is a very elegant case and I definitely recommend it if you will not be using the GPIO pins. The quality of the case is very nice and feels high class and is worth the cost. This case will look really good on your entertainment system and will blend in or stick out looking classy. This Raspberry Pi Zero case is also made in the United States.

Click here for more information about the Wooden Raspberry Pi Zero Case

4. PiBow Raspberry Pi Zero Case

PiBow Raspberry Pi Zero Case

The PiBow case now comes to the Raspberry Pi Zero featuring 4 unique bright acrylic colors. Each individual piece is crafted from high quality acrylic and has a transparent top which allows you to see your Raspberry Pi Zero. The PiBow case for the Zero allows easy access to all the connections and the GPIO pins as well which is great if you intend on using the GPIO pins with this case. The case is also designed for the Raspberry Pi Zero 1.3 which will fit the camera connector and this case is not backwards compatible with the original Raspberry Pi Zero.

As stated earlier this case will allow you to access the GPIO pins with the case on but you will not be able to easily swap out the memory card once the case is assembled. The only way to access your memory card is to fully disassemble the case. This can become a neusense if you are backing up your SD card often but most of the time you can just leave the memory card inserted in your Raspberry Pi Zero with no issues and can backup your Zero remotely.

Overall this is a decent case to have especially if you have the other PiBow cases for your Raspberry Pi’s and want all your Pi’s to look uniform. The way the case is designed and held together with nylon nut’s I wouldn’t expect the case to protect my Raspberry Pi Zero from a fall. The acrylic itself will easily crack from a fall and could damage your Pi so don’t expect this case to protect your Pi Zero and simply use it just for style.

Click here for more information about the PiBow Raspberry Pi Zero Case

5. MakerSpot Raspberry Pi Zero Case

MakerSpot Raspberry Pi Zero Case

The MakerSpot Raspberry Pi Zero case is great if you plan on using the GPIO pins constantly and need easy access to the GPIO. The case has an imprint of the GPIO pin-out on the case itself so you don’t have to constantly check online for the Raspberry Pi Zero GPIO pin-out. The MakerSpot case is available in an assortment of colors as well and transparent colors so you have many choices to pick from.

Other then having the GPIO pin-out imprinted on the case the MakerSpot has nothing else to offer. The case is just a basic plastic case with an opening for the GPIO pins, if that is all you need then get this case since many of the Raspberry Pi Zero cases don’t have easy access to the GPIO pins. You will need to solder the GPIO header if you do plan on using the GPIO, as with any Zero. Rubber feet are included for the bottom of this case which is good when you are constantly using the pins and will keep the case from sliding around on your table.

Overall this is a basic Raspberry Pi Zero case which is useful and essential if you are constantly using the GPIO pins. Many cases for the Pi Zero are usually sandwiched together and you have no access to the connectors or GPIO pins, this case solves that issue.

Click here for more information about the MakerSpot Raspberry Pi Zero Case

How to backup the Raspberry Pi SD Card using Linux

Let’s face it, your hard drive will eventually fail and so will any storage device you own, especially something small like your Raspberry Pi SD card which not only can become corrupted but also lost if you use it outside your home transferring files at different locations. I am a big advocate of creating backups of your Raspberry Pi’s SD Card and create an image of the SD card that you can store on Google Drive or Dropbox.

I recently was using my Raspberry Pi as a server and had a ton of data and hours of software configurations that I have been using my Raspberry Pi for and during a thunderstorm the power got cut out, when power was restored and I booted up my server everything was corrupted and all my data was lost. If I had only created an image I would be able to insert a new SD card into my computer and restore my previously saved image and be back in business in 5 minutes.

Since all my computers in the house are running Linux I will be showing you how to create a backup image of your Raspberry Pi’s SD card and restoring your image back onto the SD card. The distro of Linux I am running is Linux Mint, which is a Debian Linux flavor. The steps for creating your Raspberry Pi image on Linux will work on all distributions of Linux since the command I will be using is a standard Linux command.

Objective

To create a backup image of the Raspberry Pi SD Card

Material

You will need the following:

Instructions for Backing up the Raspberry Pi SD Card

Lets start off by opening a terminal window on your Linux computer. We will be able to do everything through the terminal window. Don’t put in your Raspberry Pi’s SD card into your computer yet, before putting in the SD card run the following command to display the amount of disk space available on our system. We really don’t care about the available disk space, what we will be looking for is all the partitions on our hard drive and we will be making note of what new partitions show up when we insert our Raspberry Pi SD card. Run the following command: Continue Reading

AutoVox Dash Cam D2 Review

AutoVox Dash Cam Features

The AutoVox Dash Cam is my first Dash Cam that I ever purchased and I am very satisfied with it. I knew what I wanted in my dash cam, something I can just stick on the windshield and forget all about it. The AutoVox is exactly that, just insert a microSD card and it’s ready to go. I went with a 16GB microSD card (it can handle up to 32GB) and even when recording at Full HD I get about 2 hours of looped video on my card. You can choose from Full HD 1080p or a lower quality, I decided to go with the lower quality because I wanted to fit more video on my card. Continue Reading

How to Install Kodi on the Raspberry Pi 3 running Raspbian

Kodi is a open-source home entertainment media center. It’s basically a Roku but a different flavor and more open. There are many programs and video add-on’s that you can add to Kodi compared to the Roku which is a closed source media center. Kodi is the new re-branded XBMC (Xbox Media Center). XBMC was originally designed for the original Xbox to create it into a media center. It has come a long way and no longer just run on the Xbox, you can run Kodi on your phone, computer, and as I will show you today, the Raspberry Pi. We will be using our Raspberry Pi to run Kodi and use it to stream our movies on our network.

There are many different tutorial out there for installing Kodi on the Raspberry Pi but many of the tutorials require you to be running a custom OS, today I will be showing you how to install Kodi on Raspbian. The reason I installed Kodi on Raspbian is because I already had my Raspberry Pi running Raspbian and had my web server and ad-blocking software running on it and it was right behind my TV. Instead of getting a dedicated Raspberry Pi I just installed Kodi along side my server. The Raspberry Pi is great for running Kodi, it has more then enough GPU and processing speed compared to the older versions of the Raspberry Pi and the performance is great. I recommend running Kodi on the Raspberry Pi 3. If you want to install Kodi on an older Raspberry Pi like the Raspberry Pi 1 or Raspberry Pi 2, you may get some lag when browsing the menu’s or playing back video and your overall experience will suffer.

Objective

To install the Kodi media center on a Raspberry Pi 3

Material

You will need the following:

Optional Supplies:

Instructions

Continue Reading