RUHAcam

3D Printable Retro-style Raspberry Pi HQ Camera

View the Project on GitHub penk/ruha.camera

Bill of Materials

Schematic

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 (c) 2021 Ruha Cheng & Penk Chen. All rights reserved.

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