Browse:

Showing posts with label python. Show all posts
Showing posts with label python. Show all posts

Monday, October 13, 2014

Debugging

Apart from a few more test shots at Arrowe Park this weekend, I worked on a few of the snags I still have, and have made good progress:


1.   Switching between different camera modes via hardware switch ( TBC 29 September)
2.   Files to have unique names so that names are not duplicated from session to session
3.   Images are rotated to appear upright before saving
4.   Labels for mode switch
5.   Plugging in a flash drive to the USB port copies all images and videos to flash drive
6.   Lens correctly aligned with front face if camera so that photographs line up
7.   Final cutting plans for case, 3d model for lens pinwheel and camera Python script to be uploaded to community model sharing websites

Wednesday, September 3, 2014

Rudimentary Python scripting

It's been about fifteen years since I last programmed with any kind of seriousness. Sat down last night and got some definitions working in Python. Once I attach the mode switch to the GPIO pins, I'll be able to set the python script up to respond to the hardware switch to select the appropriate camera mode.

Google, the PiCamera module reference and Getting Started with Raspberry Pi have been my friend.