HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Comments
You must login to participate in this chat. Please login.

Yes the serial monitor could be used to accept commands. A simple interpreter would need to be written

i don't see that chat session of wes ?

 

Iron

@bucknso

 

http://arduino.cc/ Is a good start point, if your native languege isn`t english you can find some pages translated to your idiom (many not updated to last version)

 

Iron

Thanks, Don and company.

Where and how do I access the IDE? Where can I find one online?

Iron

Do all Arduino boards use 20 Mhz?

Iron

Don , please plug and unplug your mic jack a few times to "clean"

the contacts and maybe fix the choppy audio. Thanks.   Good stuff!

Iron

Thank you for the presentation

Iron

You can get the Fritzing software at http://fritzing.org/home/

Iron

Thanks Don adn Rob et al.

Iron

Where can we get the Fritzing software?

Iron

@boylanko.   Thanks for the reference.

Iron

@boylanko, thank you!

Iron

uno, mega 2650, pro. pro mini

Check out https://www.sparkfun.com/categories/242

Iron

@boylanko, can you list a few of the variants? I am interest it, Thanks!

Iron

The PWM control can be used for medium and high power transistors for speed control.

Gold

but arduino has various and more powerfull processors

Iron

Thanks Rod & Don. Good intro to Arduino.

Iron

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.

 

Iron

Thanks rclipat for the comment. I'm glad your enjoying the lectures.

Gold

Thanks everyone for participating in the Getting Started with Adruino program. We'll see you again tomorrow.

Blogger

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. 

Iron

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.   

Iron

Thank you Don & Rob for the lecture. Very interesting.

I'm glad the slide helped out.

Gold

Where Can I download the audio?

Iron

@Zwilrich: Thanks for your response to my question on yesterday's Q/A. Definitely helps!

The fritzing software seems like a really good tool for hobby.

Iron

Thanks for providing that info to the community!

Gold

Can the Fritzing Software be used in designing an Industrial Motor Controller application?

I think an industrial motor controller application can be designed using the Fritzing Software.

My recent longish post is not coming through.   Can we get a log of this chat?

Iron

Ok, Interesting. I remember seeing a version of Visual Studio that had a plugin. Try looking into Visual Studio 5.

Gold

Absolutely. You are correct!

Gold

it is impoosible to follow this chat.

can a file of the chat be made and sent to the participants ? with links of the Q. to the A. ?

i don't know if this is possible.

 

Iron

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!

Gold

@jmelotte  Studio 6 is Atmel's IDE for their chips. I have used it with their MegaAVRs and ARM chips. The Arduino is based on the MegaAVR.  

Iron

thanks Don and rob I can't get the chat to cooperate very slow and it jumps with a lot of messages and it freezes.  very frustrating. see you tomorrow

Iron

what is the purpose of Studio 6 ?

Iron

@ucschmidt, I just tried it. I copied the error messages from the compiler output window into notepad

Gold

@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."

Iron

Thanks DIGI-KEY and Don's!!!

Iron

Thanks, Don.  See you tomorrow.

Iron

In addition to the Arduino, Fritzing has models for passive and active components along with other microcontroller platforms like the Raspberry Pi and the Basic Stamp.

Gold

bye.  Thanks, rkemodel!

 

Iron
Just find any tutorial on internet ANSI C, there are many!
http://www.lysator.liu.se/c/bwk-tutor.html
http://www.tutorialspoint.com/ansi_c/c_introduction.htm
.
.
.
Iron

Is the audio session recorded in the archive for replaying?

Iron

@78RPM...... I want to save the output (error messages ) of the arduino compiler for further study

Iron

the chat is overloaded I was able to find one question:

Besides displaying text messages on the Serial Monitor, can it be used as a Command Prompt to control electromechanical devices like motors and relays? 

Yes

Iron

@darin:  Studio6 supports the ATmega's which some Arduinos are based on.

@rkesmodel:  shields, yup - good for prototyping too.  Thanks.

Iron

Are there plugins for Visual Studio?

 

Iron

? Can Frizing be used only with Arduino boards?

Iron

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?

I believe other IDE's like Visual Studio 6 will allow programming the Arduino as well.

Gold

thanks Don and all, see you tomorrow.

Iron

Describe how the Fritzing Software can be used as a Rapid Prototyping Tool?

I'm not familiar with Fritzing, but it looks like a simple tool to design hardware based around Arduino.

e_tang - Additional advantage is the wealth of 'shield' (add on boards) available

Iron

I'm glad the repeat of the slide helped.

Gold

Sketch to do PWM motor control...

 

http://forum.arduino.cc/index.php/topic,42095.0.html

Gold

Studio 6 does not support the Arduino devices -- jus these:

6. Supported Devices ................................................................ 19
6.1. AVR UC3 ........................................................................... 19
6.2. AVR Mega .......................................................................... 20
6.3. SAM .................................................................................. 24
6.4. AVR Tiny ........................................................................... 27
6.5. AVR Xmega ......

 

Iron

Thanks, rkesmodel & others.  You're right with the time factor, otherwise home brew PCBs could be cheaper...

Iron

cghaba - Yes. and the references are very easy to get to.  Right in the top menu

Iron

Correct. In addition to turn on/off the motor, PWM will allow speed control of the motor thru the transistor as well. Well done!

Gold

? Can the Arduino board be programmed only using the Arduino IDE?

Iron

e_tang - if you figure your time into it - WAY cheaper

Iron

@uscschmidt and @jmelotte, I like to copy/paste the chat postings into a document and store it in the same folder I downloaded the slides to.

Gold

signing off now. Have a great everyone.

Iron

It was good that the information from slide 8 was repeated on slide 9 as it was virtually impossible to read on slide 8. Th text was very faint.

This is a good starter for me as I do not do much programming.

That is great o know that Radio shack sell Arduino. Thank you guys. Hear you tomorrow.

Iron

I need to learn basic C first please help with ref. book.

 

Iron

OK on sources, thanks.  Just wondering which was cheapest.  Thanks again.

Iron

Correct. You can buy the Arduino from Radio Shack.

Gold

so a file with all of them will be very usefull.

 

Iron

E-tang - less than $50 US

Iron

I was just going to say that get it at home

Iron

it is impossible to follow now all Q&A online

Iron

Yes, I believe you can buy the Arduino from those sources. In yesterday's slide deck I provided a resource page which list suppliers you can purchase the Arduino.

Gold

At first we having trouble with audio, but it turns out great.

Iron

People who can't get the audio due to firewall at work, etc, can just download it at home.

Gold

Radio Shack sells Arduinos now as well

PWM is a way to control transistors for motion control

Iron

can you make a file with all the questions and answers at the end of the serie.

that would be very usefull, i think.

 

Iron

@rkesmodel: Thanks, but is it cheap vs making my own?

Iron

To download the chat, everybody, just select all in your browser, copy, then paste into a text file

Gold

Still waiting for a way to get the audio.  I am having no luck from the archived version.

Iron

Very Interesting.  I don't know C+ but I did assembly language on Z80's and the Intel 8080A, 8085, and 8086 and this is still different.

Thanks Don for great lecture

Iron

PWM is control of transistors

Iron

Yes, I believe you are correct. I know Atmel uses Studio 6, therefore there's probably a provision within the IDE that allows programming the Arduino in that environment.

Gold

Hi Jmelotte, the program will be archived in just a few minutes, so you can page through all the comments at the time of your choosing. 

Blogger

I believe you can get Arduinos from Allied or Digikey now.

Iron

is the PWM function only for low power motors or can this be used with transistor control?

Iron

Yes, I too would like a download of the Q&A.

Iron

Thanks for the session

Iron

Where's the cheapest place to get an Arduino?  I like the Atmel STK500 & 600 but it's for prototyping and way too expensive for hacks.

Iron

DLK70;

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!

Iron

AVR Eclipse Plugin

http://avr-eclipse.sourceforge.net/wiki/index.php/The_AVR_Eclipse_Plugin

fwiw

Iron

Fritzing is available for Linux

Gold

Thanks for today's session

Bronze

??? Is there a way to output the output Window contents to a text file for printing ? It would make error interpretation so much easier.

Iron

dear,

please can i downloas all questions and all answers ?

i am too new in Arduino.

Melotte Joseph

 

Iron

what was question 1 and 2 the chat is not cooperatining with me today

Iron

FYI  The Audio is still a bit noisy.  Better then yesterday.

Iron

@lbrooks, you need a motor controller interface. The Arduino pins are only good for a few milliamps output.  The Arduino can do PWM to a motor controller.

Gold

Yes, pin 13 has the onboard LED wired to the Arduino directly.

Gold

For the ARM M4 Arduino you can use Studio 6 or any of the standard packages including CooCox

Iron

Once C1 charges it's going to take a while to discharge.  You need a bleeder resistor.

Iron

Most of the heart of an industrial controller applications is now done in software, so using Fritz to document how the Arduino is interconnected with the motors and switches is a good use.

Can I use fritzing in Ubuntu?

Iron

This lecture provided the answers to the "why" the IDE is the way it is.  Thanks for the background info.

Iron

Also can use L293 chip which has 4 motor drivers to control DC motors. If you need more ampacity, just piggy back chips on top of one another. They're about $1 a piece online.

Iron

@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.

 

Iron

HAve a good day everyone

Iron

Some responses to the questions:

I think it is possible to use the command prompt to have some control of the product.

I think Arduino could be a good tool to use to help instill interest and gain some of the basic understanding of coding.

The Fritzing tool looks like it could be helpful in developing prototypes.

These tools could be used to design an industrial motor control.

Iron

day 2 arduino:

slide,8,9,11,12,14:

can't read all text;

how must i download the talk ?

is there a book of 'basic projects book

or what is the website ?

can you give more on Fritzing, website, .. ?

br

 

melotte joseph

in Blgium

 

can you send these questions with your answers please.

 

Iron

Would not use this to learn C. No pointers in this type of code

 

AVR Freaks may answer a lot of questions

http://www.avrfreaks.net/

fwiw

Iron

That's correct! The Aruduino doesn't have the current sourcing capability to drive a motor directly. Therefore, a transistor relay driver will do the trick for operating a motor. Well done!

Gold

It's an Atmel uC, WinAVR will work for it.

Iron

Q2: I make the schematic first, then directly wire the board. Once you know how the pins are connected under the board, everything is intuitive. Don't think the Fritzing software is necessary...

Pin "onboard LED" isn't of pin thirteen isn't shown in slides 12 and 13.

I think you said that slide 14 deals with an onboard LED.  So, is the LED hard-wired to the Arduino board itself?

 

Iron

Most of the arduino books I have seen offer beginner/medium examples/projects.  Is there a book that gives a little more complex projects, like programming a drone or GPS display?

Iron

What is the shortest cycle time for reading input? (like for monitoring an anemometer)

Iron

Thanks for today great speah.

Iron

@Don great lecture too and thanks

Iron

How do we know if the ARM microcontroller use his engine DSP for ADC signals? in other micro we can acces to register to manage this??

Iron

Q1: Yes, you can use the "Serial Monitor" to interact with Arduion code.

Q2: Not a good choice for learning C

Q3: Yes, with a power transistor, or transistors you could control a motor using PWM.

Iron

thanks for the lecture

 

@jog.chandan  See my response to your question yesterday on yesterday's chat log at 3:54:04 PM.

Iron

very interesting, but can u stress more on coding

Iron

Thanks Don and Rob.

Iron

Thanks Don, good lesson to start. 

Did anyone ever say if there was "simulator" software to run programs on before uploading to hardware?

 

Iron

@Don Not sure if this question has been answered before


Can you use IDE like WinAVR for Atmega uC's and develop code for the Arduino board?. 

Iron

Is there any way you can pull or copy the code that is currently on a Arduino board?

Iron

Thanks, Don.  But would be much more useful if there was some way to get the audio.  PLEASE ANSWER.

Iron

thank you - very informative

where can i find your book?

 

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

Iron

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.

Iron

Thanks, Don, Rob, and Digi-Key

Gold

To use the high power motor I will use a relay contact on one of I/O pin on board control via transistor.

Iron
Can you see memory locations in the IDE?

Thanks, Don.  I have been looking at Arduino boards for awhile now, but never bought one.  Maybe now I'll get one.

Thanks for the intro.

Iron

Don, how would you unit test our code for arduino for complex logic?

Thanks Don. Missed the first part due to login issues, but I'll catch the recording. 

Gold

Don,

    What's a good resource (book, website, blog, etc) to look at for Animatronics?  I work for a museum and we want to test out a animatronic head with moving eyes and mouth.

Iron

motor control is possible, and there is numerous interfaces for the arduino , even an interface for 3d printers

Iron
Q: Is there a standard IDE that can be used for Arduino development?
Iron

Great lecture, excellent

Iron

Thanks Don and Rob...

Iron

Yes. The Arduino IDE is like a water Eclipse development tool. 

Gold
Is there a void main() function built in the void loop() function?
 

Thanks, See you tomorrow

Iron

Thank you for the presentation

As far as a motor controller I expect you will need motor drivers to handle the current. Other than that why not the Arduino and code seem up to it.

Iron

Thank you Don and Rob.

Iron

Motor controll question


Yes you can you them IO pins to turn on power transistors which in turn on motors. used Atmega to turn off and on selonoids pulling 250mA before

Iron

@rkesmodel, I don't think you can download it. Try going to a wifi hotspot with your laptop -- Starbucks?

Gold

JOE From Ozarks, use opto-isolators

Iron

Debounce is probably provided by the RC.

Iron

switch debouncing might be useful...

Iron

Thanks, wondered where "Sketch" came from

Thank you Don and Rob.

Iron

Thanks from Flushing Michigan

Iron

Thanks Don, audio still rough

Iron

WE are using it also as a motor controller, Thanks guys

Iron

78RPM  +1 on debounce.   :)

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.

Thank you for the interesting presentation.

Iron

Control side of Motor is possible..but be careful ..you have to handly with high currents and voltage on the motor side so try to isolate with optocouple the control, side!!!

 

Iron

Thanks Don and Rob. 

Iron

Thank you,Don and Rob!

Iron

Can we use other standar IDE for arduino like Eclipse??

Iron

On slide 14 it might be good to add switch debounce code

Gold

Very interesting. Thank you.

Iron

@don: Q3, i think it can be converted motor control application.

Iron

Still need to know how to get audio!!! IT folks are blocking streaming.  Unable to get audio from archived version (yesterdays).  Any way to download it???

 

Iron

I think the setup just answered my question

Iron

Motor control is possible.  Stay within the electrical limits of the Arduino IO.

Iron

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.

Iron

I think It all possible to do that

I'm thinking I can modify my kids power wheels truck with this

Iron

Answer . Don's question:
Can the Fritzing Software be used in designing an Industrial Motor Controller application?
Yes!, if we can manage the signal of control, just the power have to be developed!

Iron

I think this product would be great for an intro to C, then learning to prototype. Wish this kind of thing exisited when I was in school :)

Iron

Yes it can be used for insdustrial proto.

Iron

Need to know more about the requirements, I don't deal with industrial motor controllers.  It seems possible, but maybe not feasible.

 

Iron

Depends on motor control timing requirements.  The arduino library does a lot under the covers but its not efficient for io.

Iron

Regarding Friztizing Wiring diagarm it is possible to prototype documentaion.

Iron

Yes it should support motor control, it has PWM as well as other interfaces.

Iron

How do you control direction on pins D0-D13?

Iron

Using small driver transistors on a motor may provide an alternative learning experience, like "what do hot transistors smell like?"

High power MOSFET's (loads) and breadboards typically do not get along.    :)

 

We're now on slide 14.

Blogger

Industrial motor control can be prototyped using fritzing. Care must be taken to parallel connections to be able to carry the required current

Iron

I've done it. Using Arduino to control speed input to 10 HP VFD for pumping application. Also using ultrasonic sensor to vary drive speed input based on depth of water

 

Iron

I haven't done it but I assume the Fritzing Software could be be used to design an Industrial Motor Controller.

 
Iron

yes sure ; I'd use an external motor controller (chip or off-the-shelf board) and control it from the Arduino

Iron
It is probably quite easy to develop motor controls. The PWM output channels would be quite helpful.
Iron

Yes it'll prototype a basic motor control circuit.

Iron

Fritzing can be used if all the parts are properly identified.

Iron

yes for motor control,  not sure I would want to control a 30 ton press with it though ...

Iron

Wonder how big the parts library is in Fritzing

Iron

Can the Fritzing Software be used in designing an Industrial Motor Controller application?

Yes I believe so 

Iron

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.

Iron

Can the Fritzing Software be used in designing an Industrial Motor Controller application?

yes. you can prototype the hardware and software

Iron

Fritzing looks like a useful tool

Iron

Q3: Yes, it's possible.

Iron

Surly, it is a good tool to teach C language, as C is the language that we can control the real things.

Iron

Industrial Motor Control....  Would not at this time

Iron

Always protect the Arduino's pins when interfacing to the real world (motors, etc).

Iron

Fritzing is good enough for prototypes that are then turned over to a drafting group to pretty up for manufacturing.

Iron

Yes, a simple one.

Iron

I've used a 3M breadboard to build a control circuit for a low light starlight camera.

It may be possible, but it is not the most efficient method.

Iron

Yes, I've done it myself (a very simple one, of course)

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?

With hefty support circuitry you could probably make an industrial controller.

Iron

The board can be used for small motor design prototype.

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?

Examples are mixing Pin12 and Pin13  (FYI)

Iron

Might be able to develop an industrial motor control prototype, but depends on the requirements for "industrial" (e.g., BOM generation).

Iron

Seems like a controller should be relatively easy.  

Iron

Fritzing could certainly be used with a motor controler

Iron

Yes, I believe you could prototype a motor control circuit.

Iron

Industrial motor control? - I see PWM outputs so probably.  Don't know about interrupts, though.

Iron

Seems like the Fritzing tool would be somewhat cumbersum to use for design. More of a teaching tool.

Bronze

Industrial Motor Controller; yes, but only if the motor is low-power.

Iron

Q3: You would just need to add a motor controller to the Fritzing schematic. You could use discrete MOSFETs, but better to use an off-the-shelf motor controller.

Gold

As long as you take in consideration the motor currents - you should use a power relay with a transistor or FET driver for the relay coil

Iron

just add the motor control chips and motor..  :)

Iron

Proof of concept before adding bells and whistles.

Iron

diagram and motor control possible using pulse width modulation

Iron

Yes. But, only in its very basic way.

Iron

Yes for motor control

Iron

yes it is possible to design an industrial motor control circuit with the arduino and the Fritzen tool

Iron

It seems possible to develop a prototype of an industrial motor control application.

Iron

can i use arduino , as a time triggerz ,  as a clock for other system

 

Iron

Q3  Yes it is posible to design an industrial motor controller

 

Iron

Yes, you could use it for a prototype.

Iron

Yes it is possible

 

Iron

Yes it is possible to create an industrial motor control application

Iron

You can resolve the layout prior to plugging in any components...

Iron

to time to market more faster!, them we can pass to something more sophisticated!

Iron

yes it is possible to design an industrial motor control.

Iron

Describe how the Fritzing Software can be used as a Rapid Prototyping Tool? 

Unfortunately I'm not that familiar with Fritzing Software

Iron
OK for prototyping, if you can stay within the language and library limitations.
Iron

@freedomtech, carefull though, you need to make a few adc setting changes first, not just hookup a voltage to Aref.

Iron

Yes, it is possible to design an industrial motor control.

 

Gold

We're now on slide 13.

Blogger

Can the Arduino be a good tool to teach C programming?


from the samples I see that is C, so the answer is yes 

Iron

Looks like a good tool for the beginner- intermediate designer

Iron

Please write that on the slide. What is the schematic diagram tool? Fritzen? Tritzen? Whatsin?

Gold

Don's question:

Can the Fritzing Software be used in designing an Industrial Motor Controller application? 

Blogger

it helps laying out a bread board design

Iron

Fritzing - not familiar with, but looks like a great 1st step.

Iron

Audio much better now...

@freedomtech, the arduino adc can be scaled by the Aref input pin. 0-1023, 0VDC to ArefVDC

Iron

Answer:  Don's question:
Describe how the Fritzing Software can be used as a Rapid Prototyping Tool?

I think is much better to document and create diagrams printed circuit to manufacturing  later

Iron

fritzing looks cool.

Iron

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.

 

We're now on slide 12.

 

Blogger

As an alternative to Fritzing, look at http://123d.circuits.io/

We're now on slide 11.

Blogger

Audio seems to have cleared up some.

Iron

can the analog reference pins be used to scale the a to d's to narower ranges

Are any of these exemples available for download?

Iron

You can see the "constants" like HIGH and LOW in the reference at: http://arduino.cc/en/Reference/HomePage

Iron

Q3: I'm not that familiar with Fritzing software . I acn not comment about that.

Iron

The IDE looks good for teaching the language but maybe not the associated tools such as linking and locating.

Iron

Can the Arduino be a good tool to teach C programming?

Yes, for first steps to begin more deep in C+

Iron

We're now on slide 11.

Blogger

Hog mode delays within the loop function will tie up the processor, preventing it from doing anything else. For a simple LED blink it works, but not good for anything more complicated.

Can the Arduino be a good tool to teach C programming?

I don't think so.

digitalWrite must be a library routine since it is not defined anywhere in the progream.

@MattNH, yes, they are defined in the language

Gold

We're now on slide 10.

Blogger

Anything you can do to help educate programming is a plus

Iron

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.

Iron

Teaching C and using to prototype -- Done both -- so yes.

Iron

Good for learning C? Maybe as long as you're clear on the limitations.

 

Iron

I think Arduino is a good starting point for teaching C

Are C standards for local and global variables adhered to?

Iron

We're now on slide 9.

Blogger

Are "HIGH"/"LOW" predefined in the language?

Iron

For a "simple proof of concept", rapid prototyping is a plus in the development process. 

Iron

Ardruino should be good for rapid prototyping of simple programming development.

Iron

The "loop" function is something like a "main"?

Iron

Can the Arduino be a good tool to teach C programming?

Yes, it all depends on the teacher.

Iron
Ok for very simple C, if the limitations are made clear, upfront.
Iron

Can the Arduino be a good tool to teach C programming?

It could be.

It depends on students with or without programming background.

Iron

Also, it depends how you teach C using Arduino, a good teacher can introduce various aspects of programming and electronics.

Iron

Looks good for prototyping basic functionality. Jury is out on complex prototyping.

Iron

Im not sure if it would be good to teach C with

Iron

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.

Iron

Probably good for generic programming education but limited for C.

Iron

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.

hello. sorry little late. Ed 

Iron

The IDE and an Arduino is oK as a prototyping tool.

Iron

Yes, sort of, but only for very beginning

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. 

Iron

yes it is an expedient tool for rapid prototyping on a smaller scale

Iron

The archived Audio has the same issues as the live audio. It seems like a bandwidth problem from Don's end.   Although choppy it can be understood.

Iron

Thanks Don for the presentation and helping us get started with the Audunio platform.  One thing that can help is to have an indicator on the web page indicating what slide the presentation is on.

Iron

As mentioned, Arduino IDE is a good, basic environment.  Again, great for beginners. But also great for quick prototyping.

Iron

Any good C learning books.

Iron

I don't like it to teach C because for a new programmer it's hard to tell the Arduino keywords from C.  It's an excellant prototyping tool, especially for non programmers

 

Iron

Yes, it should provide fundamental theory in programming.

Iron

Using Arduino to teach C: probably not.

Iron

@don, Q1. it is ok for teaching c for beginner but no full concept of CS programming.

Q2, it is good tool to deverop the application using this IDE.

Iron

Besides displaying text messages on the Serial Monitor, can it be used as a Command Prompt to control electromechanical devices like motors and relays?

Yes, it can be used to control electromechanical devices.

It can help you if you are not using "real" C.

Iron

It can be use to teach programming.

Iron

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.

Gold

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

Can the Arduino be a good tool to teach C programming?

It should be.  Yes to get started but no for finer points.

Iron

Good for rapid prototyping: easy to modify code and retry

Bronze

I believe people have written Arduino interpreters for Python - yes?

 

Gold

Answers for Don's questions....

Could it be used for teaching C? ...I've never used the Sketch environment but it seems like it would be good for beginners as an introduction to C.   I would say yes.

Use as Rapid Prototype Tool? ... Yes it would be easy to play "what if" try something and then change it, upload, try again. etc.

Iron

Absolutely as a rapid prototype environment. we use it here to put together various hw tests against our product.

Iron

Q3;  THe editor is very simple, so frustrating to use if you are used to a better editor.  but for starter folks, its nice and simple.

Answers for Don's questions....

Could it be used for teaching C? ...I've never used the Sketch environment but it seems like it would be good for beginners as an introduction to C.   I would say yes.

Use as Rapid Prototype Tool? ... Yes it would be easy to play "what if" try something and then change it, upload, try again. etc.

Iron

We uses it as a tool in teaching microcontrollers at the two yr college

Iron

Teach C language? 


Yes but not the full functionality the Ansi C offers. May be an intro

Iron

The Arduino does seem to be a good prorotyping tool.

Iron

Good morning everyone

Iron

Not great to learn C, but solid for rapid prototyping...

Iron

THe Arduino is a good tool for teaching programming concepts using the "C" language.

 

Iron

the arduino certainly helps in rapid system development, prototyping and creating functional simulators for test.

Iron

Arduino could be used to teach "C" only recognizing that the languages' Venn diagrams only intersect about 5%

Gold

With current setup, the ide is not enough to be considered as a tool to teach language C.

Iron

Can we use any other scripting language like ruby/python/lua with arudino IDE?

To teach C?- No, but to introduce programming concepts, yes.

Rapid prototype? - Yes.

Iron

The IDE has its limits and I think it can not be used to develop big applications

Iron

Don's question: 

Describe how the Fritzing Software can be used as a Rapid Prototyping Tool? 

Blogger

probably not good to teach C via Sketchs

And the IDE is sure to be quick to use.

Iron

Sort of, but not really since it is a variant.

yes, Arduino/Processig is a great tool to teach programming, Processing is Object oriented

i wouldnt use this for teaching C

Iron

Arduino can be used to teach C and at the same time giving some feel for the real-world devices.

Iron

Could be used for teaching C language, but not as good of user feed back and guidance

Bronze

I think its more for a high level easy programming language, just learning how to use APIs but not the low level programminc, which would actually be C

Arduino code is C-like.  Not C.  It has its own commands and syntax

Iron

It is probably an ok tool for C but it would skip a lot of the core setup rquirements for C programming.

Iron

For a begginers course in C, I believe so.

Iron

I would think Arduino would be a great place to start C programming.  But probably just for beginners.  To really dig deep, you would need real C

Iron

The Arduino is actually programmed in C+ (C plus plus), not C.

Iron

The purpose of an IDE is facilitate software development.

Iron

We're now on slide 7.

Blogger

Yes it is a good tool to teach C programing

Iron

Yes, but just start out with a C compiler, not a C variant.  C can be tought straightforward enough to not need a watered down version.

Iron

Yes because there is an ultimate and tangetial result of your code.

Iron

Yes, to get students started in programming

Yes it is a rapid prototyping tool

Iron

Yes. It is a good rapid prototyping tool. That's how I use it, anyway.

Iron

Arduino to teach C? Not really...

Iron

Sounds like Arduino IDE might be a solid intro to full blown C

can program using arduino language, c and c+

Iron

Would rather teach C with true dev environment...

Iron

I don't think you can effectively use an Arduino to truly teach the C language.

Iron

It could be a first gradual step.

Iron

Arduino will be ok to learn programming in general

Iron

If the Atduino uses a variant, then it would be a poor choice to teach C

Iron

Q2:  No, it leave out important items of C, so in a real C compiler, they will be confused and stuck..with compile errors.

@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. 

It would certainly be agood tool to teach beginners the C programming language

Iron

The basics of C are present with Sketches, but ignores the myriad of built in functions

 

Iron

Can the Arduino be a good tool to teach C programming?

It should be.

Iron

Switched to Firefox, audio is fine

Iron

Yes it is a good tool to teach C programing

Iron

slide 6 yes good re-usable code

Iron

Yes. This is a good tool for teaching an intro to a 'C' like language.

Iron

So are the setup and loop fixed rquired functions?

Iron

probably not a good tool to teach C

Iron

We're now on slide 6.

Blogger

Hmmm. It looks like you can use the if {Serial.available > 0} {
...
}

to add text handling code in your sketch

Gold

Don's question:

Can the Arduino be a good tool to teach C programming?

Blogger

answer,Don's question:!

Yes, I think it is possible to connect the serial to mange orders!.

Iron

Can we get the audio debugged before tomorrow's session?

Besides displaying text messages on the Serial Monitor, can it be used as a Command Prompt to control electromechanical devices like motors and relays? 

Yes, absolutely!

Iron

You may have to choose the serial port you want it to connect to

Iron

C, really? I thought it was based more on Java, like Processing.

At slide 4, Don should mention that comment lines start with slash-slash

Gold

? Could you write code on C+ and then compile to Arduino code?

Iron

NOT correct about archived audio.  I just checked yesterday's lecture and can find no way to download it.  IT folks still blocking streaming.  How can I get the audio???????

Iron

Besides displaying text messages on the Serial Monitor, can it be used as a Command Prompt to control electromechanical devices like motors and relays?

Definitly

Iron

Interactive control via monitor?

I'll say yes

Iron

Band aid for audio problem:

The audio for each day is being archived. Click on the "Archived Classes" on the top banner and then find the day and class you want to listen to. Day 1 (yesterday) is posted.

Iron

Yes the USB is a bidirectional comm. port.

Iron

We're now on slide 4.

 

Blogger

Source code can be found at
https://code.google.com/p/arduino/

Iron

The user can write a single-character "menu" program to easily control a motor.

It's impossible to follow session with this audio.

I'll try again tomorrow.

Bye

Iron

For an Arduino emulator/simulator, check this out:

http://123d.circuits.io/

 

Yes, you can use the serial.Read() command.

Iron

Does the serial monitor automatically connect to the board?

Iron

Sound still choppy today.

 

Iron

Rob would you please type the question? cause the audio is very chopping.

Iron

yes you can send input

 

Iron

The term "Sketch" is great, since most of us write sketchy code!

? Is it possible to use the command prompt to control the arduino with the command line?  ANS:  Yes.  It only takes code to intrepret the input from the command line.

Iron

I don't know as I didn't really used it, I'm new to Arduino

Iron

It's a command prompt, so it should accept commands

Iron

if the read is turned on for the port

Iron

I would say yes if you could enter text remotely?

Iron

Yes you can use the serial monitor interface to provide input to an application.

Iron

Q1: yes if you write the code for it.

Iron

If the application is written to accept, SM should allow communication.

Iron

Yes, code should allow the command.

Iron

Don't see why not...

Iron

definitely, but your code has to accomodate that input.

Iron

I dont think you can 

Iron

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.

Iron

I assume you can control your app through the serial port as long as you put a serial input and command handler in your code

 

I think it is Read only.

Iron

A question I asked yesterday.... is there an Arduino emulator so we don't need to connect to an Arduino to test our code?

Iron

re command prompt, yes...

Iron

slide 5, I do not know if... or no

Iron

Yes I think it is possible to connect the serial monitor to the core code.

Iron

Yes you can type in control messages

 

Iron

Yes, the serial monitor lets you send things to the Arduino.

Iron

yes you can send seriall data back to Arduino via SM

Iron

there is a command to read from the command line but I can't quite recall it

 

Iron

I guess it is used as the input for the serial connection.

Iron

Should do.  The serial connection is USB which is two-way, so you should be able to send data to the USB chip on the Arduino

We're now on slide 6.

Blogger

It is possible to interact with the program and the ARduino -- but I'm cheating and have used them.

Iron

Yes, within a program it is possile to use the serial monitor command line

Iron

Yes there are issues with the archived sessions.

Iron

yes, can send 1 line at a time to arduino, no term, cr or cr+lf

Iron

Coomand prompt - sure.

Iron

yes if your code supports it

Don's question:

Besides displaying text messages on the Serial Monitor, can it be used as a Command Prompt to control electromechanical devices like motors and relays? 

Blogger

Hi form Sacramento CA

 

Iron

audio is choppy in Firefox and Chrome too

Iron

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.

 

A few minutes late in getting in!

Sound mediocre at best.

Iron

Sounds like audio input is being saturated, or encoding rate is too low

You said the IDE is open source, where can I get the source code?

Iron

Midnight at nagpur. :)

Audio is still hard to listen

audio is getting rough and choppy

Iron

We're now on slide 5.

Blogger

Audio  OK, but still clipping!!

Iron

error checking is for syntax it doesnt mean the program will work

Audio is server limited?

How many people are connected?

Iron

How can we get Continuing Education credits if we can't hear the audio?

Iron

Good morning from Hillsboro, Oregon.

Yes, very choppy like yesterday

Iron

audio is getting rough

Iron

The audio starts to break

Iron

Audio level is OK, but still clipping

Iron

Processing is the base of Arduino with more graphic treatment...you can run Processing on the Arduino Sketch

 

Iron

@opharry, yes, the IDE error checks for syntax

Gold

Hello from Pittsburg, KS

Iron

It seems like the more people that are connected it gets choppy.  Must be a bandwidth issue.

Iron

Audio is getting worse

 

Iron

audio getting worse...

Does the IDE error check?

Iron

Is there a dial-in for audio?  Thanks.

We're now on slide 4.

Blogger

Yep.  IT folks are blocking it here.  Even with Chrome

Iron

Audio level is OK, but still clipping like yesterday.

Iron

check out www.Processing.org to learn more about the language that Arduino is based on

audio is still choppy

Iron

Looks like audio is still breaking just like yesterday

Iron

audio was good at start.  But Don is now breaking up like he did yesterday.

Iron

Hi from Colorado Springs

Iron

Good afternoon from Western PA

Iron

Your audio is OK but it's still a little choppy....

Iron

Hello from Bradenton, Fl

 

Iron

hello from upstate NY!

 

Iron

We're now on slide 3.

Blogger

Audio still breaking up.  It does sound like clipping.  Maybe Don is too close to the mike

Iron

audio is still choppy.  Don must be too close to the microphone...

Iron

We're now on slide 2.

Blogger

Do you recomend a "starter kit"?

Iron

Hello all from Salt Lake City, Utah

Iron

Hello from Rio Rancho, NM

Audio pretty good.

Iron

Audio seems much better so far today.

refresh your browser if no audio

Iron

Hello from Albuquerque.

Iron

Hello from SE Lake SImcoe Ontario

Iron

Sounds great to me.

 

Blogger

Hello from Montreal, QC

Iron

Cristal Clear (The Audio).

 

Iron

Hello from Greece.

Iron

ihave now audio

 

melotte joseph

 

Iron

Audio should start shortly

Hello, Millington.  Used to camp there as a Boy Scout!

Iron

Howdy, from Austin, TX

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.

Here again from Canton, Ohio

Bronze

i have no audio,

 

melotte joseph

in belgium

Iron

no audio here yet.

Iron

Hello from Millington Michigan

 

Iron

Present and ready to learn

Iron

No audio yet.  It will start when the class starts

hello from Hendersonville, NC

 

Hi, from Montréal, Québec

Iron

No audio until 2pm sharp

Iron

Hello from sunny Salt Lake City

Iron

Hello from Thornville, Ohio

Iron

Hello from sunny Sunriver, OR

Iron

Good morning from Valdez

Hello from Nova Scotia

Iron

Please, confirm, if we have audio?

 

Iron

Hello from Toronto!

 

hello from Long Island, NY

Iron

Hello from Minnesota

Iron

Hello from Montreal

Iron

Hello from Long Island, NY

Iron

G'day from Arkansas

 

Iron

Hello Everyone.

 

Iron

hello from richmond, BC

 

Iron

rkesmodel...i think an audio player will download when the instructor starts

Iron

Hello from Longmont, CO

Iron

Hello from Oakdale MN

Hi from Huntsville, AL.  Hi, CatsIEEE, I grew up in B'ham.

Iron

Greetings from Oregon

Iron

Hello from Detroit MI....  Automation Alley

Iron

Hello from Phoenix AZ

Iron

Back for Day 2...

Iron

Hello from San Antonio, TX

 

Hi, I don't hear anything.

Iron
Hello from Birmingham, Alabama.
Iron

Hi from Natick, MA

Iron

Hello from Merlin, OR

Hello everybody!

 

Iron

Hello from Houston

 

Hello all from Habib Birmingam UK

Iron

From Phoenix, Hi

 

Iron

Hello again from Philadelphia

Iron

Good afternoon for everybody in the classroom from South Florida

Hello from Portland, Oregon

Iron

Hello from San Diego, CA

Iron

Slides are at Special Educational Materials

Iron

Hello from El Dorado Hills CA

Iron

The slides are available from the link that is located just to the right of Don's picture, on this page.

Hello from Asheville, NC

Iron

Jersey here. Rain has stopped.

dear,

 

will you communicate urgently where i can download the slides of Arduino day 2 ?

 

sincerely,

 

Melotte Joseph

in Belgium

 

 

Iron

I hope the audio isn't SKETCHY like it was yesterday ...


heh heh heh

Gold

Hello everyone from Valladolid, Spain

Iron

Hi EveryBody, from Lima Perú.

Iron

Hello from Dallas, TX....

Iron

Good afternoon, everybody

Iron

hello all from Timisoara

Iron

hello all from Edmonton, Alberta.

Iron

Yo, from beautful downtown Manhattan

Gold

Hi from Miami, Fl

 

Iron

Hi from Toronto

 

Iron

Hello from Maryland. 

Hellow from New Jersey

Iron

Hello from Delavan, WI.

Iron

Hello from Quebec city.

Iron

Hello from Montana

Gold

Greetings from Scottsdale, AZ

Iron

-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.

Blogger

Hello from Southeastern Indiana! Here's to great audio! :-)

Iron

Hello from Santa Barbara, CA. I hope they resolved the audio issue.

Iron

Hello from San Jose, CA

Iron

Afternoon from Kansas

Iron

Good morning from San Jose

Greetings from NC

Iron

Hello from SW Michigan

Iron

Good Afternoon from Valladolid, Spain, UE

Iron

Hello everyone. Good afternoon from Summerville, SC.

Iron

Good morning, everyone!

Iron

-Be sure to click 'Today's Slide Deck' under Special Educational Materials above right to download the PowerPoint for today's session.

Blogger

Hello from Binghamton, NY

 

Iron

Hello from SE Michigan !

Iron

Good to be aboard again.

Iron

Can't wait anymore so excited!! greeting from Thailand ><

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.

Blogger

There are so many mini-development boards available now that mimic the Arduino concept.

Freescale has many boards available for under $15 with a wide range of micros and built in MEMS devices.

It appears they have connections which would mate with the shield boards and accelerate development.

Will you touch on some of these alternatives?

Iron

Hello from Chicago

Iron

signing in from COS

Iron

-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.

Blogger

Hello from Albuquerque, New Mexico.

Blogger

-Please join our DesignNews Reader Network Group at http://bit.ly/dnlinkedin and tweet about today's class using #DNCEC.  You can also follow Design News on social for the latest class information = Twitter: http://bit.ly/dntwitter ; Facebook: http://bit.ly/dnfbook ; Google Plus: http://bit.ly/dngoogleplus

Blogger


Partner Zone
Latest Analysis
In this new Design News feature, "How it Works," we’re starting off by examining the inner workings of the electronic cigarette. While e-cigarettes seemed like a gimmick just two or three years ago, they’re catching fire -- so to speak. Sales topped $1 billion last year and are set to hit $10 billion by 2017. Cigarette companies are fighting back by buying up e-cigarette manufacturers.
Microchip recently released the 3D TouchPad, the first USB PC Peripheral device that couples 2D multi-touch input with 3D air gesture technology. The company seeks the help of developers to further enhance the capabilities of the technology.
Made by Monkeys highlights products that somehow slipped by the QC cops.
To give engineers a better idea of the range of resins and polymers available as alternatives to other materials, this Technology Roundup presents several articles on engineering plastics that can do the job.
Mac Cameron of Stratasys describes the company’s Connex3 technology, which allows users to 3D-print complex parts in one build with no assembly required.
More:Blogs|News
Design News Webinar Series
10/7/2014 8:00 a.m. California / 11:00 a.m. New York
9/25/2014 11:00 a.m. California / 2:00 p.m. New York
9/10/2014 11:00 a.m. California / 2:00 p.m. New York
7/23/2014 11:00 a.m. California / 2:00 p.m. New York
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Oct 20 - 24, How to Design & Build an Embedded Web Server: An Embedded TCP/IP Tutorial
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6


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.
Next Class: 10/28-10/30 11:00 AM
Sponsored by Stratasys
Next Class: 10/28-10/30 2:00 PM
Sponsored by Gates Corporation
Next Class: 11/11-11/13 2:00 PM
Sponsored by Littelfuse
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service