Arduino Forum

Forum 2005-2010 (read only) => General => News => Topic started by: MechatronicsGuy on Apr 22, 2010, 03:23 am

Title: Single-page Arduino Cheat Sheet
Post by: MechatronicsGuy on Apr 22, 2010, 03:23 am
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
Title: Re: Single-page Arduino Cheat Sheet
Post by: arilsonm on Apr 22, 2010, 05:19 am
Very good, can function as didactic material support! Excellent work
Title: Re: Single-page Arduino Cheat Sheet
Post by: TBAr on Apr 22, 2010, 06:32 am
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]
Title: Re: Single-page Arduino Cheat Sheet
Post by: Coding Badly on Apr 22, 2010, 06:53 am
Quote
editable visio copy

Are you encouraging others to make changes?

If the answer is yes, I suggest providing brief instructions on the process.
Title: Re: Single-page Arduino Cheat Sheet
Post by: MechatronicsGuy on Apr 22, 2010, 07:28 am
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 :)
Title: Re: Single-page Arduino Cheat Sheet
Post by: TBAr on Apr 22, 2010, 08:08 am
You're too quick, Gavin.  ;)

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. :-[
Title: Re: Single-page Arduino Cheat Sheet
Post by: MechatronicsGuy on Apr 22, 2010, 08:13 am
*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.
Title: Re: Single-page Arduino Cheat Sheet
Post by: fdufnews on Apr 22, 2010, 09:32 am
Quote
I'm toying with the idea of doing an inkscape sheet next...

Great idea and much more in the spirit of CC
Title: Re: Single-page Arduino Cheat Sheet
Post by: jmrobert on Apr 22, 2010, 06:09 pm
Hi, and Thanks!  
Thats a great reference.
Title: Re: Single-page Arduino Cheat Sheet
Post by: ChrisS on Apr 22, 2010, 06:12 pm
Yeah, thats cool!

Go on!!!!!!

Thank you for your work!

Greetings ChrisS
Title: Re: Single-page Arduino Cheat Sheet
Post by: floresta on Apr 22, 2010, 07:31 pm
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
Title: Re: Single-page Arduino Cheat Sheet
Post by: simon.morris on Apr 24, 2010, 10:03 pm
Really nice! It's very helpful
Title: Re: Single-page Arduino Cheat Sheet
Post by: zooto68 on Apr 27, 2010, 09:32 am
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.
Title: Re: Single-page Arduino Cheat Sheet
Post by: estranged on Apr 27, 2010, 06:40 pm
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.
Title: Re: Single-page Arduino Cheat Sheet
Post by: zooto68 on Apr 28, 2010, 08:36 am
Ahh I didn't spot that. That's perfect. Thanks.
Title: Re: Single-page Arduino Cheat Sheet
Post by: fdufnews on Apr 28, 2010, 01:12 pm
I 've started an inkscape sheet. I'll post it when finished
Title: Re: Single-page Arduino Cheat Sheet
Post by: MechatronicsGuy on Apr 28, 2010, 01:13 pm
Awesome! I'd love to see it.
Title: Re: Single-page Arduino Cheat Sheet
Post by: fdufnews on Apr 28, 2010, 01:27 pm
One thing I miss is the picture you put on top
[edit]Thursday 29
Well, for the moment, I am using pictures extracted from the pdf. It will be easy to change them later[/edit]
Title: Re: Single-page Arduino Cheat Sheet
Post by: gedw on Apr 29, 2010, 05:25 pm
Hi,
It's so good I'd thought grab a copy via .pdf. What version of distiller did you use ?
I've got Adobe 7 which thinks the file is corrupt. :-(}
aka ged
Title: Re: Single-page Arduino Cheat Sheet
Post by: pracas on Apr 29, 2010, 06:44 pm
cool idea! I presume its ok to print it as it is and hand around to students during workshops?
Title: Re: Single-page Arduino Cheat Sheet
Post by: MechatronicsGuy on Apr 30, 2010, 01:10 am
Hi Aka Ged,

I've released v.02c with some more changes, and this time I've used cutePDF instead of acrobat distiller. (Incidentally the image quality worked much better with no frigging around). Hopefully this works for you.

Pracas: Sure! Please feel free to hand them out or do whatever you like with them. I got all the info under C.C. license, so go for it.

http://sites.google.com/site/mechatronicsguy/arduinocheatsheet
Title: Re: Single-page Arduino Cheat Sheet
Post by: alicemirror on May 02, 2010, 05:18 pm
Verrryyyyyyy GoooooDDDD


This is what I need & I haven't yet time to do :)
:)
Many thanks.
Title: Re: Single-page Arduino Cheat Sheet
Post by: wortelsoft on May 03, 2010, 07:02 pm
Just printed and laminated it so it survives coffee spills  ;)
Title: Re: Single-page Arduino Cheat Sheet
Post by: zooto68 on May 06, 2010, 12:02 pm
The only problem I find with the PDF version is that if I print it as A4 it cuts off a small area around the edges.
Title: Re: Single-page Arduino Cheat Sheet
Post by: milo1112 on May 07, 2010, 06:26 pm
very nice work wonders for newbies like me
Title: Re: Single-page Arduino Cheat Sheet
Post by: SeJoWa on May 19, 2010, 03:31 pm
Thanks for making this!  :D You might consider adding the download URL.
Title: Re: Single-page Arduino Cheat Sheet
Post by: zaphil on May 19, 2010, 10:31 pm
Thanks a lot for this.
Snatched and printed :D
Title: Re: Single-page Arduino Cheat Sheet
Post by: cowjam on May 19, 2010, 10:34 pm
Quote
The only problem I find with the PDF version is that if I print it as A4 it cuts off a small area around the edges.


Tell it to automatically resize.  It should print to fit your printer's margins.
Title: Re: Single-page Arduino Cheat Sheet
Post by: rhymed on Jun 06, 2010, 09:20 pm
Good job. Thanks for pulling this together.
Title: Re: Single-page Arduino Cheat Sheet
Post by: BMag on Jun 08, 2010, 06:57 pm
This was extremely helpful, thanks!

BMag
Title: Re: Single-page Arduino Cheat Sheet
Post by: copiertalk on Jun 20, 2010, 12:02 am
I need to print this off as a poster for my Office (dining room as my wife likes to call it ).  :)
Title: Re: Single-page Arduino Cheat Sheet
Post by: vampist on Jun 22, 2010, 09:58 pm
Uhm.. Maybe I am missing something but uhm..

"Boobtloader?" Typo right? Should be bootloader?

Top right hand corner. "Flash (2k for boobtloader)"
I guess it shows someone had other thoughts on their mind..  ;)
Title: Re: Single-page Arduino Cheat Sheet
Post by: Tiharo on Jul 02, 2010, 02:21 am
Thanks this is really help full! :)
Title: Re: Single-page Arduino Cheat Sheet
Post by: Space-Face on Jul 08, 2010, 12:11 am
Great thank you!
Title: Re: Single-page Arduino Cheat Sheet
Post by: laxman098 on Jul 19, 2010, 08:49 am
It is good and its very nice.Thanks this is really help full!
Title: Re: Single-page Arduino Cheat Sheet
Post by: acherman on Aug 09, 2010, 09:25 pm
Great resource for noobs - keeps us from needing a whole bunch of example sketches handy.  ;-)
Title: Re: Single-page Arduino Cheat Sheet
Post by: zooto68 on Aug 13, 2010, 10:40 am
;D It does say boobtloader too!!  ;D

The PDF still does not print right. The border around the edge is too small and bits get cut off.
Title: Re: Single-page Arduino Cheat Sheet
Post by: novice on Aug 17, 2010, 03:41 am
Mike Mc,

I just downloaded the PDF and printed it w/o drama on A4 paper.

Select "Fit to Printable Area" and "Auto-Rotate and Center" when printing.
Title: Re: Single-page Arduino Cheat Sheet
Post by: oscarcar on Aug 20, 2010, 03:33 am
Very cool!

Handy, no doubt.
Title: Re: Single-page Arduino Cheat Sheet
Post by: retrolefty on Aug 20, 2010, 04:07 am
I like boobtloader, sounds kind of sexy.  ;)

Lefty
Title: Re: Single-page Arduino Cheat Sheet
Post by: Joker94 on Aug 20, 2010, 06:38 am
Brilliant idea

exactly what i need when i am programming ;D
Title: Re: Single-page Arduino Cheat Sheet
Post by: complubot on Sep 01, 2010, 12:21 am
Great job, thank you very much

I'm thinking about a Spanish version for my younger students (10 years). Yes, I know there is little that can translate, but I think it will be of great use to them.

What is your opinion?, Is there any editable version of this document?

Eduardo
Title: Re: Single-page Arduino Cheat Sheet
Post by: chiva on Sep 01, 2010, 02:28 am
Hi complubot, you have the source file (the .vsd one) in the download page, it has been done with Microsoft Office Visio
Title: Re: Single-page Arduino Cheat Sheet
Post by: fdufnews on Sep 03, 2010, 09:38 pm
Here is an SVG version of the sheet Arduino cheat sheet v02c.svg (http://up.sur-la-toile.com/sDpT) made with Inkscape
Title: Re: Single-page Arduino Cheat Sheet
Post by: juliandasilva on Sep 16, 2010, 06:24 am
Nice work! I really like Inkscape!
Title: Re: Single-page Arduino Cheat Sheet
Post by: fdufnews on Sep 16, 2010, 08:29 am
Thank you 8-)
Title: Re: Single-page Arduino Cheat Sheet
Post by: andrewl0 on Dec 11, 2010, 01:18 am
Thanks, very, very helpful.
Title: Re: Single-page Arduino Cheat Sheet
Post by: brum on Dec 27, 2010, 07:12 pm
Really impressed, my only grumble being an oldie is that my eye's aren't quite up to it, I could do with a two page version so's I don't have to squint.  :'(
Title: Re: Single-page Arduino Cheat Sheet
Post by: und34dc0wz on Dec 29, 2010, 12:53 am
this will help me as i suck at coding
Title: Re: Single-page Arduino Cheat Sheet
Post by: rsl on Dec 29, 2010, 11:35 pm
Gavin,

Thank you for this work.

Richard
Title: Re: Single-page Arduino Cheat Sheet
Post by: fdufnews on Jan 01, 2011, 12:14 pm
Quote
Really impressed, my only grumble being an oldie is that my eye's aren't quite up to it, I could do with a two page version so's I don't have to squint.  Cry

If you look back in a previous post I gave the link to an SVG version of the cheatsheet I made. Using InkScape you can change the layout of the sheet or rescale it to be printed on a larger paper.