Go Down

Topic: The Complete Beginners Guide to the Arduino (Read 24289 times) previous topic - next topic

Mike Mc

I have decided to make my Complete Beginners Guide to the Arduino book available as a free download:-

http://earthshinedesign.co.uk/ASKManual/

This book is a work in progress. More projects will be added to it over time. It is aimed at the complete beginner.

If you find any errors in the book or would like to see any additions please let me know. Thanks.

nathanvi

Good job Mike.
Good contents, good look, good all.
Is "manual writing" yours? You write really well!
My blog:
http://zuccala.blogspot.com

Andrew

#2
Jul 15, 2009, 10:51 am Last Edit: Jul 15, 2009, 10:55 am by Andrew Reason: 1
From page 36 of your starter kit manual:

Code: [Select]
if (x=5 && y=10) {....
This if statement will run it[ch700]s code only if x is 5 and
also y is 10.
|| means true if either operand is true, e.g. :
if (x=5 || y=10) {.....
This will run if x is 5 or if y is 10.
The ! or NOT statement means true if the operand is
false, e.g. :
if (!x) {.......
Will run if x is false, i.e. equals zero.
You can also [ch699]nest[ch700] conditions with parenthesis, for
example
if (x=5 && (y=10 || z=25)) {.......


I don't think you meant to use "=" there...

Andrew

Mike Mc

#3
Jul 15, 2009, 02:08 pm Last Edit: Jul 15, 2009, 11:22 pm by zooto68 Reason: 1
Nathanivi - Yes I did i all from scratch.

Andrew - thanks, should have been == not = I know!

i'll take a look at that tonight and make any necessary changes.

Mike Mc


Andrew

I'll try and have a proper read of it soon, but at first glance it looks like a useful addition to the existing guides.

Andrew

sidgug

Mike

Thank you very much for putting this together and making it available.

I've been using Arduino for a number of years but I think I'll still find your guide very useful. In particular, I like the fact that you've taken the time to explain the code in small parts.

Well done!

Mike Mc

#7
Jul 16, 2009, 10:01 am Last Edit: Jul 16, 2009, 10:02 am by zooto68 Reason: 1
Thanks. Hope you'll find it of some use. More projects will be added over the next few weeks inluding:-

Scroll text marquee on dot matrix display
Using HD44780 LCD displays
Using 7-segment LED displays


MarkS

Drat. I bought the Getting Started book, but yours is much better. I especially like that you spend time explaining how to determine resistor values. And explaining the need for protective parts, like diodes. The Make book gives the impression that all you need is big box of 10k resistors.

Thank you for making this available!

bHogan

It looks to be the perfect tutorial. Really nice! Thanks for your generous contribution.
"Data is not information, information is not knowledge, knowledge is not understanding, understanding is not wisdom."
~ Clifford Stoll

MarkS

Errata. On page 12, paragraphs beginning "Now that" and ending with "Congratulations" are a repetition of paragraphs on page 11.

HTH

MarkS

Errata: Project 1. The resistor is 150 ohm at the start of the project (parts image & text, p. 19), but becomes a 220 ohm at the end (parts image & text, p.23). The paragraph at the bottom of page 23 calculates that we need a 150 ohm resistor, but after the chart the first paragraph (page 24) says we need a 220 ohm resistor. The image shows a 220 ohm resistor

Finally, unless my eyes are deceiving me, the wiring schematic image (p.19) shows a 1000 ohm resistor.

I appreciate that you tell the reader to always wire a resistor in series with an LED -- I didn't get that from the equivalent section in the Make book. In fact, they put the LED across pin 13 and the gnd, giving the impression that resistors were optional.

MarkS

#13
Jul 17, 2009, 06:52 am Last Edit: Jul 17, 2009, 06:56 am by algernon Reason: 1
Errata. Project 2. Commas are used instead of semi-colons in all "for" constructs and on all line endings throughout this chapter.

Mike Mc

Thanks Mark for those errata. I have made the relevant changes and uploaded the amended version.

Thanks everyone else for the comments. Glad you appreciate the book. It took many months to create.

Go Up