Arduino Workshop Notes: Difference between revisions
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
electricity - mechanical controls of electricity | electricity - mechanical controls of electricity | ||
electronics - electrical control of electricity | electronics - electrical control of electricity | ||
transistor - an electronic switch | transistor - an electronic switch | ||
Line 21: | Line 23: | ||
voltage - like water pressure | voltage - like water pressure | ||
current - like water flow speed | current - like water flow speed | ||
Line 29: | Line 32: | ||
2. | 2. | ||
0-13 transistors/pins, each is output OR input | 0-13 transistors/pins, each is output OR input | ||
DIP-name of type of chip, with 2 parallel rows of legs | DIP-name of type of chip, with 2 parallel rows of legs | ||
Line 37: | Line 41: | ||
3. | 3. | ||
software environment - file-examples- | software environment - file-examples- | ||
/*multiline notes*/ | /*multiline notes*/ | ||
//short notes at end of line | //short notes at end of line | ||
Line 43: | Line 49: | ||
void setup () {entire function} | void setup () {entire function} | ||
void loop () {entire function} | void loop () {entire function} | ||
Line 48: | Line 55: | ||
installing drivers | installing drivers: comes with the software kit | ||
comes with the software kit | |||
once installed tools/serial port menu gets | once installed tools/serial port menu gets clickable, choose your port. then make sure you chose the right chip!! |
Revision as of 22:38, 11 July 2010
arduino class
topics 1-electronics 2-arduino 3-programming
1.
open circuit vs closed circuit vs short circuit. short circuits are easy to do and not notice, it just breaks your components.
electricity - mechanical controls of electricity
electronics - electrical control of electricity
transistor - an electronic switch
Electric current means, depending on the context, a flow of electric charge (a phenomenon) or the rate of flow of electric charge (a quantity). -wikipedia
voltage - like water pressure
current - like water flow speed
2.
0-13 transistors/pins, each is output OR input
DIP-name of type of chip, with 2 parallel rows of legs
3.
software environment - file-examples-
/*multiline notes*/
//short notes at end of line
2 things minimum to make a program
void setup () {entire function}
void loop () {entire function}
When used in the declaration of a pointer, void specifies that the pointer is "universal." -http://msdn.microsoft.com/en-us/library/fxky5d0w(VS.80).aspx
installing drivers: comes with the software kit
once installed tools/serial port menu gets clickable, choose your port. then make sure you chose the right chip!!