avr tutorial

part 0!

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

is there anything i missed?

The only things I can think of to complain about is that while you're very careful to go through host-side details for three different operating systems, the arduino-side instructions are rather diecimila-centric. If you had an older Arduino, a serial arduino (with USB cable, so the host-side would be similar), or one of the barebones style boards, you might be confused. While you can't cover everything, a nod to other implementations might be a good idea.

That's great, but painfully in-depth. I realize there are newbies around, but don't you think they can figure out which end to plug into the Arduino and which end into their PC? :stuck_out_tongue: You might also want to separate into 3 docs, one for Windows, Linux and OSX as including all three adds considerable bulk.

Also, you missed the picture of the dc power jumper. All it needs now is a kitchen sink :wink:

You might also want to separate into 3 docs, one for Windows, Linux and OSX as including all three adds considerable bulk.

i usually do after the tutorial is done, just because editing it in one file is much easier.

Also, you missed the picture of the dc power jumper. All it needs now is a kitchen sink :wink:

i have to retake the photo

If you didnt like lesson 0

you will hate lesson 1! :slight_smile:

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

Why start with lesson 0 and not with lesson 1? ::slight_smile:

If you open a box of chocolates, the first chocolate you grab out of the box, it's chocolate 1, not chocolate 0... :wink:

For the rest, keep up the good work :slight_smile:

ladyada probably has computer science background... in computer science, everything must start from 0!!!

lesson 2
lesson 2
lesson 2 is good for you!

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

ah0y mateys, another arrrrduino tutorial has been scuttled

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

you mean launched, right? Scuttled is when you have to sink the ship when the pirates are coming.

D ;D

you mean launched, right? Scuttled is when you have to sink the ship when the pirates are coming.

D ;D

i assure you, i meant scuttled!

you shout for more?

its lesson four!

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

Ladyada, there is a good reason for defining KB as 1000 bytes and MB as 1000 Kbytes and GB as 1000 MBytes in the storage industry. Actually, K is 1000 in communications, and other measurements in the decimal world. Maybe 1024 = KB and 1024 * 1024 = MB is the one that is not natural, because it is binary, which is common in digital computers (basically memory addressing). Hard disks doesn't need to be addressed in binary, they can be addressed in decimal, which is more understandable, so I don't think it is a marketing trick created to make the HDs look much bigger... marketing people are not that smart :wink: Probably they don't even know how a HD looks like!

Actually, I think what eats most of your hard disk space is not the base10 or base2 calculation... it is the file system and how they divide the huge space into sectors that are addressed using sector tables... it is a balancing act... you define too little sectors and you need a huge table to manage them... you define too large sectors, you need smaller file system management tables, but you waste more space... it is a trade-off. What I don't know is why HD sectors are defined as 512, 1024, etc... probably because they are reflections of its image from memory? Because they have caches in the middle, that are sized using binary addressing?

Sorry Ladyada, one more comment:

baud and bps are not the same...

I know, I know... the tutorial is for a non-technical audience...

This last tutorial is the best one ever! Excellent!

ill fix the baud thing. huh i guess im relying on old stuff in my brains :frowning:

ah, now i see, baud is symbols per second. well, in this case baud does = bps. more importantly, Baud is what is used in the Arduino serial monitor.

i think the important thing to remember here is that yes, there are many little approximations. i know they're there. its impossible to note all of them because then its confusing to the learner. i have to focus these tutorials on teaching the basic stuff. later on they can read all about baud rates and RLE encoding schemes.

Ladyada, there is a good reason for defining KB as 1000 bytes and MB as 1000 Kbytes and GB as 1000 MBytes in the storage industry. Actually, K is 1000 in communications, and other measurements in the decimal world. Maybe 1024 = KB and 1024 * 1024 = MB is the one that is not natural, because it is binary, which is common in digital computers (basically memory addressing). Hard disks doesn't need to be addressed in binary, they can be addressed in decimal, which is more understandable, so I don't think it is a marketing trick created to make the HDs look much bigger... marketing people are not that smart :wink: Probably they don't even know how a HD looks like!

the issue is if you have a "100 megabyte file" (as your file manager reports) its going to take up 100 * 1024 kb. however a 100 megabyte diskdrive only stores 100 * 1000 kb.

anyways, its just a stupid math example. if you can think of a better example that uses the same elements, let me know and i can change it.

The tutorials are pretty good. Keep them coming. :slight_smile:

Actually, K is 1000 in communications

Actually communications uses bits and 1024. Storage uses bytes and 1000. :stuck_out_tongue:

The tutorials are pretty good. Keep them coming. :slight_smile:

Actually, K is 1000 in communications

Actually communications uses bits and 1024. Storage uses bytes and 1000. :stuck_out_tongue:

i need to write a tutorial for tutorial writers :slight_smile:

The tutorials are pretty good. Keep them coming. :slight_smile:

Actually, K is 1000 in communications

Actually communications uses bits and 1024. Storage uses bytes and 1000. :stuck_out_tongue:

Cheater, are you sure? I am 100% confident that in communications, k is 1000. Data-rate units - Wikipedia