-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
support PiCam (Raspberry Pi Camera) #167
Comments
@beniroquai : adding you to this issue, since you're planning on implementing support for the picamera first. As we spoke, Ian's most advanced branch to support the picamera was the |
Hi everyone.
I am away with no computer this weekend. My memory is the software triggering worked fine but I planned to implement a hardware trigger via an interrupt on a gpio pin. In Theory this is easy but I got distracted by other stuff before I actually implemented it.
Also this is all likely 2-3 years ago so the OS may have moved a little underneath it. Also might be wor to thinking about the new hq camera but we don’t yet have one of these.
Ian
…Sent from my iPhone
On 11 Dec 2020, at 16:57, Carnë Draug <notifications@github.com> wrote:
@beniroquai<https://github.com/beniroquai> : adding you to this issue, since you're planning on implementing support for the picamera first. As we spoke, Ian's most advanced branch to support the picamera was the picam-devel. I just merged master into it and made some adjustments to fit with the current microscope. I suggest you start with the picam-devel branch that it's currently on my fork.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#167 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABJTBBLK3VSWMYDDOWVPMJDSUJFNHANCNFSM4RQIFPQQ>.
|
@beniroquai : just checking, are you still planning on implementing the PiCAM in Microscope? |
I have done some work on this and got the basic framework in place but I now need some help. The current code is in my repository in wip-picam I have a trigger which is setup to generate an interrupt from one of the GPIO pins. This currently calls:
I want this function to capture an image, with some thing like the software trigger code
But not return the array but I guess put it on a queue which _fetch_data then empties, but I know nothing about how best to do queues in python. |
Hey, sorry for late reply. I was trying to play with |
I have now implemented a bare bones driver that does software and hardware triggering. With a test setup I can do software triggering and hardware trigger from a red pitaya. Deals with exposure times, and all standard camera settings (rotation, roi etc...). I will add it to the main branch but it still needs support for a) the various camera settings |
Are you sure the code works? I see it uses |
Hi am trying to get back to this again. I have merged my latest version with the current microscope main branch and have the software triggering working. I need to test the hardware trigger. As to the previous comment it now uses _logger which the other camera drivers also seem to use so I assume this is ok, also runs fine with main branch, just replacing the picam.py file. |
I have now tested with HW trigger and it still works with that. My branch is at https://github.com/iandobbie/microscope/tree/picam-update I will keep working on this to add some of the picam config options. |
@iandobbie already pushed this a few months ago. Closing as fixed. |
Support the Raspberry Pi Camera (PiCam). Requested by @iandobbie . Initial work on iandobbie's "picam" and "picam-devel" branches.
The text was updated successfully, but these errors were encountered: