使用 ac# 程序为 Cannon EOS Rebel XS 创建 USB 延时拍摄

发布于 2024-09-13 02:37:09 字数 177 浏览 4 评论 0原文

我想知道这是否可能。我想制作自己的软件来通过远程快门释放来控制快门的释放。从图中我看到它的电压为 3.3V(空载),阈值电压为 1.8V。我想知道如果我理解正确的话,我是否可以使用限制大约 5.25v 的 USB 电缆电压。这是否可能,或者我是否需要寻找新的方向。我希望用 C# 编写这个软件,我对此很有信心。
预先感谢您的帮助:)

I am wondering if this is even possible. I want to make my own software to control the release of the shutter via the remote shutter release. From the diagrams I have seen it has a 3.3 v (no load) and a threshold voltage of 1.8v. I am wondering if I can use limit a usb cables voltage which is around 5.25v, if I am understanding correctly. Is this even possible, or do I need to look in a new direction. I am hoping to write the software in c# which I am fairly confident in.
Thank you in advance for your help :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

一杯敬自由 2024-09-20 02:37:09

我经常使用这些类型的快门遥控器,无论是索尼阿尔法还是佳能单反相机。对于大炮来说,通常是2.5mm立体声插头。它有 3 个触点:接地、对焦和快门。将它们中的每一个短路,您将触发相机中的该功能。

http://www.doc-diy.net/photo/eos_wired_remote/

一些几年前,我设计了自己的电路,可以从主机(在我的例子中是 HP Pocket PC)获取串行命令,并使用微控制器 GPIO 端口驱动其中一条线路。

如今,类似的设备具有更容易的连接和控制选项。如果您想走 DIY 之路,有很多不错的选择,例如 arduino,或者如果您是 ac# 爱好者,可以选择 netduino。

这是一个商业化的解决方案,包括 SDK:
http://www.breezesys.com/DSLRRemotePro/features.htm

I've played a lot with these type of shutter remotes, for both the sony alpha and for the canon line of dslr's. For the cannon, it is usually a 2.5mm stereo plug. It has 3 contacts: ground, focus and shutter. Shorting each one of them and you will trigger that function in the camera.

http://www.doc-diy.net/photo/eos_wired_remote/

A few years ago, I designed my own circuitry that would take serial commands from the host (in my case an HP Pocket PC) and drive one of the lines down using a microcontroller GPIO port.

Nowadays there are similar devices with much easier connection and control options. And if you'd like to take the DIY road, there are very nice options such as the arduinos or if you're a c# addict, there are the netduinos.

Here's a commercially available solution, including SDK:
http://www.breezesys.com/DSLRRemotePro/features.htm

陌路黄昏 2024-09-20 02:37:09

在 .Net 中使用 USB 设备并不是最简单的任务...BCL 中没有用于处理 USB 的库。但是,可以使用 Win32 API。

这篇文章应该让您开始朝着正确的方向发展,只要您想追求这一点,就可以访问 USB 设备。

至于是否可能,可能是......我不排除任何可能性,但我认为如果可能的话,您需要大量的研究时间才能使其发挥作用。 (例如,我从未在 Win32 API 文档中看到任何允许您控制电压的内容)。然而,如果你能让它发挥作用,那就太酷了,光是满意度因素就值得一试。

已添加

我查看了 PInvoke.net(一个非常好的学习 Win32 API 调用的网站),看看它们是否涵盖了 USB 驱动器的电源管理,但我什么也没看到。

http://www.pinvoke.net/search。 aspx?search=usb&namespace=[全部]#

Working with USB devices in .Net is not the most straightforward task... There are no libraries in the BCL to deal with USB. However, it is possible to use Win32 API's.

This article should get you started in the right direction, as far as accessing a USB device if you want to pursue this.

As for whether it's possible, it might be... I don't rule anything out, but I think you're in for a LOT of research time to make it work if it's possible at all. (I've never seen anything in the Win32 API documentation that allows you to control the voltage, for example). However, it would be very cool if you could make it work, and the satisfaction factor alone may be worth the try.

Added

I took a look at PInvoke.net (a very good site for learning about Win32 API calls) to see if they cover power management for USB drives, and I see nothing at all.

http://www.pinvoke.net/search.aspx?search=usb&namespace=[All]#

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文