在哪里可以从可编程硬件开始? [英] Where can I start with programmable Hardware?

查看:178
本文介绍了在哪里可以从可编程硬件开始?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经有一个渴望学习至少一点点关于编程硬件已经有一段时间了,我想这里要提出一些起点。我是一个具有Delphi和Objective-C经验的合理完成的程序员,但从来没有听过设备端口/中断(我甚至不知道术语),更不用说编程了一块硬件。

I've had a desire to learn at least a tiny bit about programming hardware for quite some time now and thought I'd ask here to get some starting points. I am a reasonably accomplished programmer with Delphi and Objective-c experience but have never even listened to a device port / interupt (I dont even know the terminology) let alone programmed a piece of hardware.

开始我想要做的是,


  • 购买一个简单的套件2, 3或10个按钮

  • 通过USB将设备插入我的电脑

  • 按下按钮,听设备并写一些代码进行操作

我认为这是一个很好的开始,任何人都有硬件购买指针或者我可以开始这个? p>

I reckon this is a good place to start, anyone got pointers on hardware to buy or how I could start this?

推荐答案

我喜欢 Arduino ,易于使用,开放源码和一个伟大的社区!

I like the Arduino, easy to use, open source and a great community!

很高兴开始使用,并使用C / C ++的一个子集。

Good to get started with, and uses a subset of C/C++.

此外,还有很多可用的插件硬件,如GPS,蓝牙,Wifi等。

Also, has alot of addon hardware available, like GPS, Bluetooth, Wifi etc

我从Arduino的经验已经不错了,从这个角度来看,你可以从它的盒子中(并在Windows / Mac / Linux上安装免费的编译器)来构建你的第一个素描(一个项目或应用程序)对于Arduino)。

My experiences with Arduino have been nothing but good, from the point you get it out of it's box (and install the free compiler on either Windows / Mac / Linux), to building your first 'sketch' (a project or application for the Arduino).

使应用程序很容易,您有一个安装程序方法,在启动时调用,然后在Arduino运行时循环的循环方法。

Making an application is easy, you have a Setup Method, which is called on startup, and then a loop method which is looped while the Arduino is running.

然后,您所要做的就是将输入或输出连接到Arduino板上的引脚,告诉代码他们是什么,希望你能得到所需的输出。

Then all you have to do is hook either inputs or outputs up to the pins on the Arduino board, tell the code what they are and hopefully you'll get the desired output.

另外一个关于Arduino(和其他我确定的)的真正好处是,现在你可以使用那些旧的破碎的打印机,或者2x CD-Rom的没有人想要,还有其他一点点的技术。令人惊奇的是,您可以在服务器机房找到!

One other really good thing about the Arduino (and others I'm sure) is that you now have a use for those old broken printers, or 2x CD-Rom's that no one wants, and every other little bit of out dated technology. It's amazing what you can find in a server room!

现在,我只处理小型项目,如插入LCD,阅读室温和各种项目像那样。但是,基于我所做的一切,我对Ardunio感到满意,它为嵌入式编程提供了良好的基础,如果还不够,你总是可以更大一点!

Now, I have only worked on small projects, like plugging in an LCD, and reading the room temp and various projects like that. But based on what I have done, I am happy with the Ardunio, it gives a good base to embedded programming and if it's not enough, you can always go bigger!

我的2美分!

这篇关于在哪里可以从可编程硬件开始?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆