Skip to content
/ rpi-cam Public

๐Ÿ‡ Remotely take photos using raspberry pi zero, nodejs and resin.io

Notifications You must be signed in to change notification settings

slyg/rpi-cam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

14 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Raspberry pi remote camera

This is a sample code to build a rpi hosted webserver triggering a photo shoot on /snap route. It is deployed and can be reached remotely using resin.io's amazing product.

Exposed endpoints

  • GET / html page giving routes
  • GET /snap triggers a photo shoot
  • GET /snap.jpg displays latest taken photo

Sources

Notice the importance of setting the right variables (or manually configure'em on the resin image) with the following resin.io fleet/device parameters:


  RESIN_HOST_CONFIG_start_x     1
  RESIN_HOST_CONFIG_gpu_mem     128
  RESIN_HOST_CONFIG_fixup_file  fixup_x.dat
  RESIN_HOST_CONFIG_start_file  start_x.elf

About

๐Ÿ‡ Remotely take photos using raspberry pi zero, nodejs and resin.io

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published