Pages: 1 2 [3] 4 5   Go Down
Author Topic: Advantage of Arduino  (Read 8075 times)
0 Members and 1 Guest are viewing this topic.
Canada
Offline Offline
God Member
*****
Karma: 7
Posts: 600
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Facts just don't care if you ignore them.

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 144
Posts: 5351
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged

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

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


 
Logged

Gosport, UK
Offline Offline
Faraday Member
**
Karma: 21
Posts: 3113
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
 


* ar1.JPG (39.87 KB, 538x599 - viewed 27 times.)

* ar2.JPG (7.04 KB, 346x213 - viewed 22 times.)

* ar4.JPG (107.07 KB, 1024x768 - viewed 35 times.)
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 291
Posts: 25849
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

Offline Offline
Newbie
*
Karma: 0
Posts: 12
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can I have the solution for my last question
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 291
Posts: 25849
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That's not an Arduino error message.
Logged

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

Dallas, TX USA
Offline Offline
Faraday Member
**
Karma: 63
Posts: 2649
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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



Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 291
Posts: 25849
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

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

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you been reading Oscar Wilde, dhenry?

Quote
The only thing worse than being talked about is not being talked about.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17263
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

« Last Edit: November 29, 2012, 05:52:37 pm by retrolefty » Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 474
Posts: 18696
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: 1 2 [3] 4 5   Go Up
Jump to: