A 3D Printable Retro-style Raspberry Pi HQ Camera

Related tags

Graphics ruha.camera
Overview

RUHAcam

A 3D Printable Retro-style Raspberry Pi HQ Camera

Bill of Materials

  • Raspberry Pi Zero WH + microSD card
  • Raspberry Pi HQ Camera
  • 16mm 10MP Telephoto Lens
  • 2.2" TFT Display
  • TP4056 Micro USB Battery Charger
  • MT3608 DC-DC Step Up Boost Module
  • 2000mAh Li-Pi battery
  • Power switch
  • Shutter button
  • Dupont jumper wires
  • 3D printed case (see STL folder)
  • Leather patches for couch (optional)

Schematic

  • Power from converter connects to Pi's 5V (pin 4) and GND (pin 6)
  • Shutter button connects to GPIO26 (pin 37) and GND (pin 39)
Raspberry Pi pins TFT display
3v3 (pin 17) VCC
GND (pin 20) GND
GPIO8 (pin 24) CS
GPIO23 (pin 16) RESET
GPIO24 (pin 18) DC
GPIO10 (pin 19) MOSI
GPIO11 (pin 23) SCK
GPIO18 (pin 12) LED
GPIO9 (pin 21) MISO

Assembly

Software

Flash Raspberry Pi OS to micro SD card. Then add following lines into config.txt:

gpu_mem=256
dtoverlay=rpi-display
display_rotate=2

For application, simply execute this script after boot:

from gpiozero import Button
from picamera import PiCamera
import time

button = Button(26)

with PiCamera() as camera:
    camera.resolution = (4056, 3040)
    camera.framerate = 5
    frame = int(time.time())
    camera.start_preview()
    while True:
        button.wait_for_press()
        camera.capture('/home/pi/Pictures/%03d.jpg' % frame)
        frame += 1

Sample Pictures

Copyright and License

Copyright (c) 2021 Ruha Cheng & Penk Chen. All rights reserved.

All files are licensed under MIT license, see the LICENSE for more information.

Comments
  • USB Connectivity

    USB Connectivity

    Hello team, Could you please explain how to connect the USB cable to this cam? Also could you please specify which USB board to be used for assembly?

    Please see the attached image.

    https://imgur.com/a/tDgMTU4

    opened by nishabe 4
  • display problems

    display problems

    I took a 2.2 "TFT display as recommended and connected it, but a problem emerged. Display Link (https://www.amazon.de/gp/product/B01E0MGZU2/ref=ppx_yo_dt_b_asin_title_o07_s00?ie=UTF8&psc=1)

    In a blog it was shown how it can be connected to the Raspberry Pi and in the linked Github project this was also discussed again. But I have a problem that wasn't described there. After starting the script, the image can only be seen in the upper right part of the display, greatly reduced. Unfortunately, the autostart script does not work properly either. I have to run the script to add it to the autostart after every reboot. In addition, the displayed image flickers as if the frame rate is incorrect. The Blog(in German)(https://blog.gc2.at/post/spi-tft-lcd-kernel5/) the GitHubProjekt(english)(https://github.com/juj/fbcp-ili9341)

    I very much hope that a solution can be found and that everything works out. Many thanks in advance.

    opened by Johnephen 3
  • TFT Display Driver

    TFT Display Driver

    I have this display: http://amazon.com/dp/B01CZL6QIQ However, I have difficulties in making it work.

    Could you please share which driver you have used? Any link to the steps much appreciated. @penk

    opened by nishabe 2
  • Link to display?

    Link to display?

    Most displays I've found are 2.8"

    Also, are some of these parts like the top glued together? The mount looks like it has structure for screws that line up with the main body but, there aren't guide holes.

    opened by btilford 1
  • Touch Screen Funtionality?

    Touch Screen Funtionality?

    I was wondering if the 2.2" tft was supposed to be a touchscreen. If not, would it be possible to add touchscreen capabilities to be able to change camera settings on the go? I understand that this is a DIY camera, more of a "proof-of-concept" than anything else, but I just feel like having the ability to change some of the basic camera settings in the camera would be cool.

    opened by Nathan116 2
  • Please upload the original 3D-files of the STLs

    Please upload the original 3D-files of the STLs

    This would allow easier modification e.g. for a different button or screen.

    I think the STEP-format is quite compatible, but this could be a first step to open up further development. I would love to share some of my modifications of existing STL-files, but i am sadly sometimes limited to do just that.

    opened by wildblue 0
Owner
Ping-Hsun "penk" Chen
I'm a full-stack engineer from Taiwan
Ping-Hsun
Event Camera Calibration

Event Camera Calibration 'modules/camera_calibration/cv_calib' is the conventional camera calibration module. 'modules/camera_calibration/dbscan' is t

null 28 Dec 27, 2022
Single-header single-function C/C++ immediate-mode camera for your graphics demos

Single-header single-function C/C++ immediate-mode camera for your graphics demos

Nicolas Guillemot 106 Oct 20, 2022
Basic framework for D3D11 init, model/texture loading, shader compilation and camera movement.

reed-framework Basic framework for D3D11 init, model/texture loading, camera movement, etc. Instructions: #include <framework.h> Link with framework.l

Nathan Reed 34 May 18, 2022
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.

bgfx - Cross-platform rendering library GitHub Discussions Discord Chat What is it? Cross-platform, graphics API agnostic, "Bring Your Own Engine/Fram

Бранимир Караџић 12.6k Jan 8, 2023
A minimal Direct3D 12 example that draws an animated triangle, written entirely in C-style C++, and all taking place inside a single function.

A minimal Direct3D 12 example that draws an animated triangle, written entirely in C-style C++, and all taking place inside a single function.

Taoufik Rida Bouftass 7 May 3, 2022
A 2-key ISO enter macropad with a 3d printable case

Milk Crate Another milk-themed meme board, for your extra unused base kit/novelty ISO keys. Inspired by Spaceboards/2% Milk. Build Notes Printing Prin

null 8 Dec 17, 2022
Motion Cam is a camera application for Android that replaces the entire camera pipeline.

About Motion Cam is a camera application for Android that replaces the entire camera pipeline. It consumes RAW images and uses computational photograp

Mirsad Makalic 320 Oct 11, 2022
This Project Implement an interactive camera for 3D model using Quaternion. It have some advantages over eulerian camera like no gimbal lock and faster to compute.

Quaternion-Camera This Project Implement an interactive camera for 3D model using Quaternion. It have some advantages over eulerian camera like no gim

Phan Sang 8 Nov 10, 2022
3D-Lidar Camera Calibration using planar Point to to camera Plane Constraint

3D-Lidar Camera Calibration using planar Point to to camera Plane Constraint

Subodh Mishra 74 Nov 11, 2022
Sentry-Picam is a simple wildlife / security camera solution for the Raspberry Pi Zero W, providing 1080p/30fps motion activated H.264 video capture.

Sentry-Picam is a simple wildlife / security camera solution for the Raspberry Pi Zero W, providing 1080p/30fps motion activated H.264 video capture.

null 124 Oct 9, 2022
This is a complet GUI between a Raspberry device with a Slave microcontroller to set camera data acquisition

#PYDOME Python Lib for Domes features control, this package allows users to build, evaluate and make tasks based on Raspberry OS Table of Contents Ins

null 1 Nov 2, 2021
Prueba del Raspberry PI PICO con un display Raspberry PI TFT 3.5"

Raspberry-PI-PICO-display-RPI35 Prueba del Raspberry PI PICO con un display Raspberry PI TFT 3.5" Con ayuda de la libreria https://github.com/khoih-pr

null 1 Nov 10, 2021
Retro coding in C/C++ in a 3D template with full low-level control.

BRIEF INFO ON THE 2021 WORLD TEMPLATE Project website: https://jacco.ompf2.com/voxel-world-template/ Purpose: This template has been designed to make

Jacco Bikker 140 Dec 31, 2022
Infocom Z-machine build environment for 25 retro computer systems, preconfigured for PunyInform

Puddle BuildTools (for PunyInform and other libraries and compilers targeting the Infocom Z-machine) If you're into classic 8-bit and 16-bit home comp

Stefan Vogt 44 Nov 25, 2022
Proyecto indie retro game: para SEGA Mega Drive/Genesis, creado con SGDK

Penguin-World Proyecto indie retro en desarrollo: Plataforma: SEGA Mega Drive/Genesis Que está desarrollado: +Logos + Titulo + Música +Primera Zona de

Alice Sim1 15 Dec 25, 2022
Retro Tiny Multitasking system for Z80 based computers

RTM-Z80 RTM/Z80 is a multitasking kernel, built for Z80 based computers, written in Z80 assembly language, providing its users with an Application Pro

ladislau szilagyi 103 Nov 9, 2022
ControllaBLE - A retro-controllers to Bluetooth BLE adapter

ControllaBLE - A retro-controllers to Bluetooth BLE adapter This is an ESP32 based controller adapter that outputs as a dual joypad through Bluetooth

null 14 Oct 16, 2022
A combined suite of utilities for exporting images to retro formats.

ImageTools A combined suite of utilities for exporting images to retro formats. It was developed for use on Windows but might compile on other systems

David Walters 4 Dec 6, 2021
Vectron VGA Plus generates a [email protected] VGA signal and has an interface that works with retro computers or microcontrollers.

Vectron VGA Plus Vectron VGA Plus generates a [email protected] VGA signal and has an interface that works with retro computers or microcontrollers. Screen

Nick Bild 32 Dec 14, 2022
GB Studio is a quick and easy to use retro adventure game creator for Game Boy available for Mac, Linux and Windows

GB Studio is a quick and easy to use retro adventure game creator for Game Boy available for Mac, Linux and Windows

Chris Maltby 6.8k Jan 8, 2023