Embed presentation
Downloaded 88 times




![Input/output Pins (I/OPins)Input/output Pins (I/OPins)• Top and bottom rows of the boardTop and bottom rows of the board• Holes in the board which we can stick wires inHoles in the board which we can stick wires in• Holes are connected to the chips through traces on-boardHoles are connected to the chips through traces on-board• 14 Digital I/O pins on top [0-13]14 Digital I/O pins on top [0-13]• Highs – 5 voltsHighs – 5 volts Lows – 0 voltsLows – 0 voltsMax Current - 40 mAMax Current - 40 mA• 6 Analog input pins on the bottom [A0 – A5]6 Analog input pins on the bottom [A0 – A5]• Power output pins on the bottom [ 5v , 3.3 v ]Power output pins on the bottom [ 5v , 3.3 v ]• Reset pin to reset the board to initial state.Reset pin to reset the board to initial state.](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fwintertraningarduinoppt-170602104008%2f75%2fArduino-Platform-with-C-programming-5-2048.jpg&f=jpg&w=240)








![• IntegerInteger: used with integer variables with value between2147483647 and -2147483647.Ex: int x=1200;• CharacterCharacter: used with single character, represent value from -127 to128.Ex. char c=‘r’;• LongLong: Long variables are extended size variables for numberstorage, and store 32 bits (4 bytes), from -2,147,483,648 to2,147,483,647.Ex. long u=199203;• Floating-point:Floating-point: Numbers can be as large as 3.4028235E+38 andas low as -3.4028235E+38. They are stored as 32 bits (4 bytes) ofinformation.Ex. float num=1.291; [The same as doubledouble type]Data Types and OperatorsData Types and Operators](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fwintertraningarduinoppt-170602104008%2f75%2fArduino-Platform-with-C-programming-14-2048.jpg&f=jpg&w=240)
![Statement represents a command, it ends with ;;Ex:int x;x=13;Operators are symbols that used to indicate a specific function:- Math operators: [+,-,* ,/,%,^+,-,* ,/,%,^]- Logic operators: [==, !=, &&, ||==, !=, &&, ||]- Comparison operators: [==, >, <, !=, <=, >===, >, <, !=, <=, >=]Syntax:;; Semicolon, {}{} curly braces, ////single line comment, /*/* Multi-lineco m m e nts * /* /Statement and OperatorsStatement and Operators](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fwintertraningarduinoppt-170602104008%2f75%2fArduino-Platform-with-C-programming-15-2048.jpg&f=jpg&w=240)










The document provides an overview of the Arduino platform, highlighting its microcontroller features, programming capabilities, and ease of use in control systems. It details components of the Arduino board, how it operates, and its programming environment using the Arduino IDE, along with various data types and control statements in C programming. Additionally, it touches on the availability of shields for complex tasks and the Arduino toolchain for compiling and uploading code.




![Input/output Pins (I/OPins)Input/output Pins (I/OPins)• Top and bottom rows of the boardTop and bottom rows of the board• Holes in the board which we can stick wires inHoles in the board which we can stick wires in• Holes are connected to the chips through traces on-boardHoles are connected to the chips through traces on-board• 14 Digital I/O pins on top [0-13]14 Digital I/O pins on top [0-13]• Highs – 5 voltsHighs – 5 volts Lows – 0 voltsLows – 0 voltsMax Current - 40 mAMax Current - 40 mA• 6 Analog input pins on the bottom [A0 – A5]6 Analog input pins on the bottom [A0 – A5]• Power output pins on the bottom [ 5v , 3.3 v ]Power output pins on the bottom [ 5v , 3.3 v ]• Reset pin to reset the board to initial state.Reset pin to reset the board to initial state.](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fwintertraningarduinoppt-170602104008%2f75%2fArduino-Platform-with-C-programming-5-2048.jpg&f=jpg&w=240)








![• IntegerInteger: used with integer variables with value between2147483647 and -2147483647.Ex: int x=1200;• CharacterCharacter: used with single character, represent value from -127 to128.Ex. char c=‘r’;• LongLong: Long variables are extended size variables for numberstorage, and store 32 bits (4 bytes), from -2,147,483,648 to2,147,483,647.Ex. long u=199203;• Floating-point:Floating-point: Numbers can be as large as 3.4028235E+38 andas low as -3.4028235E+38. They are stored as 32 bits (4 bytes) ofinformation.Ex. float num=1.291; [The same as doubledouble type]Data Types and OperatorsData Types and Operators](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fwintertraningarduinoppt-170602104008%2f75%2fArduino-Platform-with-C-programming-14-2048.jpg&f=jpg&w=240)
![Statement represents a command, it ends with ;;Ex:int x;x=13;Operators are symbols that used to indicate a specific function:- Math operators: [+,-,* ,/,%,^+,-,* ,/,%,^]- Logic operators: [==, !=, &&, ||==, !=, &&, ||]- Comparison operators: [==, >, <, !=, <=, >===, >, <, !=, <=, >=]Syntax:;; Semicolon, {}{} curly braces, ////single line comment, /*/* Multi-lineco m m e nts * /* /Statement and OperatorsStatement and Operators](/image.pl?url=https%3a%2f%2fimage.slidesharecdn.com%2fwintertraningarduinoppt-170602104008%2f75%2fArduino-Platform-with-C-programming-15-2048.jpg&f=jpg&w=240)









