Pages: [1]   Go Down
Author Topic: What was your biggest struggle or revelation?  (Read 1479 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

All,

I'm trying to develop an Arduino workshop for artists. In order to develop a useful program, it  would help me tremendously to hear from the non-technical folks who work with the Arduino.

What concepts did you struggle with when beginning to use the Arduino? What information or resources was the most helpful?

I appreciate all of your advice, stories, and anecdotes!

Thanks,

MAL
« Last Edit: March 12, 2009, 08:57:02 pm by pickles » Logged

0
Offline Offline
Edison Member
*
Karma: 8
Posts: 1411
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This sounds like a job interview question smiley

Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

LOL!
Logged

Newcastle NSW Australia
Offline Offline
Jr. Member
**
Karma: 0
Posts: 69
RalimTek
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The most annoying part is gettign the code to work and be small enough to fit on the arduino.
Logged

Cybot

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

Keeping the Arduino IDE from writing all that red sh*t in the bottom window when I try to compile or upload. It sure is fussy about details  smiley-wink

Lefty

Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If the intended audience are newcomers to electronics, then a topic that will be very usefull for them to understand is pull up / down resistors and switch debouncing.

My understanding of these topics increased by orders of magnitude after reading Lady Ada's tutorials:

http://www.ladyada.net/learn/arduino/


Other topicis could be current limiting resistors for LED's, driving DC motors  and other high current loads with transistors or H bridges:

http://itp.nyu.edu/physcomp/Tutorials/HighCurrentLoads


All the above topics are popping up in the forum over and over and over.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 27
Wit is a pale imposter of wisdom.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Making operations occur on a time schedule while still performing other tasks. In short the efficient and effective use of millis().

Finally a question I can answer! Woot!
Logged

I have never let my schooling interfere with my education.
~ Mark Twain

http://www.lewrockwell.com/

SF Bay Area (USA)
Online Online
Tesla Member
***
Karma: 137
Posts: 6792
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah; what Sam said.  More from reading the forums than actual experience, having come into things from the other direction, but...  understanding "fast" but "not concurrent" is a big thing.
Switch bounce, and receiving character from a serial port, are both issues where you need to understand that the Arduino is MUCH faster than external human-scale events, but that doesn't mean that the Arduino can do other things while it is doing delay()...
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 637
Posts: 34602
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Well I am not exactly a beginner but I have taught a fair few, and important concepts I have found are:-

1) A program will only do what you say not what you want.

2) The instructions never stop being executed or wait until an input is ready, you have to instruct it to wait.

3) It's a just binary bits, what gives it meaning is the construct you put on the bits. This means a value can represent a number a printed character or a series of on and off states, the bit pattern is no different but the construct you put on it defines it's meaning.

4) Before you code draw a flow diagram to get the sequence of things right.

5) These are humbling devices, if it doesn't work then YOU are doing something wrong, or understanding something wrong. So be modest.

6) If you find you self writing the same piece (or very similar) section of code over and over again there is a better way of doing it.
Logged

0
Offline Offline
Edison Member
*
Karma: 8
Posts: 1411
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The other day, a friend whom I showed the clock I made, asked me "Can't you build something useful?" "Like what?" I asked. "Like a garage door opener" he answered back. That was my biggest revelation.

Logged

Norway@Oslo
Offline Offline
Edison Member
*
Karma: 13
Posts: 2033
loveArduino(true);
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
"Can't you build something useful?" "Like what?" I asked. "Like a garage door opener" he answered back. That was my biggest revelation.
;D

Biggest struggle: IDE versus structs/enums

Biggest revelation: Arduino _is_ c++
« Last Edit: March 17, 2009, 11:45:45 pm by AlphaBeta » Logged

Copenhagen / Denmark
Offline Offline
Edison Member
*
Karma: 6
Posts: 2360
Do it !
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Another good thing to teach beginners is that almost no matter what you connect to Arduino you have to connect it's ground to Arduinos ground. This has had me stumbeled on a few ocasions and it is a frequently recurring issue in forum posts.

This shoud go together with explaining that the reason is that the ground is the common reference, and if you don't compare voltage levels to the same "0" it won't work as expected.
Logged

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

When something doesn't work, you did something wrong.

People new to hobby electronics will often assume "there must be a bug in the chip, the software, problem with the board, etc."  

Rarely is the problem anyone else's fault, except the person putting it all together.
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Bonn, Germany
Offline Offline
God Member
*****
Karma: 2
Posts: 903
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

My biggest struggle was and is to keep my programs low profile to fit in the space of the arduino..
I come directly from C# and Windows API Programming and had never any experience in doing any code which is small, reusable and fast at the same time... that was the hardest thing to struggle with...
Logged

Believe me, Mike, I calculated the odds of this succeeding against the odds I was doing something incredibly stupid[ch8230] and I went ahead

0
Offline Offline
God Member
*****
Karma: 2
Posts: 854
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
My biggest struggle was and is to keep my programs low profile to fit in the space of the arduino..

I don't understand how people run out of space unless it's something major like reprap.  Then again, I remember $10,000 computers with 32k of ram, and right before Arduino I was doing PIC assembly, so to me 16k seems pretty expansive.

Maybe if you're trying to store long text strings or LED animation patterns there's a problem smiley
Logged

Pages: [1]   Go Up
Jump to: