Digital Photo Frame

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Have you ever got Photo frame on your desk or have you given photo frame to your parents or friends as a gift?

I guess you had it before or planning to do it later. 

 

Then what about making awesome digital photo frame at this time? 

This gonna be lots of fun and even unforgettable present to whom you're going to give. 

 

Let's get into it! 🙂

What we need

Here is the list we need to make Digital Photo Frame. 

 

  • Hardware Side
  1. Raspberry Pi with SD card
  2. Display - monitor or small LCD with controller board
  3. Wooden or plastic photo frame
  4. A few thick papers for making frame design better. 🙂
  5. Short HDMI cable to connect Raspberry Pi and Controller board

 

  • Software side
  1. Digital Photo frame raspbian image for easier work
  2. Google account (Google Photo)
  3. Some photos to show (from Google Photo)
  4. Configuration and Test!

 

How we do (Hardware)
  • Prepare photo frame and cut paper to make it fit to small monitor for better looking if needed

 

  • Connect monitor to controller board and put all the stuff into photo frame

 

  • Back of the photo frame, attach properly controller board and raspberry pi zero on it

 

  • Connect raspberry pi zero with controller board with HDMI ports

 

How we do (Software)

In software side, we're very lucky as Henric Andersson, he already releases periodically useful raspbian images. 

so we can use this image for easier steps, but there still are some configuration steps we need to do.

 

First of all, you should prepare Raspberry Pi with OS.

 

Please click the following button to look into other posts for prerequisite lessons.

 

Prepare RaspberryPi

 

but please note that we're going to use different OS image this time with his photoframe one.

 

Please click here to download the recent PhotoFrame image for Raspberry Pi.

(At current time, 2019 vesion available.)

 

so, now we're ready to boot our Raspberry Pi with Photo frame Image. Let's do initial setup then.

 

  1. Edit 'wifi-config.txt' for your wifi ssid and password
  2. Edit 'http-auth.json' or just leave if you want to use the default one. (By default the username is photoframe and the password is password)
  3. Boot and do initial setup
  4. Setting up Google Photo

For more details, you can check and follow the details here

Still shots Outcome

Raspberry Pi – Rover v.1 (Button)


What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Have you heard about Rover? 

You might see some news or photos that Rover is exploring other planet. 🙂

From this project, we start to make our own Rover!

 

This is really first version of Raspberry Pi based Rover project in my blog.

I'm going to work on another Rovers with improved features soon, but this rover has very simple User Interface to control it.

It's left/right/up/down arrows! 🙂 Let's get into it!

 

Let's get inside!

How we do (Hardware)

Please carefully look at the following wiring diagram. 

I didn't draw the power source of Raspberry Pi zero w, but you can use it any source which has 5V input voltage.

The recommended input voltage is 5V, and the recommended input current is 2A.

 

How we do (Software)

Please note that if you buy the kit, the included micro SD card has already pre-made image in it.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should prepare Raspberry Pi.

Please click these buttons to look into other posts for prerequisite learnings.

 

Prepare RaspberryPi

 

Once your Raspberry Pi is ready,

 

1. update and upgrade
2. pip installation
3. flask installation
4. git installation & git clone repo
5. run script and test

 

The full details are explained in the enclosed docs. (Rover_v1_HowWeDo_SW.txt)

Still shots Outcome

As you can see from the outcome images or movies, you can control your Rover easily with your web browser.

 

In this project, you can use buttons for left/right/forward/backward to control your rover.

I hope you find lots of fun from this project. 🙂

 

This slideshow requires JavaScript.

Raspberry Pi – Rover v.2 (Touch)


What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

This is 2nd version of Raspberry Pi based Rover project.

 

In this project, we can explorer anywhere with our Rover. 

We're using actually the same hardware as the last Rover project, but this time there is a difference on User Interface.

User Interface is rectangle touch screen on browser where you can control Rover.

 

Let's get inside!

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included micro SD card has already pre-made image in it.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should prepare Raspberry Pi.

Please click these buttons to look into other posts for prerequisite learnings.

 

Prepare RaspberryPi

 

Once your Raspberry Pi is ready,

 

1. update and upgrade
2. pip installation
3. flask installation
4. git installation & git clone repo
5. run script and test

 

The full details are explained in the enclosed docs. (Rover_v2_HowWeDo_SW.txt)

Still shots Outcome

As you can see from the outcome images or movies, you can control your Rover easily with your web browser.

Unlike the last Rover we made, this version of Rover can be controlled by your touch.

I hope you find lots of fun from this project. 🙂

This slideshow requires JavaScript.

 

Raspberry Pi – Rover v.3 (Cam + Servo + Button)


What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

This is 3rd version of Raspberry Pi based Rover project.

 

In this project, we can see things via Raspberry Pi camera and can move it via Servo motors.

 

Moreover, User Interface is left/right/up/down button on browser where you can control Rover.

 

Let's get inside!

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included micro SD card has already pre-made image in it.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


 

  • Sneak peek on Software part

 

First of all, you should prepare Raspberry Pi.

Please click these buttons to look into other posts for prerequisite learnings.

 

Prepare RaspberryPi

 

Once your Raspberry Pi is ready,

 

1. update and upgrade
2. pip installation
3. flask installation
4. git installation & git clone repo
5. Enable pi cam and test
6. Install Motion
7. Configure Motion
8. Test your motion service installation
9. Run script and test

 

The full details are explained in the enclosed docs. (Rover_v3_HowWeDo_SW.txt)

Still shots Outcome

As you can see from the outcome images or movies, you can control your Rover easily with your web browser.

You can also control camera using servo motors. 

Moreover, you should be able to see things which is hidden or very far via Rover's cam. 🙂 

What do you think? Excited enough?

This slideshow requires JavaScript.

 

 

 

Raspberry Pi – Rover v.4 (Cam + Servo + Touch)



What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

This is 4th version of Raspberry Pi based Rover project. most recent version. 🙂

 

In this project, we can see things via Raspberry Pi camera and can move it via Servo motors.

 

Moreover, User Interface is rectangle type touch area on browser where you can control Rover.

 

Let's get inside!

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included micro SD card has already pre-made image in it.

so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


  • Sneak peek on Software Part

First of all, you should prepare Raspberry Pi.

Please click these buttons to look into other posts for prerequisite learnings.

 

Prepare RaspberryPi

 

Once your Raspberry Pi is ready,

 

1. update and upgrade
2. pip installation
3. flask installation
4. git installation & git clone repo
5. Enable pi cam and test
6. Install Motion
7. Configure Motion
8. Test your motion service installation
9. Run script and test

 

The full details are explained in the enclosed docs. (Rover_v4_HowWeDo_SW.txt)

Still shots Outcome

This slideshow requires JavaScript.

 

Home-made CCTV using Raspberry Pi and MotionEyeOS

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Have you thought about the simple, tiny and awesome house surveilance camera you can easily make with your Raspberry Pi?

 

We’re just going to do that, so bare with me. ?

How we do (Hardware)

Please insert Pi camera’s the other end into Pi’s camera slot.

 

please note the pin order is important so carefully connect it in right order! ?

 

There are some pictures for raspberry pi B and raspberry pi 2 B.

 

  • Connect with Raspberry Pi Model B

 

  • Connect with Raspberry Pi 2 Model B

How we do (Software)

First of all, you should prepare Raspberry Pi with OS.

 

Please click the following button to look into other posts for prerequisite lessons.

 

Prepare RaspberryPi

 

but please note that we're going to use different OS image this time called 'MotionEyeOS'.

 

Please click here to download the recent MotionEyeOS image for Raspberry Pi.

(At current time, motioneyeos-raspberrypi2-20180627.img.xz if you're using Raspberry Pi 2)

 

so, now we're ready to boot our Raspberry Pi with MotionEyeOS Image. Let's do initial setup then.

 

  1. Log into MotionEyeOS
  2. Initial Set-up

 

1.Log into MotionEyeOS

 

We first need to find the IP address of Raspberry Pi. 

There are a few ways to do it. 

 

  • In your router, you can examine DHCP table for Raspberry Pi
  • You can connect to Monitor via HDMI and see what ID address is being used in wifi connection
  • You can connect to Monitor via HDMI and type 'sudo ifconfig' in terminal window

 

However, if you still can't get it, just google it and see how the people are doing it.

 

2. Initial Set-up

 

  • When you type IP address of Raspberry Pi at browser, you can see the Login page to MotionEyeOS.

 

The username is admin, and there is no password

 

  • You should see a live image from the camera at this point like the following.

 

 

  • Now, Let's configure other settings for MotionEyeOS.

 

 

  • General Settings

 

I'd recommend to change password for Admin for security reason.

 

Turn ON 'Advanced Settings' and see what options we can change. 

 

You can input 'Surveillance Username and Password' as well.

 

Set the Time Zone and Hostname if you want. It's totally up to you!

 

 

  • Network

 

In this case(Raspberry Pi zero), IP address was automatically picked up as you know. 

 

so you can see what IP address the Raspberry Pi is using from this page.

 

 

  • The other options

 

You can explore the other options such as 'Services', 'Expert Settings', etc..

 

but  this is pretty much initial setup for MotioneyeOS.

 

Thanks for reading! 🙂 

Still shots Outcome

 

 

Simple house guard using Raspberry Pi



What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

Have you thought about the simple, tiny and awesome house protector you can easily make with your Raspberry Pi?

We're just going to do that, so bare with me. 🙂

How we do (Hardware)

How we do (Software)

Please note that if you buy the kit, the included micro SD card has already pre-made image in it.
so you don't need to do anything. just insert it and play.

 

However, if not or you want to follow steps and learn how software parts works,
please find the enclosed documents or instruction for further details.

 


  • Sneak peek on Software Part

First of all, you should prepare Raspberry Pi.

Please click these buttons to look into other posts for prerequisite learnings.

 

Prepare RaspberryPi

 

Once Raspberry's prepared, we need to install pygame and git packages.

 

1. pygame install
2. git install
3. clone the repository.
4. Run python script

 

Now, our RaspberryPi is ready to detect any movement with PIR sensor! 🙂

 

The full details are explained in the enclosed docs. (HouseGuard_HowWeDo_SW.txt)

Still shots Outcome

There can be other projects by using this.

For example, you can use similar things as your security system by putting this at your house doors or something. 🙂 It's all up to you!

 

 

How to use Raspberry Pi Camera via Python

What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

There are lots of ways to install and use Pi camera, but at this post we're going to handle this with Python!

How we do (Hardware)

Please insert Pi camera's the other end into Pi's camera slot.

 

please note the pin order is important so carefully connect it in right order! 🙂

 

There are some pictures for raspberry pi B and raspberry pi 2 B.

 

  • Connect with Raspberry Pi Model B

 

  • Connect with Raspberry Pi 2 Model B

 

How we do (Software)
  1. Enable Pi camera via Raspberry Pi Configuration
  2. Testing taking still image and recording working
  3. Install Python drivers for Pi cam (http://picamera.readthedocs.io/en/release-1.9)
  4. Sample Python script to test Pi cam

  • Enable Pi camera via Raspberry Pi Configuration

 

sudo raspi-config

and choose 'Enable Camera', enter and finish.

 


  • Testing taking still image and recording working

 

To test capturing still image,

raspistill -o testpicture.jpg

To test video capturing,

raspivid -o testvideo.h264



  • Install Python drivers for Pi cam (http://picamera.readthedocs.io/en/release-1.9)

 

Now, we're ready to install Python drivers

sudo apt-get install python-picamera

if you're working on Python3,

sudo apt-get install python3-picamera

More information and options are available at   PICAMERA

 


  • Sample Python script to test Pi cam

 

You can write and test Python script with Raspberry Pi Camera from now on.

 

Start a preview for 10 secs

import time import picamera 
camera = picamera.PiCamera()

try:
camera.start_preview()
time.sleep(10)
camera.stop_preview()
finally:
camera.close()

Capturing to a file

import time 
import picamera

with picamera.PiCamera() as camera:
camera.resolution = (1024, 768)
camera.start_preview()
# Camera warm-up time
time.sleep(2)
camera.capture('sampleImage.jpg')

Recoding video to a file

import picamera 

with picamera.PiCamera() as camera:
camera.resolution = (640, 480)
camera.start_recording('testing_video.h264')
camera.wait_recording(60)
camera.stop_recording()

There are tons of useful examples here at    PICAMERA

 

please look into it!

Still shots Outcome

We've just installed and learned how to use Pi camera basically.

 

so now fully ready to extend your projects with this raspberry pi with awesome camera!

 

 

How to prepare Raspberry Pi

 

What we do
What we need
How we do
What we do

In this post, we're going to cover how to prepare Raspberry Pi.

 

This includes several steps like the followings.

 

How to format (micro) SD card

How to get Raspberry Pi OS Image (such as Raspbian)

How to write (micro) SD card with that image

Basic settings  

 

How we do

We actually need some programs to format/read/write SD card for Raspberry Pi.


  • How to format (micro) SD card

Please click here to download SD Card Formatter.

Then click SD Memory Card Formatter for Windows.

Downloaded file should be named 'SD_CardFormatter0500SetupEN.exe' (at current date, 29/06/2018)

 

 

Once you're ready, we can start format your SD card.

 

  1. Run SD card formatter program
  2. Choose card drive
  3. Tick Quick format
  4. Specify Volume label
  5. Click Format button

 


  • How to get Raspberry Pi OS Image (such as Raspbian)

Please click here to download recent Raspbian OS Image.

Raspbian is one of famous Operating System running on Raspberry Pi.

Then click Raspbian Stretch with desktop with 'Download Zip'.

 

Downloaded Zip file should be named '2018-04-18-raspbian-stretch.zip' (at current date, 29/06/2018)

 

 

Once you finished downloading, unzip it.


  • How to write (micro) SD card with that image

Please click here to download Win32DiskImager.

Then click Download the recent program for windows.

 

Downloaded file should be named 'win32diskimager-1.0.0-install.exe' (at current date, 29/06/2018)

 

 

Now, it's the time to write downloaded Raspbian Image into your SD card.

 

  1. Run Win32diskimager program
  2. Browse the downloaded Raspbian Image file ('2018-04-18-raspbian-stretch.img')
  3. Please make sure the correct drive you want to write
  4. Click Write button and wait
  5. Complete message and all the job finished.

 


  • Basic settings

Once you proceeded all above steps, you're fully ready to start your Raspberry Pi with SD card.

Just Insert your SD card into Raspberry Pi's card slot and give it power.

 

Don't forget to connect Monitor or TV's HDMI port to Raspberry Pi's HDMI output.

Otherwise you can't see anything what's going on in your Raspberry Pi. 🙂 and then you will be able to see this.

 

 

At this time, we need to configure Wifi settings and also enable SSH settings.

 

There are two ways to do it, via Raspbian Desktop (GUI) or Command Line.

 

  1. 'Raspberry Pi Configuration Tool' in Desktop

This can be accessed 'Preferences option in the Desktop menu.

SSH Setting :

 

WIFI Setting : This option can be found in the up and right hand corner of desktop.

 

just configure your Wifi Access point and password like what you're doing as usual.

 

    2. Old raspi-config Tool via Command line

 

This method might be a bit harder for newcomers, but which can still be accessed through the terminal.

 

 

sudo raspi-config

 

The above command fire up 'Raspberry Pi Software Configuration' tool.

 

 

Choose 7 Advanced Options , then

 


 

Choose SSH and enable it!  

 

so, now we can connect to our Raspberry Pi via SSH connection and this means we don't need to use monitor to see desktop or further tasks.

 

 

Raspberry Pi – Fruit Drum


What we do
What we need
How we do (Hardware)
How we do (Software)
Still shots Outcome
What we do

 

We're going to make some music with domestic food like fruits and Raspberry Pi!

 

What we need

 

In this project, you might be able to get better result with your own soldering skills, but still possible to make it without soldering. just connect wires properly between point to point and then works!

 

 

How we do (Hardware)

Please see the following diagram carefully and make your own system.

 

  • Raspberry Pi 1 Model B

 

  • Raspberry Pi 2 Model B

How we do (Software)

Please note that if you buy the kit, the included micro SD card has already pre-made image in it.

so you don't need to do anything. just insert it and play.

 

 

However, if not or you want to follow steps and learn how software parts works,

please find the enclosed documents or instruction for further details.

 


  • Sneak peek on Software Part

 

We should prepare Raspberry Pi and need to install necessary packages on it before wiring chips.

If you don't know how to prepare Raspberry Pi basically, please click this button.

 

Prepare RaspberryPi

 

Once you finished preparation of Raspberry Pi, we're ready to install additional packages.

 

1.Update and Upgrade

2.Prepare I2C communications

3.Check/Edit Modules and Boot configuration

4.Install Pygame

5.Check / Confirm I2C

6.Get Python codes from Git

 

Now, Raspberry Pi's ready to play with your touches.

 

The full details are explained in the enclosed docs. (RockNRoll_HowWeDo_SW.txt )

Still shots Outcome

In my case, I've made a box for placing a series of fruit on it in this project. 

This can be done with anything such as wood, hard-board, plastic and what ever. 

It's totally up to you!

Once you're prepared your favorite fruits, just connect each cable to them!

 

Now, we just built our own small machine to play funny sounds. Let's Enjoy!