简体   繁体   English

哪种型号的arduino用于螺线管输出项目?

[英]Which model of arduino to use for a solenoid based output project?

I am a software developer with no prior experience in embedded programming & electronics. 我是一名软件开发人员,在嵌入式编程和电子方面没有任何经验。 I have to build a project that requires microcontrollers inclusion. 我必须构建一个需要包含微控制器的项目。

The task is kind of(example) I need to generate Morse Code pulses which are to be output through a solenoid in the form of vibrations. 任务是一种(例子)我需要产生莫尔斯电码脉冲,这些脉冲将通过螺线管以振动的形式输出。 I would also like to use c/c++ as coding language. 我还想用c / c ++作为编码语言。 I made a search & found arduino more suitable for this task with my exposure to this field. 我进行了搜索,发现arduino更适合这项任务,我接触到了这个领域。

I would be grateful if you guys please comment on suitablility of it for this task. 如果你们能为这项任务评论它的适用性,我将不胜感激。 & also refer which model of arduino should I use. 并且还要参考我应该使用哪种型号的arduino。 I am thinking to use any 8-bit variant of arduinio. 我想使用arduinio的任何8位变体。

It really doesn't matter which Arduino you use since your requirements seem very simple. 因为您的要求看起来很简单,所以使用哪种Arduino并不重要。 The Uno is fine. Uno很好。

As for controlling solenoids, it is very easy using a transistor like the TIP120 - see this tutorial (and there are many others - just search for "arduino solenoid"). 至于控制螺线管,使用像TIP120这样的晶体管非常容易 - 参见本教程 (还有很多其他的 - 只需搜索“arduino螺线管”)。 Be aware that you can't (shouldn't) power a solenoid directly from the Arduino. 请注意,您不能(不应该)直接从Arduino为电磁阀供电。

As for using C/C++ - you can do that with the Arduino since it's Wiring language is C/C++ based. 至于使用C / C ++ - 你可以用Arduino做到这一点,因为它的接线语言是基于C / C ++的。 You can write in C/C++ or use Wiring. 您可以使用C / C ++编写或使用连线。 You can also set things up to use Eclipse if the barebones Arduino IDE is too primitive compared to what you may be used to. 如果准系统Arduino IDE与您可能习惯的相比过于原始,那么您也可以设置使用Eclipse。

Finally, the Arduino forums are the best place to ask questions - huge, friendly community. 最后, Arduino论坛是提问的最佳场所 - 庞大而友好的社区。

As you do not have almost any requirements - buy the cheapest one with integrated programmer. 因为你几乎没有任何要求 - 购买最便宜的集成程序员。 Maybe one of those? 也许其中之一? http://arduino.cc/en/Main/ArduinoBoardNano http://arduino.cc/en/Main/ArduinoBoardMicro http://arduino.cc/en/Main/ArduinoBoardNano http://arduino.cc/en/Main/ArduinoBoardMicro

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM