简体   繁体   中英

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. I made a search & found arduino more suitable for this task with my exposure to this field.

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. I am thinking to use any 8-bit variant of arduinio.

It really doesn't matter which Arduino you use since your requirements seem very simple. The Uno is fine.

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"). Be aware that you can't (shouldn't) power a solenoid directly from the Arduino.

As for using C/C++ - you can do that with the Arduino since it's Wiring language is C/C++ based. You can write in C/C++ or use Wiring. 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.

Finally, the Arduino forums are the best place to ask questions - huge, friendly community.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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