Top Banner
DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI COMPUTER BOARD Ed Kalin – March 1, 2014 Westport Library Maker-In-Residence
24

DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

May 10, 2018

Download

Documents

vuonglien
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

COMPUTER BOARD

Ed Kalin – March 1, 2014

Westport Library Maker-In-Residence

Page 2: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Goals as Maker-In-Residence

Develop three experimental all-sky cameras Based on the Raspberry Pi computer and

camera module Use inexpensive materials (such as PVC,

HDPE, 3D-printed plastic) Document the work Plan a DIY workshop around at least one of

the cameras

Page 3: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

What is an all-sky camera?

A digital camera that can capture photographs or videos of the entire arc of the sky within a single frame

Page 4: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

What can you use it for?

Record meteor or satellite trails Time-lapse cloud motion sequences Migrating flocks of birds Aircraft (or perhaps even UFOs!) Weather events The motion of astronomical features such as

the sun, moon, planets and stars And more...

Page 5: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

What is a Raspberry Pi?

“The Raspberry Pi is a credit-card-sized single-board computer developed in the UK by the Raspberry Pi Foundation with the intention of promoting the teaching of basic computer science in schools.” (credit: wikipedia)

Page 6: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Happy Second Birthday

Raspberry Pi was introduced two years ago “today” (February 29, 2012)

Model A Model B

Page 7: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Why use the Raspberry Pi?

Small (embeddable form-factor), but capable Low-power consumption Popular (over 2.5 million produced) GPIO ports simplify electronic interfacing Easy network connectivity for moving data On-board camera module connector Inexpensive (starting as low as $25 for basic board) Open-source, Linux-based operating system Extensive community support

Page 8: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Raspberry Pi camera module

Add-on 5 megapixel camera board Native resolution: 2592 x 1944 pixel static

images 1080p30, 720p60 and 640x480p60/90 video Small size and weight: 25mm x 20mm x 9mm,

weighs just over 3g Inexpensive (approx. $25) Operation controlled by software

Page 9: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Camera module (continued)

Page 10: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Additional electronics to develop

Internal and external sensing (day/night, temperature, humidity)

Location (GPS) Alignment (true north?) Battery health monitoring Power via network cable? Heated enclosure for stable environment Cooling needed in summer?

Page 11: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Gertduino add-on board

Arduino functionality interfaced to Raspberry Pi board for improved sensor access, RTC

Page 12: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Three different approaches

Camera #1 - equip a camera module with a super-wide-angle (fisheye) lens

Camera #2 - photograph an upward-facing mirrored dome

Camera #3: fuse the images from multiple cameras continuously staring at different sky sectors into a single image

Page 13: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Proof of concept image, Camera #1Raspberry Pi cam with fisheye adapter

Page 14: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Proof of concept image, Camera #1Nikon with fisheye adapter

Page 15: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

A real-world all-sky camera example

Determine height and speed of incoming meteors: http://fireballs.ndc.nasa.gov/

Page 16: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Example 'professional' images

Page 17: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Some technical challenges – Camera #1

Resolution – JPEG, native sensor capabilities, vignetting

Lens quality – focus, optical aberrations, etc.

Exposure - Manual control, lens speed, camera sensitivity, electronic noise

Data storage – transmission rate, size

Performance – of camera, processor, network

Environmental hardening – rain/snow/ice, humidity, temperature, UV rays, condensation

Power – minimize consumption, AC vs. DC, battery life, safety

Page 18: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Technical challenges – Camera #1 (continued)

Software – computer vision, analysis, control UX - “headless” computer, usability Mechanical design issues – housing, mounting Easy access to electronics yet weather-

resistant Best siting for clear horizon makes access

difficult

Page 19: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Technical challenges – Camera #2

Mechanical design Optical design Obstruction of image by camera mount

Page 20: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Technical challenges – Camera #3

Mechanical design Software – synchronization, image stitching Expense – start with eight-camera subset Data rate, size

Page 21: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Scheduled “Office Hours” outside the MakerSpace

Mondays, 6 PM – 8 PM Wednesdays, 3 PM – 5 PM Fridays, 1 PM – 3 PM Available at other times as well Snowstorm? All bets are off

Page 22: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Final Presentation

Sunday April 6th, 2 PM – 4 PM DIY workshop schedule(s) TBD

Page 23: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

Credits

Raspberry Pi:

http://en.wikipedia.org/wiki/File:RaspberryPi.jpg

http://downloads.element14.com/raspberryPi1.html

Raspberry Pi Camera Board:

http://www.mcmelectronics.com/product/28-17733

Gertboard:

http://www.mcmelectronics.com/product/83-15656

Professional all-sky camera images:

http://www.beskeen.com/projects/allskycam/allskycam.shtml

http://www.company7.com/sbig/products/st237allsky.html

NASA's All Sky Fireball Network:

http://fireballs.ndc.nasa.gov/

Page 24: DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA …westportlibrary.org/sites/default/files/webfm/all-sky intro.pdf · DEVELOPING AN EXPERIMENTAL ALL-SKY CAMERA BASED ON THE RASPBERRY PI

The End