Pages: [1] 2 3 4   Go Down
Author Topic: Single-page Arduino Cheat Sheet  (Read 18048 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey All,

I've just made a single-page arduino cheat sheet! I've managed to cram in every function and syntax listed in the extended reference on one page, as well as some specs on common chips and pinouts.

PDF and editable visio copy here:
http://sites.google.com/site/mechatronicsguy/arduinocheatsheet

Cheers,
Gavin
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 70
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very good, can function as didactic material support! Excellent work
Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 388
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Really nice job, Gavin. Nicely formatted too.

Suggestions:

Control Structures section
(2nd) case, (2nd) break, default to be bold font?

Compound Operators section
[glow]*[/glow]= (compound multiplication)

Analog I/O section
analogWrite(pin, value) [glow]//[/glow] PWM

Bits and Bytes section
bitn: 0=LSB, 7=MSB

Libraries:
Serial
  int available()
  int read()

Servo
  attach(pin[glow], [min[/glow]_uS, max_uS])

Hardware chart (in the upper right corner)
Nano has 8 analog input pins, not 6


[edit]Constants section
2.4e5 // 24[glow]0[/glow]000
(and without the ',' for international use (European decimal mark))[/edit]
« Last Edit: April 21, 2010, 11:59:18 pm by TBAr » Logged

Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 206
Posts: 12855
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
editable visio copy
Are you encouraging others to make changes?

If the answer is yes, I suggest providing brief instructions on the process.
Logged

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

Thanks for the suggestions TBAr! I've launched version .02b to cover them.

Also figured out the intricacies of my PDF generator. You can now read the small pinouts.

@Coding Badly: I put the visio file there so that people who want to change it have something more friendly than PDF. I'd prefer to implement suggested changes myself and keep the latest-and-greatest file in the same place. However it's all C.C. stuff, so anyone that wants to take it is welcome to smiley
Logged

0
Offline Offline
Sr. Member
****
Karma: 0
Posts: 388
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You're too quick, Gavin.  smiley-wink

I thought I would catch you with my edited 1st post above before you saw it and reacted to it.

2.4e5 = 240,000, not 245,000 (which is 2.45e5). The ',' remark was only a suggestion anyway, most Europeans will not be bothered by it.

Sorry to give you more work because of my edited post instead of posting anew. :-[
Logged

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

*laughs* Yep, I saw your edits too late TBAr.

I've now made the change to my copy of the visio and I'll roll it out with the next round of suggestions.

I'm toying with the idea of doing an inkscape sheet next...
Cheers,
Gavin.
Logged

France
Offline Offline
Faraday Member
**
Karma: 38
Posts: 3515
There is an Arduino for that
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I'm toying with the idea of doing an inkscape sheet next...
Great idea and much more in the spirit of CC
Logged

Offline Offline
Full Member
***
Karma: 0
Posts: 125
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, and Thanks!  
Thats a great reference.
Logged

Dresden / Germany
Offline Offline
Sr. Member
****
Karma: 4
Posts: 451
Entwicklungsklaus
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yeah, thats cool!

Go on!!!!!!

Thank you for your work!

Greetings ChrisS
Logged

Sturmfabrik - mediale Dienstleistungen
www.sturmfabrik.de

Western New York, USA
Online Online
Faraday Member
**
Karma: 35
Posts: 4302
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Gavin:

The I2C diagram, as simple as it is, can easily be misinterpreted.  This is a bit hard to describe without a drawing but here goes.  On the SCL and SDA lines the horizontal lines to the right of the resistors should end at the bottom of the vertical lines going to Vcc.  Or, better yet, the resistors themselves should just replace the vertical lines.  As it is drawn now you have three Vcc lines above the ground on the right side of the drawing.

Don
« Last Edit: April 22, 2010, 12:32:51 pm by floresta » Logged

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

Really nice! It's very helpful
Logged

London, England
Offline Offline
Edison Member
*
Karma: 4
Posts: 1026
Go! Go! Arduinoooo !!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It's good, but the image is in too low a resolution for print. If I blow it up to A4 and print it out it looks crap.
Logged

U of A, Tucson, AZ
Offline Offline
Full Member
***
Karma: 0
Posts: 164
Hello World
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There's a PDF link at the bottom of that page that's printable.  The link on the image should just go right to that PDF I think.
Logged

London, England
Offline Offline
Edison Member
*
Karma: 4
Posts: 1026
Go! Go! Arduinoooo !!!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ahh I didn't spot that. That's perfect. Thanks.
Logged

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