Go Down

Topic: Advantage of Arduino (Read 9430 times) previous topic - next topic

BillO


But I did not see a relabel software simulator for Arduino that Newbie can practice before buy the hardware    


Have you typed "Arduino simulator" into google?  There must be at least a half dozen free Arduino simulators out there.
Facts just don't care if you ignore them.

fungus


Quote

Digi-key sends me Christmas cards now

Oh, you let them off light!  You should see the 3" high catalogs I get!


Oh, no...!

I hope I'm not on their list after they shipped those free samples to me.

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

duinopad

Dear cyclegadget,

Thanks for reply

I downloaded Simulator for Arduino v0.98 and installed. Then I downloaded  Arduino IDE and wrote the following program
Code: [Select]

void setup (){
pinMode (13, OUTPUT);
}
void loop(){
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, LOW);
delay(1000);
}


Please advice how may I load the compiled file (HEX) to simulator. where the HEX file is generated

Please advice
Thanks in advance




dxw00d

Quote
Please advice how may I load the compiled file (HEX) to simulator.


I don't think you do. You load your sketch into the simulator's IDE, and run it from there.

duinopad

Dear dxw00d ,
Thanks for reply
Could you please Let me know the different between sketch and HEX file
Thanks in advance

duinopad

Dear All,
1.I wrote the program as attached picture and compiled well

2.sketch was generated as attached picture
3.Then I uploaded sketch file to Arduino simulator
4 The error message was generated as attached picture
Please advice

AWOL

Quote
Could you please Let me know the different between sketch and HEX file

A sketch is your source code.
The hex file is the compiled version of your sketch, ie translated from C/C++ to machine code for the AVR processor.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

duinopad

Can I have the solution for my last question

AWOL

That's not an Arduino error message.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

bperrybap

I think much of this discussion suffers from the lack of terms for certain items.
I've brought this up a few times in the past.
For example what does "Arduino" mean?
While accurate, people may get a strange look on their face when you say something like:
I used Arduino to program my Arduino with a program written in Arduino.

And that is the problem. There are no separate terms to refer
to the individual components such as the IDE, the tools, the board, the bootloader, the chip, the "language".
Because of this, people tend to throw around the term "Arduino" and yet it can mean different things to
different people.

To me, this makes things very difficult to have a discussion like the one occurring in this thread.

Much of the ease of use with respect to "Arduino" has very little to do with the Atmels AVR
or AVR architecture.
It is the GUI tools and libraries, documentation, examples etc, and most of that is in no
way tied to AVR.
In a sense it is the easy to use eco system around a pre-built board,
rather than any sort of specific chip or board that
makes "Arduino" a good fit for many people, including people with no embedded programming
experience.

Because the s/w eco system is open source and in no way tied to AVR, it has been ported and is now available
for use on non AVR based processors. ARM, and pic32 based boards now both have "Arduino" IDEs and "Arduino" core
libraries available for them.

So to me the Arduino vs non Arduino argument doesn't have anything to do with AVR but rather whether
or not to use the "Arduino" eco system or not. And the "Arduino" eco system includes, boards, shields, s/w libraries,
an IDE to build the code and documentation with support forums to tie it all together.

More advanced users can selectively pick and choose which of the various components of that eco system to use
and not have to use them all.

I do think that for advanced users with lots of embedded development experience,
there can be many issues and frustrations with the IDE and the build methodology, but then
the Arduino s/w is not really aimed at them.

I just wish there were some established terms to refer to the specific components within the eco system to
make discussions like this easier, as to me right now there are just too many things all called "Arduino".

--- bill




AWOL

All that is very well argued and there is very little with which I would disagree, but the fact remains that an nth party simulator is producing an error message.
The OP would be better off asking whoever supports that simulator what the message means.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

dhenry

Quote
Advantage of Arduino


Arduino's biggest advantage is that it allows a user to code without looking at the datasheet;

Arduino's biggest disadvantage is that it allows a user to code without looking at the datasheet.

Nick Gammon

Have you been reading Oscar Wilde, dhenry?

Quote
The only thing worse than being talked about is not being talked about.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

retrolefty

#43
Nov 29, 2012, 11:49 pm Last Edit: Nov 29, 2012, 11:52 pm by retrolefty Reason: 1

Quote
Advantage of Arduino


Arduino's biggest advantage is that it allows a user to code without looking at the datasheet;

Which is a key to allow newcomers to programming and electronics to be productive much quicker on actually accomplishing something with their Arduino projects. They don't need a datasheet to master making some leds blink as they wish, and to many that is a goal worth reaching before having to mastering reading datasheet.

Arduino's biggest disadvantage is that it allows a user to code without looking at the datasheet.

As newcomer's project become more complex and ambitious they will come to understand the need to learn about datasheets and they will be more motivated because they have an immediate need to.

Why make the entry cost in time and learning effort so high as to have many give up in frustration? The Arduino is about enabling ordinary people to do stuff quickly and easily and build upon early successes.


Nick Gammon

Yes, I got started without reading the datasheet. Then when I wanted to do something complex, I read it. So it isn't a huge worry.
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

Go Up