Raspberry Pi | Geeetech https://blog.geeetech.com Get Your Ideas Into Life Thu, 06 Feb 2020 07:04:00 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.1 https://blog.geeetech.com/wp-content/uploads/2017/11/cropped-WechatIMG25-2-copy-32x32.png Raspberry Pi | Geeetech https://blog.geeetech.com 32 32 Top 5 Raspberry Pi Camera Cases to 3D Print https://blog.geeetech.com/3d-printing-application/3d-printing-design/top-5-raspberry-pi-camera-cases-to-3d-print/ Wed, 21 Feb 2018 14:45:47 +0000 http://www.geeetech.com/blog/?p=8921 camera case placed on 3D printerWe’ve seen 3D printed cameras before, but they include some prefabricated parts: a hinge, a spring, or more complicated bits like shutters and iris mechanisms. Therefore, if you’re looking to add a camera model for your micro. You can choose from different makes and models. Camera cases 3D print is useful. But before going forward, just take a look at its important elements:

  1. Film cartridge
  2. Path of film across the frame
  3. Film take-up spools on the other side of the frame
  4. A set of gears to rotate the spools at the right speed
  5. A shutter
  6. An aperture plane
  7. A lens
  8. A door to access the film
  9. A lightproof box to hold it all

If you’ve got the camera … however, you wish a case or mount to place it! If you have got access to a 3D printer, things suddenly get a lot of fascinating. Hence, you’ll use them with the ever standard print software system and monitor your prints. Therefore, use it for your fancy DIY monitor.

Here, it is the best 3D printed Raspberry Pi camera case.

Raspberry Pi Camera Mount with Ball Joint for Reprap

This is specially designed to mount on a Prusa i2, RepRap pro or similar. The mount on a Raspberry Pi camera with a ball joint is for extra flexibility.

Who made it? 3dKarma

Download: Thingiverse

Enclosure for Raspberry Pi Camera V2 with a hole on the bottom to accept a tripod thread

This is the raspberry pi camera module fitted inside a 3d printed enclosure. Therefore, mounted to a 3d printed tripod. This simple design is easy to 3d print and takes a few minutes to put together.

You can use a Swivel-Head Adapter to adjust the position of the camera with a free range of motion. Hence, it locks in place with a side screw. You’ll need a few machine screws and other camera bits to assemble this project along with the 3D printed parts and raspberry pi camera module.

Who made it? Adafruit

Download: Thingiverse

Tom’s Raspberry Pi Zero Camera Mount for Zebra Case V1

This is a remix version of Tom’s Raspberry Pi Camera Mount V4 + (optional) LED Mount V. Therefore, as we know, things are getting smaller and smaller. So for this, we need Pi Camera mount for Rasberry Pi Zero (W) in Zebra Case.

Who made it? Tomulinek

Download: Thingiverse

The Mountster: a Raspberry Pi Camera Mount

The Mountster is a monster mount for the Raspberry Pi Camera. Hence, you can screw the cam to print using the two holes on the side of the lens. Also, there is an opening for the focus light.

Who made it? Jeromemaurey

Download: Thingiverse

Raspberry Pi Camera to Microscope Adapter

These two pieces fit together in order to adopt a Raspberry Pi Camera to a Celestron microscope. The first piece (rectangular one) fits the Raspberry Pi camera, while the second piece (cylindric tube) fits the microscope. Hence, two pieces snap together.

Who made it? Luisibanez

Download: Thingiverse

Need a 3d printer so that you can start printing all your favorite designs? I hope the article of Raspberry Pi camera cases 3D print is helpful for you all. Why not take a look at our Store for some sweet deals?

Credits: thingiverse.com
]]>
3D Print Your Own Raspberry Pi 3 Cases! https://blog.geeetech.com/3d-printing-application/3d-printing-design/3d-print-your-own-raspberry-pi-3-cases/ Fri, 09 Feb 2018 14:30:21 +0000 http://www.geeetech.com/blog/?p=8678 You probably know what Raspberry Pi is but if not, don’t feel too left out! This cool looking circuit board is a microcomputer first developed for schools to make computer science and programming more fun and affordable.

Developed by the Raspberry Pi Foundation, these single-board computers can plug into a computer monitor or TV, and let you explore the world of computing and even lets you learn how to program in languages like Scratch and Python.

So if you own a Raspberry Pi and a 3D printer then why not just print your very own case? We promise you, these innovative designs will steal your heart! Take a look-

Raspberry Pi case with VESA mounts 

Not only does this case look really nice but its super efficient too. The design itself is easy to assemble and can be screwed together. Apart from this, there’s an access slot for Pi camera, VESA mounting tabs, and a rotary engine vent design. Created by brilliant designer 0110-M-P you can find the Thingiverse files here

Pacman case

Bring back the nostalgia of the good ol’ Pacman days with this funky Pi enclosure designed by Darren Furniss. The bright color itself is enough to liven up any workspace and you can easily mount your Raspberry Pi 3 within. Instructions and print files are available on MyMiniFactory here but don’t forget to use supports for the bottoms half!

Pi 3 Sleeve

We’re big fans of this simplistic Raspberry Pi sleeve designed by Walter Hsiao and you can print it out in any color you like. Initially designed for the Pi B+, it works well for the Pi 3 and even Pi 2. Just make sure to check the dimensions and tweak the setting wherever necessary. You can find the directions and print files for this case on Thingiverse here.

Thor’s Hammer

You could settle for an ordinary case OR you could get Thor’s legendary hammer to encase your precious Raspberry Pi! It may look fancy but this case is easy to print and the perfect piece for any Marvel fan. 

Another awesome design by Darren Furniss, get this print on MyMiniFactory here. You can even print out the stand on which the hammer rests to complete the look.

TARDIS Raspberry PI 3 case

Any Dr. Who fans? How about a classic TARDIS for your Rasberry Pi? Creator Jason MK2 isn’t just a 3d printing enthusiast but also a really cool dad to have designed this case for his son. You can customize the design and cut out holes wherever necessary so that USB cables and such can pass through. You’ll even find 4 holes in the rear which you can use for screwing the piece together. Available on Thingiverse check out his design here.

 SNES Mini

If you couldn’t get your hands on a SNES Mini, its fine. You can still print out this brilliantly designed case by Andrew Bougie. But what’s even cooler is installing a games emulator like RecalBox or RetroPie and playing all your favorite games like never before. The instructions and print files are all available on Thingiverse as well as a license to print and sell but don’t forget to credit the awesome creator! Find Andrew’s design here.

RPI3 2600 

Inspired by the Atari 2600 gaming console, creator Haunt Freaks made his very own Pi 3 enclosure complete with the original Atari logo! The accurate vintage design brings back sweet memories for many whose first console was the Atari 2600 and now you can print your very own!  The print files for this design are available on Thingiverse here.

Raspberry Pi Case

If you’re leaning towards something minimalistic then don’t miss this cool design by creator Walter Hsiao. A perfect fit for the Raspberry Pi 3, this case can be printed in two parts which snap together with no screws needed. And if you want to modify the print you can even add some vent holes in the bottom for airflow for cooling. Find this print on Thingiverse here.

Deathstar Pi 3 enclosure

Last but by no means the least, is this Star Wars inspired Deathstar enclosure created by Darren Furniss. The case itself is spacious enough to mount a fan within the upper dome so you won’t have to worry about it heating up. Apart from this, there are additional vents, an option for the Pi camera and a stand that compliments the design and prevents it from rolling around. Get this awesome print on MyMiniFactory here.

Looking for a 3d printer so that you can start your own 3d printing adventures? Why not take a look at our Store for some sweet deals?

Credits: thingiverse.com, myminifactory.com, grabcad.com

]]>
Raspberry Pi Bluetooth+Airplay Audio Receiver combo https://blog.geeetech.com/news/raspberry-pi-bluetoothairplay-audio-receiver-combo/ Wed, 17 Jun 2015 02:18:41 +0000 http://www.geeetech.com/blog/?p=5539 F9SBGUMIAEK971O.LARGE

Let’s make a bluetooth audio receiver allowing you hook up your R-Pi to your stereo and use your phone as the sound source.

To be honest, this is not a unique project. Plenty of people have attempted to get a bluetooth receiver working, some (less) have succeeded. After spending way to much time on trying to get the features that I want by combining sniplets from various guides I eventually got it right. In fact, I would like to give credit to Google and everybody on the internet for sharing their pain and experience. Without you I couldn’t have done it!

The wish list:

R-Pi Bluetooth and Airplay audio receiver: I want to be able to stream Spotify and other audio sources from a phone to my stereo. We have both Android and iOS-devices in our household so both should work.

The receiver shall auto-pair and auto-trust phones trying to connect

There should be a synthesized voice connect announcement (This is new, I think. I haven’t seen anyone else doing this).

There should be support for A2DP and A2CP profiles for meta data and playback control.

Stand-alone operation. No display required. No login and manual steps, i. e. just plug it in and use it.

Easy, predictable scripted install

As it turns out, A2DP and A2CP profiles mandate the use of Bluez 5 which in turn needs Pulse Audio 5.

What is Bluez? Bluez is the Linux bluetooth stack. It handles all the low level bluetooth stuff (pairing, audio data transfer, etc.)

What is Pulse Audio? It is a sound proxy. It will take the digital bluetooth audio stream, resample it and send it through to the analog headphone jack.

Step 1: What you need

FI8VYQ8IAEJNT0U.MEDIUM

This is what you need to complete this project:

Raspberry Pi (B+ v2 or Pi 2)

Bluez-compatible bluetooth 4.0 dongle

8GB MicroSD

A good solid power source for the Raspberry Pi

A keyboard and display for initial setup

Optional: R-Pi compatible WiFi dongle, e. g. Realtek RTL8188CUS

A note on the Pi version. I have used a Pi 2 during installation since it saves time. Then I move the completed MicroSD to a B+ V2. Running this application on a Pi 2 is a bit of a waste of CPU cycles.

Step 2: Basic Prep

F3CJUERIAEK9AUS.LARGE

FYWWMS7IAEK9AUT.LARGE

F9BSS87IAEK9AVJ.LARGE

Download Raspbian image here

Transfer image to sdcard using Win32 Disk Imager following instructions on www.raspberrypi.org.

Insert sdcard and power up

Important! Expand file system to full 8GB capacity (see screenshots)

Reboot

Login as user pi (password: raspberry). Please note that for the rest of this guide it is assumed that you are logged in as “pi”.

Update operating system and reboot:

sudo apt-get update

sudo apt-get -y upgrade

sudo reboot

Step 3: Install helper-scripts

FUSCCF0IAEJNT0R.MEDIUM

After too many manyal trial and error attempts of trying to get this working I realized I had to script the install. That way I will get the same result every time. The scripts can be found on bitbucket.

This is how to install:

pi@raspberrypi ~ $ cd ~

pi@raspberrypi ~ $ git clone https://ehsmaes@bitbucket.org/ehsmaes/raspberry-pi-audio-receiver-install.git

pi@raspberrypi ~ $ cd raspberry-pi-audio-receiver-install/

pi@raspberrypi ~/raspberry-pi-audio-receiver-install $

Are you lazy? Skip to step 10!

Step 4: Bluez & Pulse – Install dependencies

Next, you need to install required packages for Bluez 5 and Pulse Audio 5. Usually you don’t need to worry about dependencies because the debian installer does it for you. We will install our software from source.

Simply run the script “bt_pa_prep.sh”:

pi@raspberrypi ~/raspberry-pi-audio-receiver-install $ ./bt_pa_prep.sh

Step 5: Bluez & Pulse – Install from source

Neither Bluez 5 or Pulse Audio 5 are available in the Raspbian repositories; hence they have to be downloaded, built (compiled) and installed. In addition, the two software packages need to interact. For this purpose users and permissions have to be set up right. Run “bt_pa_prep.sh”.

pi@raspberrypi ~/raspberry-pi-audio-receiver-install $ ./bt_pa_install.sh

Did anything go wrong? The first thing to check – are you on a 8 GB card and did you remember to expand the file system? Not that? Start over and run each part of the script manually.

Step 6: Bluez & Pulse – Configure

The next script configures the following:

Creates the file /etc/udev/rules.d/99-input.rules. This file triggers execution of /usr/local/bin/bluez-udev when bluetooth devices are connected or disconnected.

Copies custom utility files to /usr/local/bin:

simple-agent.autotrust: Python script mostly stolen from Bluez sample code. I modified a few lines to have it auto-accept any connection attempt. The script is depending on bluezutils.py, which is also copied.

bluez-udev: Executes when devices are connected and links the incoming bluetooth source (input) with the pulseaudio sink (output) and reverses the process on disconnect. The script also triggers voice annoucements: “Device XYZ Connected” using supplied script say.sh.

say.sh: Text to voice script. If the RPi is on-line, the TTS-voice from Google Translate is used. Off-line fall back uses espeak.

Creates a startup script for Pulse Audio (/etc/init.d/pulseaduio)

Creates a startup script for Bluez (/etc/init.d/bluetooth)

Creates a startup script for simple-agent.autotrust as described above (/etc/init.d/bluetooth-agent)

Modifies /etc/bluetooth/main.conf for:

Device name

Bluetooth Class (Portable audio)

Disable discoverable timer so the device stays discoverable

Modifies /etc/pulse/daemon.conf for:

Resample method. The default resample method is not suitable for Raspberry Pi.

Various parameter adjustments to improve sound quality (I used to have problems with crackles and poor sound).

Run the script and enter the device name (what you will see when you attach from your phone):

pi@raspberrypi ~/raspberry-pi-audio-receiver-install $ ./bt_pa_config.sh

Bluetooth device name: RpiAudio

Now, reboot!

Step 7: Shairport – Install from source

The software package used for Airplay audio streaming is called Shairport. This is also best done by downloading the source and building it:

pi@raspberrypi ~/raspberry-pi-audio-receiver-install $ ./airplay_install.sh

Step 8: Shairport – Configure

The script does the following;

Creates a /etc/init.d/shairport startup file

Edits the device name into the startup file

Creates the shairport user and adds it to the audio group

pi@raspberrypi ~/raspberry-pi-audio-receiver-install $ ./airplay_config.sh

Airplay device name: RpiAudio

Now, reboot!

Step 9: Usage

FKIS5G8IAG0M4UY.MEDIUM

FZRJOUQIAG0M47W.MEDIUM

Hook the Pi up to a sound system. If you will be using the voice announcements, I suggest you put your Pi on the network, either by cable or WiFi. You will get announcements even if you stay off-line but the script will fall back to espeak which produces a robot-style voice.

Android: Scan for bluetooth devices and the device name you specified should appear among discoverable devices. Connect and press OK on the pop-up.

iOS: Open your music player and attach it to the airplay player with the name you specified. I would have shared a couple of screenshots but my wife is out of town and so is her iPhone.

Play some sound and you should hear it through the sound system!

Step 10: Cheating! (all at once)

So, why not put it all together? Either do the steps above one by one or run all scripts in sequence:

pi@raspberrypi ~/raspberry-pi-audio-receiver-install $ ./runall.sh

Device name: RpiAudio

I would suggest you go cook dinner while this finishes. The script takes around 45min on a Rpi 2. Probably a lot longer on the B+. Output is saved to runall.log if you want to see the progress in retrospect.

Step 11: Final words

Things that work well (for me, anyway) are:

Autopairing

Bluetooth and Airplay playback

Voice announcements for Bluetooth devices

Sound quality is as good as it can be on the Pi 11-bit D/A analog out. Keep output volume on the Pi as close to max as possible and turn the volume down a little on the Amp if needed. That way you will be using most of the 11 bits for sound. Doing the opposite (low vol on the Pi and high on the Amp) will give you a hissing background noise and distorted music. Do this: turn the Amp volume down, turn the Pi-volume up to max (using your phone), play a song and crank the Amp up to about max of what you will be wanting to use, then turn the Pi vol down to comfortable listening.

This is what can be improved or is not working:

Bluetooth volume control on some devices doesn’t work. As far as I can tell, this is a limitation in Bluez 5 or possibly in the bluetooth implementations on some phones. In fact, I couldn’t get volume control to work for iPhone 5 which is one of the reasons I wanted Airplay support.

Airplay connect/disconnect announcement. I haven’t found a way to do this yet. There is nothing in the Shairplay logs to indicate a device connection. There is plenty about playback, meta data, etc but nothing about the connection. Please help me to figure this out! Leave comments.

Sound quality. I will try a USB soundcard and probably the hifi-addon board.

With Bluez 5 I have access to meta data and playback control but I haven’t figured out what to do with it yet. I am pretty happy using the phone display for all that. For a brief moment I wanted to make a script to have the speech-script announce track and artist but I think that would start driving me nuts after about three songs. I thought about adding a display but for my application I am hiding the device.

I will probably use the voice engine to announce alerts from my home automation server (running Openhab)

I may add one or more GPIO-connected hardware buttons. One idea is to have a button to force disconnect a phone which is hogging the bluetooth connection.

Inactivity timer disconnect of devices

this article is written by ehsmaes published on instructables.Thanks ehsmaes for sharing .

]]>
How to connect a Raspberry Pi to a Wi-Fi network https://blog.geeetech.com/3d-printing-trouble-shooting-guide/tutorials/how-to-connect-a-raspberry-pi-to-a-wi-fi-network/ Wed, 27 May 2015 02:23:32 +0000 http://www.geeetech.com/blog/?p=5325 Today we will introduce how to connect a Raspberry Pi to a Wi-Fi network.I hope for your help.

 1

 

So you want to connect a Raspberry Pi to the internet, but your computer lacks an ethernet connection, or you lack an ethernet cable. What to do?

What you need:

 

  • Raspberry Pi
  • microSD card
  • HDMI cable
  • USB power adapter (that can provide at least 600mA at 5V), include a micro USB cable
  • USB Wi-Fi adapter
  • USB keyboard
  • mouse
  • monitor

Step 1: Set up your Raspberry Pi

22

Follow the instructions in your Raspberry Pi “Quick Start Guide and Safety Instruction Manual” to plug in your Raspberry Pi. You can find the microSD card INSIDE the SD card.

 

  1. Put your microSD card in the microSD slot in the Raspberry Pi (underneath). It will only fit one way.
  2. Plug in the USB keyboard and mouse into the USB slots on the Raspberry Pi.
  3. Turn on your monitor
  4. Connect the HDMI cable to the Raspberry Pi
  5. Finally, plug in the USB power supply, which will turn on (and boot) the Raspberry Pi.
  6. Choose to install Raspbian (the recommended choice)
  7. Wait for the install to finish.

Step 2: Configure the Raspberry Pi

3

  • The configuration (raspi-config) program should automatically come up
  • If you’re going to put your Raspberry Pi on the network, it’s a good idea to change the default password. Choose Option 2 to do this.
  • In Option 3, choose “desktop login.”
  • At this point, enable SSH under “advanced options” (to allow another computer to connect to the Raspberry Pi over the Wi-Fi network).
  • Finally, choose <Finish> at the bottom of the screen.

After you choose <Finish>, the Raspberry Pi will reboot.

Step 3: Add Wi-Fi adapter

4

  1. Turn off your Raspberry Pi, and plug in the Wi-Fi into one of the USB ports.
  2. Turn it back on. The Wi-Fi adapter may turn on during boot-up, but it’s not working yet.
  3. Follow this tutorial to configure the Wi-Fi adapter.

This article written by the kieram published in instructables. Let us make some things interesting as well as improve ourselves.

]]>
Raspberry Pi moving timelapse https://blog.geeetech.com/news/raspberry-pi-moving-timelapse/ Tue, 19 May 2015 02:07:11 +0000 http://www.geeetech.com/blog/?p=5297 Today, we do a very fun project which is to apply  raspberry pi  to life.
 
Raspberry
 
 
 

This is how to use a raspberry pi along with it’s camera to create beautiful moving timelapse videos (called hyperlapse vidoes)

things you need:

  • A raspberry Pi. The instructions are for a Raspberry Pi B+ but you can adapt for other models (the pin layout may be different)
  • A raspberry Pi Camera module
  • A stepper motor. Very in expensive and usually comes with controller. I used RioRand Stepper Motor 5V DC 4-Phase 5-Wire with ULN2003 Driver Board
  • Pulley wheel for the stepper motor shaft
  • Raspberry Pi case
  • washing line
  • (Optional) Wi-Fi Adaptor for Raspberry Pi
  • female to female leads to connect the boards
  • USB Portable Power pack (at least 4000mAh) and cable. This is also optional but needed to allow your hyperlapse rig to work where there is no plug (i.e. outdoors)
  • small metal angle bracket (like mechano)

ok so the basic idea once the rig is assembled and the program uploaded the pi will repeat the following three steps for as long as you configure it to do so:

  1. take a picture with a unique name
  2. move
  3. wait for a pre-determined amount of time

    Step 1: Connect the Camera

    So to connect the camera is quite simple and there is a lot of help online. The official help video is here:

    https://www.raspberrypi.org/help/camera-module-set…

    but I found this to be more helpful

    http://thepihut.com/blogs/raspberry-pi-tutorials/1…

    once installed and you have enabled the camera try it out with the raspistill -o image.jpg command. Hopefully it takes a picture but if not you need to go back and check from these links until it works properly.

    Step 2: Access

    Picture of Access

    next you need to setup remove access from your laptop or PC.

    if you have a wireless adapter like this one:

    http://thepihut.com/products/usb-wifi-adapter-for-…

    then now is the time to install and set it up. There is help on that here:

    http://thepihut.com/blogs/raspberry-pi-tutorials/16018016-how-to-setup-wifi-on-the-raspberry-pi-raspbian

    Next we need two free programs: the first allows you to get remote access to a terminal prompt where you can run the script and the second allows access to get the pictures off.

    Download and install putty:

    http://www.chiark.greenend.org.uk/~sgtatham/putty/

    and then WinSCP:

    http://winscp.net/eng/index.php

    you can go for alternatives if you like but these are pretty good.

    This paper was writtened by telonics published in instructables.Thank telonics provide us such a good project.

    For more information about this item, please click  wiki page.

]]>