This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
我发现 phidgets 生产了一个非常简单的控制步进电机或 sorvos 的板 - API 非常好简单,并且可用于多种平台。
I've found that a really easy board to control stepper motors or sorvos are produced by phidgets - the API is incredibly easy, and available for a vast array of platforms.
您可以使用无线电控制伺服系统创建一个非常好的简单解决方案。 它们有多种尺寸,但即使是小尺寸也有足够的扭矩来移动大臂来移动 CD。
伺服系统的真正好处是它们通常具有 180 度旋转,并且内部有一个用于定位反馈的可变电阻器(变阻器)。 定位精度通常在 1 度旋转范围内,这对于 CD 装载机来说应该没问题。
对于拾取 CD 来说,没有什么比真空吸尘器更好的了。 我推荐一款小型电池供电的吸尘器。 将吸力引入 1/4 英寸的管道中。 在管道的另一端,直径一英寸的杯子应通过少量吸力提供足够的升力。
至于要刻录的空白 CD 堆,我建议将其向上移动,而不是用手臂向下移动。 顶部空白 CD 可能比 CD 托盘高约 1/4 英寸 - 通过这样做,臂只需要沿一个轴旋转,真空应该足以将 CD 从托盘中吸回。
现在,对于电子产品。 对于伺服控制,我建议使用 rs232 串行伺服控制器。 我使用过 http://www.basicx.com/Products/servo 中的一个/servo8t.htm,因为它还从电流消耗中返回扭矩信息。
对于低采样率数字 I/O,我建议(对于 Windows)inpout32.dll,它是一个 DLL,可让您直接访问并行端口的位。 这将使您能够在正确的时间打开真空吸尘器,并可能感知 CD 何时用完。 请注意,并行端口吸收的电流多于源电流,因此对于输出,您应连接到 5v 电源线,并将输出引脚设置为 0 以打开输出,设置为 1 以关闭输出。
另一个不错的选择,界面非常非常简单,而且非常便宜,是从 http://www.rev-ed.co.uk/picaxe/。 它们使用一种非常简单的编程语言(BASIC 衍生语言),允许您读取串行数据并控制一个芯片上的伺服系统和数字 I/O。 上次我使用它时,该语言有点简单 - if 语句必须跳过标签,否则不存在。
如果您确实使用微控制器和伺服系统,最好使用双电压电源,因为伺服系统噪音很大,可能会导致微控制器重置。
至于开关真空等负载,您需要使用 MOSFET 或(如果钱不是问题)更简单的选择,即固态继电器。
您在微控制器上使用的所有数字输入都应使用 5k 电阻拉至 +V 或接地,这样它们就不会浮动。
我无法强调 picax 是多么简单和便宜。 它们有一个内置解释器,因此尽管小型 8 引脚单元上的代码空间很小,但它们可以通过简单的串行引线进行编程。
祝你好运。 一旦进入自动化控制领域,您将永远无法停下来。 我正在建造一个 3 轴数控铣床,这样我就可以为其他项目切割零件(我告诉我的女朋友这是为了让她可以切割圣诞装饰品!)。
You can create a very nice simple solution using radio control servos. They come in many sizes, but even the small ones have enough torque to move a big arm to move a cd.
The real bonus with servos is that they normally have 180 degrees of rotation and internally have a variable resistor (rheostat) for positioning feedback. Positioning accuracy is normally within 1 degree of rotation which should be fine for a cd loader.
For picking up the CDs, nothing will beat a vacuum. I recommend a small battery powered vacuum cleaner. Funnel the suction into a 1/4 inch pipe. At the other end of the pipe a one inch diameter cup should provide more than enough lift from the small amount of suction.
As for the pile of blank CDs to be burnt, I would advise in moving the pile up rather than an arm down to it. probably having the top blank cd about 1/4 inch higher than the cd tray - By doing this, the arm only needs to rotate in one axis and the vacuum should be enough to suck the cd back out of the tray.
Now, for the electronics. For the servo control I suggest an rs232 serial servo controller. I've used the one from http://www.basicx.com/Products/servo/servo8t.htm as it also gives back torque information from the current draw.
For the low sample rate digital i/o, i suggest (for windows) inpout32.dll which is a dll to give you direct access to the bits of a parallel port. This will allow you to turn on the vacuum at the correct time and possibly sense when cd's have run out. Note that a parallel port can sink more current than it sources so for outputs you should connect to the 5v power line and set the output pin to 0 to turn on the output and 1 to turn it off.
The other nice option, which is very, very simple to interface and very cheap is to get hold of a picaxe from http://www.rev-ed.co.uk/picaxe/. These use a very simple programming language (a BASIC spin off) allowing you to read serial data in and control the servos and digital I/O on one chip. Last time I used one, the language was a bit simple - if statements had to jumped labels, else didn't exist.
If you do use a microcontroller and servos, it is best to use a dual voltage power supply as servos are noisy and can cause the microcontrollers to reset.
As for switching loads such as the vacuum on, you'll need to use a mosfet or (if money is no object) the simpler option, a solid state relay.
All digital inputs you use on the microcontroller should be pulled either to +V or ground with say a 5k resistor so they never float.
I cannot stress how simple and cheap the picaxes are. They have a built in interpreter so although code space is minimal on the small 8 pin units, they are programmable via a simple serial lead.
Good luck. Once you get into automation control, you'll never be able to stop. I'm in the middle of building a 3 axis CNC router so I can cut parts for other projects (I tell my girlfriend it's so she can cut out xmas decorations!).
您可能需要联系 Aaron Shephard 了解他的 Florian 项目。
You might want to contact Aaron Shephard about his Florian project.
我想我可以通过首先给出资源列表来缩短它:
http://www.embedinc.com/ 我相信这家公司会做得很好。 昂贵(实际上,它们在设计界的定价是合理的,但大多数爱好者和个人会认为昂贵)。 不擅长人际交往能力,但非常非常擅长他们所做的事情。
您应该查看各种微控制器社区和论坛,为爱好者和专业人士提供可以执行此操作的功能。 搜索 microchip、atmel、msp430、arm、powerpc 等。
Sparkfun 是电子社区的供应商 - 他们有很棒的论坛,您可以在其中发布您的请求,并且您会找到只需要材料成本就能做到这一点的人。 可能需要更长的时间,可能不那么“专业”或包装和交付得很好,但它可能是您最好的低成本选择。
有很多电子设计公司可以做到这一点(比如我就可以做这种事情)。
但是,有许多问题您尚未回答(并且可能没有研究过),这些问题可能会阻碍成功:
举个例子,假设您不需要漂亮的外壳,也不介意“原型”外观,仅机械、电子和固件设计(PC 上没有软件)可能需要 100-250 个计费小时。设计公司。 以每小时 90 美元的价格计算,一个原型的成本为 9000 美元到近 25000 美元。 添加 PC 软件和漂亮的外壳等,您的数量就会增加一倍。
如果您可以找到当地的“制造”小组(techshop、GoTech 或类似组织),那么您也许可以找到愿意以材料成本来实现此想法的爱好者。
但如果您定义您的目标,并向我们提供您的资源的了解,您可能会找到更好的答案。
-亚当
I suppose I might just shorten this by giving a list of resources first:
http://www.embedinc.com/ I trust this company to do good work. Expensive (actually, they are reasonably priced in the design community, but would be considered expensive by most hobbyists and individuals). Not great at people skills, but very very very good at what they do.
You should check out the various microcontroller communities and forums for hobbyists and professionals that can do this. Search for microchip, atmel, msp430, arm, powerpc, etc.
Sparkfun is a supplier to the electronics community - they have great forums where you can post your request, and you'll find people who might do it for fun with only the cost of materials. Might take longer, might not be as 'professional' or well packaged and delivered, but it might be your best low cost option.
There are many electronic design companies that could do this (for instance, I can do this sort of thing).
But there are many questions you haven't answered (and may not have researched) that could prevent success:
As an example, assuming you don't need the nice enclosure and don't mind a 'prototype' look, just the mechanicals, electronics, and firmware design (no software on the PC) would likely be 100-250 billable hours for a design firm. At a cheap $90/hr, that's $9k to nearly $25k for one prototype. Add PC software and the nice enclosure, etc and you'll double that.
If you can find a local 'Make' group (techshop, GoTech, or similar) then you might be able to find a hobbyist that is willing to play with this idea for the cost of materials.
But if you define what your goal is, and give us an idea of your resources you may find a better answer.
-Adam
如果您有一些电子产品经验,您可以尝试一下并自己构建它,例如 此或此。
我应该补充一点,其中包含原理图和源代码,并且在第一个项目中提供了更多详细信息。
If you have some experience with electronics, you can give it a shot and build it yourself, like this or this.
I should add that the schematics and the source code are included, and in more details in the first project.