C: Industrial motor control with Arduino? Maybe. Remember the Arduino has electrical power and processing throughput limitations. The micro seems light-weight, but Arduino can be used for motor control.
I especially like the wealth of code examples that can be adapted for my application. Combine this with all the hardware support available makes development of a solution seem like 'play' compared to building something from scratch. Recommend newbies getting the Arduino Starter Kit, mentioned on the Arduino website and available from Digi-Key and other distributors for about $100US.
B: This environment may be useful for high school level or introductory class. In the 80s, I taught myself C from the Kerninghan & Ritchie book, 1st edition, using a cross-compiler and with a Fortran background. It was tough. The Arduino IDE will speed up introductory exercises. Teacher must emphasize the limitations and move to real C or C+ soon.
My opinions for some questions (in separate posts):
A: Yes, you can use the "Serial Monitor" to send text to the Arduino. You need to have code to accept the text and work with it, however. Reference the Arduino Help function for Reference.DevelopmentEnvironment.Serial Monitor for more information.
That's a very good question. The limitation is based on the Atmega328 microcontroller. If you are developing a real time application then this micrcontroller doesn't have enough bandwidth or processing speed to handle it. The clock for the Atmeg328 is only 16MHz. If the application is not critical then this platform is appropriate for such sensing/detection applications. I suggest obtaining the datasheet for the Atmega328 along with any appropriate Application Notes from the Atmel website. Also, the Arduino.cc website has an area called the "playground" that provides all sorts of cool interfacing tips, wiring diagrams, and sketches for sensing and motion control apps. Hope this helps!
@DaveWR - I just opened Studio 6 on my PC. It has been a while since I last used it and it came up with a list of updates. Right on top was "Arduino IDE for Atmel Studio 6.1 & 6.2. "Arduino for Atmel Studio and fully compatible extension fo rthe Arduino IDE."
Don, it seems an Arduino could be used to "wring out" a potential input or output device. For example, how fast could you take readings reliably from a Honeywell humidity sensor? That could be tested with different sketches. Then when the real application is written, you know what the I/O limitations really are. What do you think?
To build GPS or Drones, not all are for the arduino, it means we use many parts that we can control with other microcontroller without arduino! note: cesar philosophy is very useful!, divide and conquer!
@Robandee The Atmel Studio 6 has a plug in for Arduino development. Studio 6 is based on Microsoft Visual Studio and is very powerful (but bloated). I have not tried the plug in. It is a free download from Atmel.
An Arduino can control large motors. Several years ago I designed the power drivers for power wheelchair The arduino monitored the GPS and joystick and generated the PWM signals to drive the 2 H bridges
You can do some pretty basic motor control applications with the arduino - but I don't see it as a viable end-product solution. The limitations of the environment, psuedo-C, and pre-defined software make it a useful prototyping, lab-development and test-environment tool, but not for a high-volume end product.
Arduino could be used as a part of a C programming class, because it allows for a more visual response. It would be more fun that "Hello World", the issue is that they would need additional instruction on how to write software not directed to Arduino, i.e. the need for the main() program.
Q3 - can you design industrial motor control application? Yes, but make sure you know all the power requirements and make sure any connections to arduino inputs/outputs are properly sized. Don't want to fry anything.
Q2 - how can Fritzing be used as rapid prototyping tool? It helps you plan breadboard layout before you place parts. You can see all the connections and check they're correct before applying power.
Can the Fritzing Software be used in designing an Industrial Motor Controller application? - Absolutely. Arduino is often looked at as only a hobby board, but it works perfectly well for "day job" prototypes as well.
I would guess so. You would need to create the graphic objects for the motors and any other higher-level objects that are not already supported by the tools. I wonder if Fritzing allows you to create your own functional boxes?
Question #3: Anything is possible, but making a reliable, repeatable design takes more thought than is in evidence in this context. For instance, as the power is turned on and off, does the motor glitch, causing injury or death?
The trick switch needs a software timer loop to show that the time delay can be extended witout changing the values of the components on the board. This is a much more valuable lesson, showing that software can emulate hardware.
Describe how the Fritzing Software can be used as a Rapid Prototyping Tool? - I'm not that familiar with Fritzing, but it looks like a simple tool to design hardware based around Arduino. I wonder how 123D Circuits is related to Fritzing. They look quite similar.
Arduino good for learning C? Mixed opinion. Good because it takes care of most of the low level register stuff so beginners won't get bogged down in details. I think things like setup() and loop() instead of main() are a disservice to those learning C.
The beauty of the Arduino system is that it allows someone to rapidly show progress towards a goal. Then the refinement process can make things "better" and "prettier". The initial positive feedback of turning on a LED or making a motor move is a great motivator.
I think it is a good tool for beginners to learn the C language. I made a robot using an Arduino and a WiFi shield. My first project with it. And it worked well. So, for a a quick prototype situation, the Arduino makes for a good solution.
To answer the question: Arduino is a high level C in that the IDE is C macros. You can actually use native C in the Arduino sketch. But your Arduino code would not work in non-Arduino compilers. Not a good teaching tool for C per se, but good for beginning programming concepts.
Yes, it could be used to teach some of the constructs of C, but none of those that are not implemented in the Arduino C variant. Better to use a full C compiler so you don't need to explain the shortcomings. Microchip offers free versions of ANSI-compliant full-C compilers for PIC processors. There is a variant of the Arduino that uses a PIC processor, called the ChipKit-32
@LBROOKS: the toy robot kit I mentioned yesterday was actually German, not Russian. It's www.tinkerbot.net. It's also 'arduino compatible' - I'm not sure what that means. It's also compatible with legos.
Besides displaying text messages on the Serial Monitor, can it be used as a Command Prompt to control electromechanical devices like motors and relays? - The serial monitor can provide both input/control and output/indication functions if you've written the Arduino code to support it.
Hi all -If you don't see the audio bar at the top of the screen, and you have already tried refreshing your browser and using FF or Chrome as your browser, then your company is likely blocking the live audio stream. If that's the case, the class will be archived on this page immediately following the class and you can listen then. People don't experience issues with the audio for the archived version.
Hi all -Audio is live! If you don't see the audio bar at the top of the screen, please refresh your browser. It may take a couple tries. When you see the audio bar, if it doesn't start automatically, hit the play button. If you experience audio interruptions and are using IE, try using FF or Chrome as your browser. Many people experience issues with IE. Also, make sure your flash player is updated with the current version. Some companies block live audio streams, so if that is the case for your company, the class will be archived on this page immediately following the class and you can listen then. People don't experience any issues with the audio for the archived version.
-The streaming audio player will appear at the top of this web page when the show starts at 2 PM Eastern time today. If the audio doesn't start automatically, click on the play button to start it. Note however, that some companies block live audio streams. If when the show starts, the audio bar doesn't appear or you don't hear any audio, try refreshing your browser. If that doesn't work, try using Firefox or Google Chrome as your browser. Some users experience audio interruptions with IE. Also, make sure your flash player is updated with the current version. If that doesn't work, your company is likely blocking the live stream. The class will be archived immediately following our live taping and you will be able to listen to it then. You shouldn't experience any problems with the audio when listening on-demand.
Yeah Freescale offers numerous solutions with their FRDMs and Kinetis boards, which are way more capable, and as you mention they are Arduino shield compatible, but they learning curve is way more difficult, but its totally worth it once you want to move on to mature projects.
-You are eligible to earn IEEE Professional Development Hours by attending these courses and participating in the chat function. Additionally, we are no longer using the points system, offering "graduation", or giving grades. The IEEE hours are taking the place of that. There are some important things for you to know about earning the hours. The most important ones are that you need to attend these courses live, you need to attend a minimum of two of them per semester, you need to fill out a course evaluation form within 2 weeks of the end of the class, you need to attend 4 out of the 5 classes per course, and you need to participate in the chat function every day you attend. Please click on the link at the top of this page that says "How do I earn IEEE professional development hours" to read all of these important details and more.
-Please join our Digi-Key Continuing Education Center LinkedIn Group at http://linkd.in/yoNGeY and be sure to follow @designnews and @DigiKeyCEC on Twitter for the latest class information. We encourage you to tweet about today's class using #DigiKeyCEC.
Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.